@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");

:root {
    --primary-text: rgba(30, 46, 70);
    --offwhite: #f0f0f0;
}

body {
    background: var(--offwhite);
    font-family: 'Poppins', sans-serif;
    color: var(--primary-text) !important;
}

.login-card {
    max-width: 400px;
    margin: 10vh auto;
}

.card {
    border-radius: 1rem;
    background: #ffffff;
    border: 0px;
    color: rgb(30, 46, 70) !important;
}

.card-header {
    background-color: white !important;
    border-top-left-radius: 1rem !important;
    border-top-right-radius: 1rem !important;
}

.card.card-login {
    box-shadow: rgba(0, 0, 0, 0.075) 0 0 20px 0 !important;
}

/* Sidebar */
#sidebar {
    width: 230px;
    min-height: 100vh;
    background: #ffffff;
    flex-shrink: 0;
}

#sidebar .brand {
    font-size: 1rem;
    font-weight: 700;
    color: #253041;
    padding: 0.9rem 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#sidebar .nav-link {
    color: rgba(37, 48, 65, 0.65);
    padding: .6rem 1rem;
    border-radius: 6px;
    margin: 2px 8px;
    font-size: .875rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

#sidebar .nav-link:hover,
#sidebar .nav-link.active {
    color: rgba(37, 48, 65, 0.65);
    background: rgba(0, 127, 212, 0.1);
}

#sidebar .nav-link i {
    font-size: 1rem;
    width: 1.25rem;
    text-align: center;
}

/* Topbar */
#topbar {
    height: 70px;
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    gap: 1rem;
    color: rgba(37, 48, 65);
}

#topbar .venue-name {
    font-size: .875rem;
    color: rgba(37, 48, 65);
}

/* Main content */
#main {
    flex: 1;
    min-width: 0;
    background-color: #dee6ec;
}

.page-content {
    padding: 1.5rem;
}

.btn-white {
    background: #f8faff !important;
    color: #0f2438;
    box-shadow: rgba(0, 0, 0, 0.6) 0 0 4px;
    transition: all ease-in-out 0.3s;
}

.btn-white:hover {
    background: #fff !important;
    box-shadow: rgba(255, 255, 255, 0.6) 0 0 8px;
    transition: all ease-in-out 0.3s;
}

.btn-primary-custom {
    background: #2885d6 !important;
    color: #ffffff;
    transition: all ease-in-out 0.3s;
    border-radius: 0.5rem;
}

.btn-primary-custom:hover {
    background: #45a2f3 !important;
    color: white;
    transition: all ease-in-out 0.3s;
}

.text-primary-custom {
    color: var(--primary-text);
}

.text-primary-custom-50 {
    color: rgba(30, 46, 70, 0.5);
}

.nav-tabs {
    margin-left: 1rem;
    margin-bottom: 0.5rem;
}

.nav-tabs .nav-item .nav-link {
    background: #ffffff;
    color: var(--primary-text);
    border-radius: 1rem;
}

.nav-tabs .nav-item .nav-link.active {
    background: #2885d6;
    color: white;
    border: 0px;
    border-bottom: 0px;
}

thead.table-primary-custom tr th {
    background-color: #ffffff !important;
    color: var(--primary-text) !important;
}

thead.table-primary-custom+tbody tr td {
    background-color: #ffffff !important;
    color: var(--primary-text) !important;
}

thead.table-primary-custom+tbody tr:hover td {
    background-color: #f8f8f8 !important;
}

thead tr th:first-child {
    border-top-left-radius: 1rem;
    padding-left: 1rem !important;
}

tbody tr td:first-child {
    padding-left: 1rem !important;
}


thead tr th:last-child {
    border-top-right-radius: 1rem;
    padding-right: 1rem !important;
}

tbody tr td:last-child {
    padding-right: 1rem !important;
}

tbody tr:last-child td:first-child {
    border-bottom-left-radius: 1rem;
}

tbody tr:last-child td:last-child {
    border-bottom-right-radius: 1rem;
}

.form-control {
    background: var(--offwhite) !important;
    background-color: var(--offwhite) !important;
    color: var(--primary-text) !important;
    box-shadow: inset rgba(0, 0, 0, 0.075) 0 0 5px 0;
    border: 0px;
    border-radius: 0.5rem !important;
}

.form-select {
    background: var(--offwhite) !important;
    background-color: var(--offwhite) !important;
    box-shadow: inset rgba(0, 0, 0, 0.075) 0 0 5px 0;
}

.icon-padding {
    width: 80px;
    height: 80px;
}

.bg-primary-gradient {
    background: linear-gradient(135deg, rgb(110, 168, 255), rgb(119, 0, 255));
}

.bg-success-gradient {
    background: linear-gradient(135deg, rgb(255, 241, 113), rgb(0, 199, 43));
}

.bg-warning-gradient {
    background: linear-gradient(135deg, rgb(255, 72, 72), rgb(230, 92, 0));
}

.bg-info-gradient {
    background: linear-gradient(135deg, rgb(149, 255, 122), rgb(0, 206, 221));
}

.text-gradient-primary {
    background: linear-gradient(135deg, rgb(110, 168, 255), rgb(119, 0, 255));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-success {
    background: linear-gradient(135deg, rgb(255, 241, 113), rgb(0, 199, 43));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-warning {
    background: linear-gradient(135deg, rgb(255, 72, 72), rgb(230, 92, 0));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-info {
    background: linear-gradient(135deg, rgb(149, 255, 122), rgb(0, 206, 221));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-danger {
    background: linear-gradient(135deg, rgb(255, 72, 72), rgb(230, 0, 115));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-light-custom {
    background-color: var(--offwhite);
    box-shadow: inset rgba(0, 0, 0, 0.075) 0 0 2px 0;
    border-radius: 0.5rem;
}

code {
    color: #1baa22 !important;
}

/* Pagination — compact, matching btn-sm scale */
.pagination {
    font-size: 0.8rem;
    margin-bottom: 0;
}

.page-link {
    padding: 0.25rem 0.55rem;
    color: var(--primary-text);
    border-color: #dee2e6;
    line-height: 1.4;
}

.page-link:hover {
    color: #2885d6;
    background-color: #f0f4fa;
    border-color: #c5d3e8;
}

.page-item.active .page-link {
    background-color: #2885d6;
    border-color: #2885d6;
    color: #fff;
}

.page-item.disabled .page-link {
    color: #adb5bd;
}
