:root { --primary: #376BD1; --primary-dark: #1d4a8a; --bs-primary: #376BD1; --bs-primary-rgb: 55, 107, 209; }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .card-title, .brand-text, .nav-link, .v-card-title {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
}

.sidebar-dark-primary { background: linear-gradient(180deg, #376BD1, #1d4a8a) !important; }
.main-header.navbar-dark .navbar-nav .nav-link { color: rgba(255,255,255,0.85) !important; }
[class$="-logo"] img {
    max-height: 60px !important;
    width: auto !important;
}
.main-sidebar .brand-link {
    position: relative !important;
    display: block !important;
    text-align: center !important;
}
.main-sidebar .brand-link .brand-text {
    display: none !important;
}
.main-sidebar .brand-link .brand-image,
.main-sidebar .brand-link .brand-image-xs,
.main-sidebar .brand-link .brand-image-xl {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    float: none !important;
    margin: 0 !important;
    max-height: 44px !important;
    width: auto !important;
}
.brand-link.logo-switch {
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}
.nav-sidebar .nav-item > .nav-link { color: rgba(255,255,255,0.8) !important; }
.nav-sidebar .nav-item > .nav-link:hover { background: rgba(255,255,255,0.1) !important; color: #fff !important; }

.no-horizontal-scroll { overflow-x: hidden !important; }

.v-data-table.datatable-fix { overflow-x: auto !important; }
.v-data-table.datatable-fix .v-table__wrapper { overflow-x: auto !important; }
.v-data-table.datatable-fix .v-table__wrapper > table { table-layout: auto !important; }
.v-data-table.datatable-fix .v-table__wrapper td,
.v-data-table.datatable-fix .v-table__wrapper th { white-space: nowrap; }
.v-data-table.datatable-fix thead th {
    background: linear-gradient(135deg, #376BD1, #1d4a8a) !important;
    color: #e2e8f0 !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.04em !important;
    text-align: center !important;
    border-bottom: 2px solid #475569 !important;
    padding: 14px 8px !important;
}
.v-data-table.datatable-fix thead th:first-child { border-radius: 10px 0 0 0 !important; }
.v-data-table.datatable-fix thead th:last-child { border-radius: 0 10px 0 0 !important; }
.v-data-table.datatable-fix tbody tr { transition: all 0.15s ease !important; }
.v-data-table.datatable-fix tbody tr:nth-child(even) { background-color: #f1f5f9 !important; }
.v-data-table.datatable-fix tbody tr:hover { background-color: #dbeafe !important; transform: scale(1.002); }
.v-data-table.datatable-fix tbody td {
    padding: 10px 8px !important;
    font-size: 0.9rem !important;
    border-bottom: 1px solid #e2e8f0 !important;
    text-align: left !important;
}

.swal-confirm-btn, .swal-cancel-btn { color: #ffffff !important; font-weight: 600 !important; }

@media (max-width: 576px) {
    .datatable-fix tbody tr td:last-child { text-align: center !important; }
    .datatable-fix tbody tr td:last-child .d-flex { justify-content: center !important; gap: 10px !important; }
}
@media (max-width: 490px) {
    .v-card-title.d-flex.flex-wrap { flex-direction: column !important; align-items: center !important; gap: 10px !important; }
    .v-card-title.d-flex.flex-wrap .v-spacer { display: none !important; }
    .v-card-title.d-flex.flex-wrap .v-text-field { max-width: 60% !important; }
}
.v-card-title .v-text-field { width: 100%; }
@media (min-width: 491px) {
    .v-card-title .v-text-field { margin-bottom: 10px; }
}
