/**
 * Custom Global CSS - Platinum Laravel Gull
 * Styling custom yang digunakan secara global di seluruh aplikasi
 * Dicompile oleh Vite untuk performa optimal
 *
 * IMPORTANT: Semua CSS custom WAJIB ditambahkan ke file ini.
 * Jangan buat file CSS terpisah untuk menghindari fragmentasi.
 * File ini menjadi satu-satunya sumber CSS custom aplikasi.
 */

/* ========================================
   Legacy Styles (from fdme.css)
   ======================================== */
.min-width {
  min-width: 600px;
}

.scroll-x {
  overflow-x: auto;
}

.main-header {
  border-radius: 5px !important;
  height: 45px !important;
}

/* Auth Layout */
@media (min-width: 1024px) {
  .auth-layout-wrap .auth-content {
    min-width: 760px !important;
  }
}

/* Modal Sizing */
@media (min-width: 992px) {
  .modal-pgxl {
    max-width: 1400px;
  }
  .modal-pgfc {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }
}

/* Sidebar: Scroll styling moved to central section around line 3500 */

/* SmartWizard - Using default library styles */

/* ========================================
   Card Styling
   ======================================== */
.card {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

/* ========================================
   Digital Clock & Spatial 3D Chrono Pill
   ======================================== */
.digital-clock {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.38rem 1.05rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    border: 1px solid rgba(225, 29, 72, 0.14);
    border-radius: 999px;
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.08),
                0 2px 6px rgba(225, 29, 72, 0.06),
                inset 0 1px 1px rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.digital-clock:hover {
    background: linear-gradient(145deg, #ffffff 0%, rgba(254, 242, 242, 0.95) 100%);
    box-shadow: 0 12px 24px -4px rgba(225, 29, 72, 0.16),
                0 4px 10px rgba(15, 23, 42, 0.08),
                inset 0 1px 1px #ffffff;
    transform: translateX(-50%) translateY(-2px);
    border-color: rgba(225, 29, 72, 0.3);
}

.chrono-icon-orbit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.digital-clock:hover .chrono-icon-orbit {
    transform: rotate(15deg) scale(1.08);
}

.chrono-dial-svg {
    display: block;
}

#digitalClock {
    font-size: 0.92rem;
    font-weight: 700;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Consolas', monospace;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1.2px;
    min-width: 78px;
    text-align: center;
    line-height: 1;
}

/* Dark mode / dark theme - Obsidian Luxe Chrono */
[data-theme="dark"] .digital-clock,
.dark-theme .digital-clock {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.92) 100%);
    border-color: rgba(225, 29, 72, 0.25);
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.4),
                0 0 12px rgba(225, 29, 72, 0.15),
                inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .digital-clock:hover,
.dark-theme .digital-clock:hover {
    background: linear-gradient(145deg, rgba(51, 65, 85, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
    border-color: rgba(244, 63, 94, 0.5);
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.5),
                0 0 16px rgba(244, 63, 94, 0.25);
}

[data-theme="dark"] #digitalClock,
.dark-theme #digitalClock {
    background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

/* Mobile - compact pill */
@media (max-width: 768px) {
    .digital-clock {
        padding: 0.3rem 0.8rem;
        gap: 0.45rem;
    }

    .chrono-icon-orbit {
        width: 18px;
        height: 18px;
    }

    .chrono-dial-svg {
        width: 18px;
        height: 18px;
    }

    #digitalClock {
        font-size: 0.82rem;
        letter-spacing: 1px;
        min-width: 68px;
    }
}

/* ========================================
   Form Controls
   ======================================== */
.form-control:focus,
.form-select:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

/* Ultra Small Form Controls - Consistent 28px height */
.form-control-sm,
.form-select-sm {
    min-height: 28px !important;
    height: 28px !important;
    padding: 0 0.5rem !important;
    font-size: 11px !important;
    line-height: 26px !important;
    border-radius: 0.25rem !important;
}

.form-control-sm:focus,
.form-select-sm:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

.input-group-text {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

/* Input Group with Select2 */
.input-group .select2-container {
    flex: 1 1 auto;
    width: 1% !important;
}

/* SmartWizard Select2 Full Width */
#smartwizard .select2-container {
    width: 100% !important;
}

#smartwizard select.form-select {
    width: 100%;
}

.input-group .select2-container .select2-selection {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.input-group .select2-container--bootstrap-5 .select2-selection {
    border-left: 0;
}

.input-group .select2-container--bootstrap-5.select2-container--focus .select2-selection,
.input-group .select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-left: 1px solid #4CAF50;
}

/* ========================================
   Dashboard Table Modern Tools
   ======================================== */
.dashboard-table-tools {
    display: flex;
    justify-content: flex-end;
}

.dashboard-table-ytd {
    display: flex;
    justify-content: flex-end;
    font-size: 12px;
}

.dashboard-col-toggle-wrap .dropdown-menu {
    min-width: 220px;
    max-height: 260px;
    overflow-y: auto;
}

.dashboard-col-toggle-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 12px;
    margin-bottom: 0.35rem;
    cursor: pointer;
}

.dashboard-col-toggle-item:last-child {
    margin-bottom: 0;
}

.dataTables_wrapper .dt-sticky-col {
    box-shadow: 1px 0 0 rgba(0, 0, 0, 0.06);
}

.dashboard-service-tools {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 0.6rem;
    background: #fff;
}

.dashboard-service-tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 170px;
    gap: 0.5rem;
}

.table-responsive.dashboard-table-loading {
    position: relative;
    min-height: 220px;
}

.table-responsive.dashboard-table-loading::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 9;
    border-radius: 8px;
    background: linear-gradient(110deg, rgba(248, 249, 250, 0.9) 8%, rgba(233, 236, 239, 0.95) 18%, rgba(248, 249, 250, 0.9) 33%);
    background-size: 200% 100%;
    animation: dashboardTableShimmer 1.1s linear infinite;
}

.table-responsive.dashboard-table-loading::after {
    content: 'Memuat tabel...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

@keyframes dashboardTableShimmer {
    to {
        background-position-x: -200%;
    }
}

.dashboard-row-enter {
    animation: dashboardRowFadeIn 220ms ease forwards;
    animation-delay: var(--row-delay, 0ms);
    opacity: 0;
}

@keyframes dashboardRowFadeIn {
    from {
        opacity: 0;
        transform: translateY(3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .dashboard-service-tools-grid {
        grid-template-columns: 1fr;
    }
}

/* Form Validation States */
.form-control.error,
.form-select.error {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

.invalid-feedback {
    display: block;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

label.error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
    font-weight: 400;
}

/* ========================================
   Select2 Bootstrap 5 Theme
   ======================================== */
.select2-container--bootstrap-5 .select2-selection {
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem;
    min-height: 38px;
    height: 38px;
    display: flex;
    align-items: center;
}

.select2-container--bootstrap-5 .select2-selection--single {
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    line-height: 1.5;
    padding: 0;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
    height: 36px;
    right: 3px;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: #4CAF50 !important;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

/* Select2 Small Size - Match with form-control-sm height (28px) */
.select2-container--bootstrap-5 .form-select-sm .select2-selection--single,
.select2-container--bootstrap-5.select2-container--small .select2-selection,
.form-select-sm + .select2-container--bootstrap-5 .select2-selection,
.select2-container[class*="form-select-sm"] .select2-selection {
    min-height: 28px !important;
    height: 28px !important;
    padding: 0 2rem 0 0.5rem !important;
    font-size: 11px !important;
    line-height: 26px !important;
}

.select2-container--bootstrap-5 .form-select-sm .select2-selection__rendered,
.select2-container--bootstrap-5.select2-container--small .select2-selection__rendered {
    line-height: 26px !important;
    padding: 0 0.5rem !important;
    font-size: 11px !important;
}

.form-select-sm + .select2-container--bootstrap-5 .select2-selection__arrow,
.select2-container--bootstrap-5.select2-container--small .select2-selection__arrow {
    height: 26px !important;
    top: 1px !important;
    right: 1px !important;
    width: 20px !important;
}

/* Select2 Error State */
.select2-container--bootstrap-5.is-invalid .select2-selection,
.select2-container--bootstrap-5.error .select2-selection {
    border-color: #dc3545 !important;
}

/* Select2 Dropdown */
.select2-container--bootstrap-5 .select2-dropdown {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted {
    background-color: #4CAF50;
    color: white;
}

/* ========================================
   Modal Styling
   ======================================== */
.modal-dialog {
    max-width: 600px;
    margin: 1.75rem auto;
}

/* Modal XL - Force large width with higher specificity */
.modal-dialog.modal-xl,
.modal.fade .modal-dialog.modal-xl,
.modal.show .modal-dialog.modal-xl {
    max-width: 1200px !important;
    width: 95% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Modal Kas - force wide modal regardless of breakpoints */
.modal-kas .modal-dialog.modal-xl {
    max-width: 1200px !important;
    width: 95% !important;
}

/* Better centering with higher specificity */
.modal-dialog.modal-dialog-centered,
.modal .modal-dialog-centered {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: calc(100vh - 3.5rem) !important;
    margin: 1.75rem auto !important;
}

.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    width: 100%;
}

.modal-header {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding: 1.5rem 2rem;
    border-bottom: none;
    color: #fff;
}

/* Modal Header - Delete/Danger (Red Gradient) */
.modal-header.bg-danger,
.modal-header.modal-danger {
    background: linear-gradient(135deg, #f85032 0%, #e73827 100%) !important;
}

/* Modal Header - Add/Success (Green Gradient) */
.modal-header.bg-success,
.modal-header.modal-success {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%) !important;
}

/* Modal Header - Edit/Primary (Blue Gradient) */
.modal-header.bg-primary,
.modal-header.modal-primary,
.modal-header.bg-info,
.modal-header.modal-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* ========================================
   Dashboard Tabs
   ======================================== */
.dashboard-tabs {
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(248, 249, 251, 0.95) 0%, rgba(244, 246, 249, 0.98) 100%);
    border: 1px solid rgba(20, 34, 56, 0.08);
}

.dashboard-tabs .card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-tabs-title {
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #1b2a4e;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.dashboard-tab-nav .nav-link {
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-weight: 600;
    color: #2f3a56;
    border: 1px solid rgba(20, 34, 56, 0.12);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(27, 42, 78, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.dashboard-tab-nav .nav-link.active {
    background: linear-gradient(135deg, #1f5fbf 0%, #2f80ed 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 22px rgba(47, 128, 237, 0.3);
    transform: translateY(-1px);
}

.dashboard-tab-nav .nav-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(27, 42, 78, 0.14);
}

.dashboard-tab-content {
    padding-top: 0.25rem;
}

@media (max-width: 768px) {
    .dashboard-tabs .card-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* Modal Header - Warning (Orange Gradient) */
.modal-header.bg-warning,
.modal-header.modal-warning {
    background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%) !important;
}

/* Modal Header Text Color */
.modal-header .modal-title,
.modal-header .btn-close {
    color: #fff;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

.modal-body {
    padding: 2rem;
    background-color: #fff;
}

.modal-footer {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    padding: 1.25rem 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa;
}

.modal-backdrop.show {
    opacity: 0.6;
}

/* Modal Buttons - Gradient Matching Header */
/* Delete Modal - Red Button */
.modal-danger .btn-danger,
.modal-danger .btn-delete,
.btn-modal-danger {
    background: linear-gradient(135deg, #f85032 0%, #e73827 100%) !important;
    border: none;
    color: #fff;
    box-shadow: 0 4px 12px rgba(248, 80, 50, 0.4);
    transition: all 0.3s ease;
}

.modal-danger .btn-danger:hover,
.modal-danger .btn-delete:hover,
.btn-modal-danger:hover {
    background: linear-gradient(135deg, #e73827 0%, #d32f2f 100%) !important;
    box-shadow: 0 6px 16px rgba(248, 80, 50, 0.5);
    transform: translateY(-2px);
}

/* Add Modal - Green Button */
.modal-success .btn-success,
.modal-success .btn-save,
.btn-modal-success {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%) !important;
    border: none;
    color: #fff;
    box-shadow: 0 4px 12px rgba(86, 171, 47, 0.4);
    transition: all 0.3s ease;
}

.modal-success .btn-success:hover,
.modal-success .btn-save:hover,
.btn-modal-success:hover {
    background: linear-gradient(135deg, #4a9428 0%, #96cc58 100%) !important;
    box-shadow: 0 6px 16px rgba(86, 171, 47, 0.5);
    transform: translateY(-2px);
}

/* Edit Modal - Blue Button */
.modal-primary .btn-primary,
.modal-primary .btn-update,
.modal-info .btn-info,
.btn-modal-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none;
    color: #fff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.modal-primary .btn-primary:hover,
.modal-primary .btn-update:hover,
.modal-info .btn-info:hover,
.btn-modal-primary:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a3f8e 100%) !important;
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

/* Cancel Button - Secondary */
.modal-footer .btn-secondary,
.modal-footer .btn-cancel {
    background: #6c757d;
    border: none;
    color: #fff;
    padding: 0.5rem 1.25rem !important; /* Increased padding for better UX */
    transition: all 0.3s ease;
}

.modal-footer .btn-secondary:hover,
.modal-footer .btn-cancel:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Ensure all modal footer buttons have consistent padding */
.modal-footer .btn {
    padding: 0.5rem 1.25rem !important;
}

/* ========================================
   DataTables Styling
   ======================================== */
.table-responsive {
    border-radius: 8px;
    overflow-x: auto;
    overflow-y: visible;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

#tableDT,
.table-bordered {
    border: 1px solid #dee2e6;
    margin-bottom: 0;
    width: 100%;
    min-width: max-content;
}

/* DataTables Header - tetap warna asli, lebih rapat */
table.dataTable thead .header-row th,
table.dataTable thead tr th,
#tableDT thead .header-row th,
#tableDT2Service thead tr th,
#omsetService thead tr th,
#labaService thead tr th,
#omsetBadminton thead tr th,
#labaBadminton thead tr th,
#gajiSlip thead tr th,
.table-bordered thead .header-row th {
    border: 1px solid #d0d4db !important;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 0.45rem 0.5rem !important;
    text-align: center !important;
    vertical-align: middle !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    white-space: nowrap !important;
    line-height: 1.25 !important;
    height: auto !important;
}

table.dataTable,
#tableDT,
#tableDT.dataTable,
#tableDT2Service,
#omsetService,
#labaService,
#omsetBadminton,
#labaBadminton,
#gajiSlip,
.table-bordered {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Search Row Styling */
#tableDT thead .search-row th {
    background: #f8f9fa;
    padding: 0.35rem 0.4rem;
    border: 1px solid #dee2e6;
    white-space: nowrap;
    vertical-align: middle;
}

#tableDT thead .search-row .column-search {
    width: 100%;
    font-size: 0.75rem;
}

/* Select2 in search row - compact styling */
#tableDT thead .search-row .select2-container {
    width: 100% !important;
}

#tableDT thead .search-row .select2-selection {
    min-height: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    font-size: 0.75rem !important;
    border-color: #ced4da !important;
    border-radius: 4px !important;
}

#tableDT thead .search-row .select2-selection__rendered {
    line-height: 30px !important;
    padding-left: 0.5rem !important;
    padding-right: 1.5rem !important;
    font-size: 0.75rem !important;
}

#tableDT thead .search-row .select2-selection__arrow {
    height: 30px !important;
    top: 1px !important;
    right: 4px !important;
}

#tableDT thead .search-row .select2-selection__arrow b {
    border-width: 4px 4px 0 4px !important;
    margin-top: -2px !important;
}

/* Header hover effect */
table.dataTable thead .header-row th:hover,
table.dataTable thead tr th:hover,
#tableDT thead .header-row th:hover,
#tableDT2Service thead tr th:hover,
#omsetService thead tr th:hover,
#labaService thead tr th:hover,
#omsetBadminton thead tr th:hover,
#labaBadminton thead tr th:hover,
#gajiSlip thead tr th:hover,
.table-bordered thead .header-row th:hover {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%) !important;
}

/* Sortable column indicator */
/* Add padding-right to sortable columns for icon space */
table.dataTable thead tr th.sorting,
table.dataTable thead tr th.sorting_asc,
table.dataTable thead tr th.sorting_desc,
#tableDT thead .header-row th.sorting,
#tableDT thead .header-row th.sorting_asc,
#tableDT thead .header-row th.sorting_desc,
#tableDT2Service thead tr th.sorting,
#tableDT2Service thead tr th.sorting_asc,
#tableDT2Service thead tr th.sorting_desc,
#omsetService thead tr th.sorting,
#omsetService thead tr th.sorting_asc,
#omsetService thead tr th.sorting_desc,
#labaService thead tr th.sorting,
#labaService thead tr th.sorting_asc,
#labaService thead tr th.sorting_desc,
#omsetBadminton thead tr th.sorting,
#omsetBadminton thead tr th.sorting_asc,
#omsetBadminton thead tr th.sorting_desc,
#labaBadminton thead tr th.sorting,
#labaBadminton thead tr th.sorting_asc,
#labaBadminton thead tr th.sorting_desc,
#gajiSlip thead tr th.sorting,
#gajiSlip thead tr th.sorting_asc,
#gajiSlip thead tr th.sorting_desc {
    padding-right: 1.5rem !important;
}

/* Sorting icons styling */
table.dataTable thead tr th.sorting:before,
table.dataTable thead tr th.sorting:after,
table.dataTable thead tr th.sorting_asc:before,
table.dataTable thead tr th.sorting_asc:after,
table.dataTable thead tr th.sorting_desc:before,
table.dataTable thead tr th.sorting_desc:after,
#tableDT thead .header-row th.sorting:before,
#tableDT thead .header-row th.sorting:after,

/* ========================================
   Service Pricelist (tabs & chips)
   ======================================== */
.service-group-nav .nav-link {
    border-radius: 14px;
    padding: 8px 14px;
    font-weight: 600;
}

.service-group-nav .nav-link.active {
    background: #0d6efd;
    color: #fff;
}

.service-layout .service-group-nav {
    gap: 6px;
}

.service-layout .service-group-nav .nav-link {
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 600;
    border: 1px solid #e9ecef;
    background: #fff;
}

.service-layout .service-group-nav .nav-link.active {
    background: #0d6efd;
    color: #fff;
}

@media (max-width: 576px) {
    .service-layout .service-group-nav {
        gap: 4px;
    }

    .service-layout .service-group-nav .nav-link {
        padding: 1px 5px;
        border-radius: 10px;
        font-size: 0.78rem;
    }

    .svc-series-name {
        margin-bottom: 1px;
        font-size: 13px;
    }

    .svc-chip-label {
        margin-right: 2px;
        font-weight: 600;
        font-size:12px;
    }

    .svc-chip-value {

        font-size:12px;
    }

    .svc-item {
        padding: 3px 4px;
    }

    .svc-chip {
        padding: 1px 3px;
        font-size: 10px;
    }

}

.svc-table-wrapper table.svc-table {
    font-size: 0.9rem;
}

.svc-table-wrapper thead th {
    background: #f8fafc;
    border-bottom: 1px solid #e9ecef;
    font-weight: 700;
}

.svc-table-wrapper td,
.svc-table-wrapper th {
    padding: 8px;
    vertical-align: middle;
}

.svc-table-wrapper tbody tr:nth-child(odd) {
    background: #fbfcfd;
}

@media (max-width: 768px) {
    .svc-table-wrapper table.svc-table {
        font-size: 0.88rem;
    }

    .svc-table-wrapper td,
    .svc-table-wrapper th {
        padding: 6px;
    }
}

/* Service list chips (compact) */
.svc-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.svc-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 6px 8px;
    background: #fff;
}

.svc-series-name {
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.svc-price-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.svc-chip {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 0.8rem;
    background: #f9fafb;
}

.svc-chip-label {
    color: #6b7280;
    margin-right: 3px;
    font-weight: 600;
    font-size: 0.78rem;
}

.svc-chip-value {
    font-weight: 700;
    font-size: 0.82rem;
}

.svc-chip.is-price .svc-chip-value {
    color: #e63946;
}

.svc-chip.is-offline .svc-chip-value {
    color: #9aa0a6;
}

@media (max-width: 576px) {
    .svc-item {
        padding: 3px 4px;
    }

    .svc-series-name {
        margin-bottom: 1px;
        font-size: 10px;
    }

    .svc-chip-label {
        margin-right: 2px;
        font-weight: 600;
        font-size: 10px;
    }

    .svc-chip-value {
        font-size: 11px;
    }
}
#tableDT thead .header-row th.sorting_asc:before,
#tableDT thead .header-row th.sorting_asc:after,
#tableDT thead .header-row th.sorting_desc:before,
#tableDT thead .header-row th.sorting_desc:after,
.table-bordered thead .header-row th.sorting:before,
.table-bordered thead .header-row th.sorting:after,
.table-bordered thead .header-row th.sorting_asc:before,
.table-bordered thead .header-row th.sorting_asc:after,
.table-bordered thead .header-row th.sorting_desc:before,
.table-bordered thead .header-row th.sorting_desc:after {
    opacity: 0.8 !important;
    color: #ffffff !important;
    right: 0.5rem !important;
    line-height: 1 !important;
}

/* Active sorting state - highlighted background */
table.dataTable thead tr th.sorting_asc,
table.dataTable thead tr th.sorting_desc,
#tableDT thead .header-row th.sorting_asc,
#tableDT thead .header-row th.sorting_desc,
#tableDT2Service thead tr th.sorting_asc,
#tableDT2Service thead tr th.sorting_desc,
#omsetService thead tr th.sorting_asc,
#omsetService thead tr th.sorting_desc,
#labaService thead tr th.sorting_asc,
#labaService thead tr th.sorting_desc,
#omsetBadminton thead tr th.sorting_asc,
#omsetBadminton thead tr th.sorting_desc,
#labaBadminton thead tr th.sorting_asc,
#labaBadminton thead tr th.sorting_desc,
#gajiSlip thead tr th.sorting_asc,
#gajiSlip thead tr th.sorting_desc {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%) !important;
}

/* Table Body */
#tableDT tbody td,
.table-bordered tbody td {
    border-bottom: 1px solid #e1e5eb;
    border-right: 1px solid #e1e5eb;
    vertical-align: middle !important;
    font-size: 0.8125rem;
    line-height: 1.4;
}

#tableDT tbody td:first-child,
#tableDT thead th:first-child,
#tableDT tfoot th:first-child {
    border-left: 1px solid #d0d5e0;
}

#tableDT tbody td:last-child,
#tableDT thead th:last-child,
#tableDT tfoot td:last-child {
    border-right: 1px solid #d0d5e0;
}

#tableDT tbody tr:last-child td {
    border-bottom: 1px solid #c7ccd8;
}

/* Fix double border issue for table-hover table-sm */
.table-hover.table-sm {
    border-collapse: collapse;
}

.table-hover.table-sm thead th {
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    border-left: none;
    border-right: none;
}

.table-hover.table-sm tbody td {
    border-top: 1px solid #dee2e6;
    border-bottom: none;
    border-left: none;
    border-right: none;
}

.table-hover.table-sm tbody tr:last-child td {
    border-bottom: 1px solid #dee2e6;
}

/* Remove vertical borders between cells for cleaner look */
.table-hover.table-sm thead th:not(:first-child),
.table-hover.table-sm tbody td:not(:first-child) {
    border-left: 1px solid #f1f5f9;
}

.table-hover.table-sm thead th:first-child,
.table-hover.table-sm tbody td:first-child {
    border-left: 1px solid #dee2e6;
}

.table-hover.table-sm thead th:last-child,
.table-hover.table-sm tbody td:last-child {
    border-right: 1px solid #dee2e6;
}

/* Buttons inside table cells - ensure proper vertical alignment */
#tableDT tbody td .btn,
#tableDT tbody td a.btn,
#tableDT tbody td button.btn {
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    line-height: 1;
}

/* Button groups in cells */
#tableDT tbody td .btn-group {
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
}

#tableDT tbody tr:hover,
.table-hover tbody tr:hover {
    background-color: #f1f5f9;
    transition: background-color 0.2s ease;
}

/* Striped rows */
#tableDT tbody tr:nth-of-type(odd),
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Column Width Optimization */
#tableDT thead th:first-child,
#tableDT tbody td:first-child,
#tableDT tfoot th:first-child {
    width: 50px;
    min-width: 50px;
    text-align: center !important;
    padding: 0.6rem 0.25rem;
}

#tableDT thead th:nth-child(2),
#tableDT tbody td:nth-child(2),
#tableDT tfoot th:nth-child(2) {
    width: 85px;
    min-width: 85px;
    text-align: center !important;
    padding: 0.6rem 0.3rem;
}

/* Button size consistency in ACTION column */
#tableDT tbody td:nth-child(2) .btn,
#tableDT tbody td:nth-child(2) a.btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1.2;
    min-width: auto;
    height: 28px;
}

/* Body TD with buttons - add consistent spacing */
#tableDT tbody td {
    white-space: nowrap;
    padding: 0.3rem 0.45rem;
}

/* Table Footer */
#tableDT tfoot th,
#tableDT tfoot td {
    border: 1px solid #d0d4db;
    background: linear-gradient(135deg, #f4f5f7 0%, #e2e5ee 100%);
    color: #000000;
    font-weight: 700;
    text-align: center !important;
    vertical-align: middle !important;
    font-size: 0.75rem;
    padding: 0.3rem 0.4rem !important;
    letter-spacing: 0.15px;
}

#tableDT tfoot th.tableFooterSum,
#tableDT tfoot td.tableFooterSum {
    text-align: right !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    padding: 0.3rem 0.45rem !important;
    white-space: nowrap !important;
    width: auto !important;
}

.dataTables_scrollFoot tfoot,
.dataTables_scrollFoot tfoot tr,
.dataTables_scrollFoot tfoot th,
.dataTables_scrollFoot tfoot td {
    border-bottom: 1px solid #d0d4db;
    border-top: 1px solid #d0d4db;
    background: linear-gradient(135deg, #f4f5f7 0%, #e2e5ee 100%) !important;
    color: #000000 !important;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.15px;
}

.dataTables_scrollFoot tfoot th.tableFooterSum,
.dataTables_scrollFoot tfoot td.tableFooterSum {
    font-weight: 800 !important;
    font-size: 0.85rem !important;
    padding: 0.3rem 0.45rem !important;
    text-align: right !important;
}

/* DataTables Controls */
#tableDT_wrapper .dataTables_length,
#tableDT_wrapper .dataTables_filter {
    margin-bottom: 1rem;
}

#tableDT_wrapper .dataTables_length select {
    padding: 0.375rem 2rem 0.375rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

#tableDT_wrapper .dataTables_filter input {
    padding: 0.375rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    margin-left: 0.5rem;
}

#tableDT_wrapper .dataTables_info {
    padding-top: 1rem;
    font-size: 0.875rem;
    color: #6c757d;
}

#tableDT_wrapper .dataTables_paginate {
    padding-top: 1rem;
}

/* Pagination Buttons */
#tableDT_wrapper .dataTables_paginate .pagination {
    margin: 0;
}

#tableDT_wrapper .dataTables_paginate .page-link {
    border-radius: 0.375rem;
    margin: 0 0.125rem;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 0.5rem 0.75rem;
}

#tableDT_wrapper .dataTables_paginate .page-link:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
}

#tableDT_wrapper .dataTables_paginate .page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: #fff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

#tableDT_wrapper .dataTables_paginate .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* DataTables Export Buttons */
.dt-buttons .dt-button {
    border-radius: 0.375rem;
    margin-left: 0.5rem;
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dt-buttons .dt-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Excel Button - Green */
.dt-buttons .buttons-excel {
    background-color: #28a745 !important;
    color: white !important;
    border: none !important;
}

.dt-buttons .buttons-excel:hover {
    background-color: #218838 !important;
}

/* PDF Button - Red */
.dt-buttons .buttons-pdf {
    background-color: #dc3545 !important;
    color: white !important;
    border: none !important;
}

/* ========================================
    PG Pricelist Embed Compact Styles
    ======================================== */
.pgprlist-page,
.pgprlist-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

.pgprlist-page {
    font-size: 0.95rem;
    min-width: 0;
    width: 100%;
}

.pgprlist-page .cache-info {
    margin-bottom: 0.75rem;
    padding: 0.65rem 0.8rem;
}

.pgprlist-page .main-wrapper {
    gap: 0.5rem;
}

.pgprlist-page .nav-pills-modern .nav-link {
    padding: 0.35rem 0.8rem;
    font-size: 0.95rem;
}

.pgprlist-page .price-card {
    margin-bottom: 0.75rem;
}

.pgprlist-page .card-header-modern {
    padding: 0.65rem 0.85rem;
}

.pgprlist-page .card-header-modern .fa-2x {
    font-size: 1.4rem;
}

.pgprlist-page .store-title,
.pgprlist-page .card-header-modern h5 {
    font-size: 1.05rem;
}

.pgprlist-page .card-body {
    padding: 0.65rem;
}

.pgprlist-page .content-scroll {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.pgprlist-page .price-item {
    padding: 0.45rem 0.6rem;
    font-size: 0.95rem;
}

.pgprlist-page .product-name,
.pgprlist-page .product-price {
    font-size: 0.95rem;
}

.pgprlist-page .badge,
.pgprlist-page .badge-stock {
    font-size: 8px;
    padding: 0.25em 0.5em;
}

@media (min-width: 375px) and (max-width: 767px) {
    .pgprlist-page .product-name {
        font-size: 0.9rem;
    }

    .pgprlist-page .main-wrapper {
        padding: 0px;
    }
}

.pgprlist-page .warranty-card {
    padding: 0.75rem;
}

.pgprlist-page .warranty-item {
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.pgprlist-page .pgprlist-note {
    padding: 0.65rem 0.75rem;
}

/* Sparepart/Service vertical tab list: make it grid and scrollable */
.pgprlist-page .ps-section-nav {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.35rem;
    max-height: 520px;
    overflow-y: auto;
}

.pgprlist-page .ps-section-nav .nav-link {
    padding: 0.45rem 0.65rem;
    font-size:10px;
    border-radius: 0.6rem;
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #e9ecef;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: all 0.15s ease;
}

.pgprlist-page .ps-section-nav .nav-link:hover {
    background: #f1f3f5;
    color: #212529;
    border-color: #dee2e6;
    transform: translateY(-1px);
}

.pgprlist-page .ps-section-nav .nav-link.active,
.pgprlist-page .ps-section-nav .nav-link.active:hover {
    background: linear-gradient(135deg, #ff5f6d 0%, #ffc371 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.pgprlist-page .service-table-stack {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.pgprlist-page .service-table-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.pgprlist-page .service-table-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.9rem;
    background: linear-gradient(135deg, #ffb347 0%, #ffcc33 100%);
    color: #fff;
}

.pgprlist-page .service-header-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    display: grid;
    place-items: center;
    font-size: 1.15rem;
}

.pgprlist-page .service-title {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.15;
}

.pgprlist-page .service-subtitle {
    font-size: 0.8rem;
    opacity: 0.9;
    line-height: 1.1;
}

.pgprlist-page .service-table-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.35rem 0.35rem 0.65rem;
    background: #fff;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    position: relative;
}

.pgprlist-page .service-scrollbar {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    height: 14px;
    margin: 0.25rem 0 0.15rem;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    background: linear-gradient(180deg, rgba(0,0,0,0.03), rgba(0,0,0,0.01));
    border-bottom: 1px solid #f1f3f5;
    border-top: 1px solid #f8f9fa;
    border-radius: 6px;
}

.pgprlist-page .service-scrollbar-inner {
    height: 2px;
}

.pgprlist-page .service-table {
    width: max-content;
    min-width: 520px;
    font-size: 11px;
    color: #343a40;
    border-collapse: separate;
    border-spacing: 0;
}

.pgprlist-page .service-table thead th {
    background: #f8f9fb;
    border-bottom: 1px solid #e9ecef;
    font-weight: 700;
    padding: 0.25rem 0.32rem;
    white-space: nowrap;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.pgprlist-page .service-table tbody td,
.pgprlist-page .service-table tbody th {
    padding: 0.2rem 0.28rem;
    border-top: 1px solid #f1f3f5;
    font-weight: 600;
    background: #fff;
    white-space: nowrap;
}

.pgprlist-page .service-table tbody tr:nth-child(even) td,
.pgprlist-page .service-table tbody tr:nth-child(even) th {
    background: #fbfcfe;
}

.pgprlist-page .service-col-series {
    position: sticky;
    left: 0;
    background: #fff;
    box-shadow: 4px 0 6px -4px rgba(0, 0, 0, 0.2);
    min-width: 115px;
    z-index: 2;
    text-align: left;
}

.pgprlist-page .service-table thead .service-col-series {
    z-index: 3;
    background: #f8f9fb;
}

.pgprlist-page .svc-price-on {
    background: #f5fff8;
    color: #e74c3c;
    border-left: 1px solid #e2f5e7;
    border-right: 1px solid #e2f5e7;
}

.pgprlist-page .svc-price-off {
    color: #adb5bd;
    background: #fdfdfe;
}

@media (max-width: 768px) {
    .pgprlist-page .service-table {
        font-size: 9px;
    }

    .pgprlist-page .service-table-header {
        padding: 0.65rem 0.75rem;
    }

    .pgprlist-page .service-col-series {
        min-width: 100px;
    }
}


.badge-status-new {
    background: #0b7a3b !important;
    color: #fff !important;
}

.badge-status-second-resmi {
    background: #0a3c8a !important;
    color: #fff !important;
}

.badge-status-bc {
    background: #fd7e14 !important;
    color: #fff !important;
}

.badge-status-inter {
    background: #6f42c1 !important;
    color: #fff !important;
}

.badge-status-minus {
    background: #dc3545 !important;
    color: #fff !important;
}

.badge-status-cuci {
    background: #6c757d !important;
    color: #fff !important;
}

.pgprlist-page .status-legend-card {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
}

.pgprlist-page .legend-title {
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
}

.pgprlist-page .status-legend-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.pgprlist-page .legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 11px;
}

.pgprlist-page .legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.pgprlist-page .legend-dot.status-new {
    background: #0b7a3b;
}

.pgprlist-page .legend-dot.status-second-resmi {
    background: #0a3c8a;
}

.pgprlist-page .legend-dot.status-bc {
    background: #fd7e14;
}

.pgprlist-page .legend-dot.status-inter {
    background: #6f42c1;
}

.pgprlist-page .legend-dot.status-minus {
    background: #dc3545;
}

.pgprlist-page .legend-dot.status-cuci {
    background: #6c757d;
}

.badge-garansi {
    background: #ffcf66;
    color: #7a4b00;
    border: 1px solid #f3b84a;
    font-weight: 600;
}

@media (max-width: 576px) {

    .price-card .card-body,
    .price-card .content-scroll,
    .price-item {
        padding-left: 1px !important;
        padding-right: 1px !important;
    }

    .price-item {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .pgprlist-page .row > [class*="col-"] {
        padding-left: 2px !important;
        padding-right: 2px !important;
    }
}

/* ========================================
   Tukar Tambah Embed Styles
   ======================================== */
.tt-page {
    --tt-primary: #dc3545;
    --tt-secondary: #c82333;
    --tt-success: #06d6a0;
    --tt-danger: #ef476f;
    --tt-dark: #212529;
    background: #f6f8fb;
    min-height: 100vh;
    font-family: 'Nunito', sans-serif;
    color: #2a2e37;
}

.tt-page .tt-wrapper {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid #e6e9f0;
    overflow: hidden;
    padding: 0.9rem;
    margin: 0 auto;
    max-width: 820px;
    width: 100%;
}

.tt-page .tt-header {
    background: linear-gradient(135deg, var(--tt-primary) 0%, var(--tt-secondary) 100%);
    color: #fff;
    padding: 0.85rem 1rem;
    border-radius: 11px;
    margin-bottom: 0.75rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.28);
}

.tt-page .tt-header h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.01em;
}

.tt-page .tt-header p {
    margin: 0.28rem 0 0;
    opacity: 0.95;
    font-size: 0.85rem;
}

.tt-page .tt-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8ebf2;
    padding: 0.85rem 0.95rem;
    margin-bottom: 0.6rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.tt-page .tt-card:hover {
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    border-color: #dde2ee;
}

.tt-page .tt-card-title {
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--tt-dark);
    margin-bottom: 0.55rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    letter-spacing: 0.01em;
}

.tt-page .tt-card-title i {
    color: var(--tt-primary);
}

.tt-page .form-label {
    font-weight: 600;
    color: var(--tt-dark);
    margin-bottom: 0.25rem;
    font-size: 0.88rem;
}

.tt-page .form-control,
.tt-page .form-select {
    border-radius: 10px;
    border: 1px solid #e4e7ee;
    background: #fbfbfd;
    padding: 0.5rem 0.72rem;
    transition: all 0.2s ease;
    font-size: 0.93rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.tt-page .tt-select-wrapper {
    position: relative;
    border: 1px solid #e4e7ee;
    border-radius: 12px;
    background: #fff;
    min-height: 44px;
    padding: 0.2rem 0.85rem;
    display: flex;
    align-items: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tt-page .tt-select-wrapper:focus-within {
    border-color: var(--tt-primary);
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.15);
}

.tt-page .tt-select-wrapper.is-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.tt-page .tt-select-wrapper select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.tt-page .tt-select-display {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1f2937;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    position: relative;
    z-index: 1;
}

.tt-page .form-control:focus,
.tt-page .form-select:focus {
    border-color: var(--tt-primary);
    box-shadow: 0 0 0 0.16rem rgba(220, 53, 69, 0.14);
}

.tt-page .form-select:disabled {
    background: #f8f9fa;
    cursor: not-allowed;
    opacity: 0.65;
}

.tt-page .form-select:not(:disabled) {
    border-color: var(--tt-primary);
    background: #fff;
}

.tt-page .result-table {
    background: #fdfdff;
    border-radius: 12px;
    padding: 0.78rem 0.9rem;
    margin-top: 0.6rem;
    border: 1px solid #eceff5;
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.02);
}

.tt-page .result-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 600;
}

.tt-page .result-value {
    font-size: 0.98rem;
    font-weight: 700;
    color: #1f2937;
}

.tt-page .result-highlight {
    background: linear-gradient(135deg, var(--tt-primary) 0%, var(--tt-secondary) 100%);
    color: #fff;
    padding: 0.82rem;
    border-radius: 12px;
    margin-top: 0.6rem;
    box-shadow: 0 12px 26px rgba(220, 53, 69, 0.2);
}

.tt-page .result-highlight .result-label {
    color: #fff;
    opacity: 0.95;
}

.tt-page .result-highlight .result-value {
    color: #fff;
    font-size: 1.15rem;
    letter-spacing: 0.01em;
}

.tt-page .exchange-icon {
    text-align: center;
    padding: 0.4rem 0;
    color: var(--tt-primary);
    font-size: 1.4rem;
    position: relative;
}

.tt-page .exchange-icon::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.08);
    z-index: 0;
}

.tt-page .exchange-icon i {
    position: relative;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .tt-page .tt-wrapper {
        padding: 0.6rem;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
    }

    .tt-page .tt-header {
        padding: 0.5rem 0.6rem;
        margin-bottom: 0.4rem;
    }

    .tt-page .tt-header h2 {
        font-size: 0.9rem;
    }

    .tt-page .tt-header p {
        font-size: 0.65rem;
        margin-top: 0.15rem;
    }

    .tt-page .tt-card {
        padding: 0.35rem 0.4rem;
        margin-bottom: 0.35rem;
        border-radius: 10px;
    }

    .tt-page .tt-card-title {
        font-size: 0.68rem;
        margin-bottom: 0.3rem;
        gap: 0.3rem;
    }

    .tt-page .form-label {
        font-size: 0.62rem;
        margin-bottom: 0.2rem;
    }

    .tt-page .form-control,
    .tt-page .form-select {
        padding: 3px 6px;
        font-size: 10px;
        border-radius: 8px;
        min-height: 28px;
        line-height: 1.2;
        box-sizing: border-box;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tt-page .form-select option,
    .tt-page .form-control option {
        font-size: 10px;
        padding: 2px 4px;
        white-space: normal;
    }

    .tt-page .result-table {
        padding: 0.35rem 0.45rem;
        margin-top: 0.35rem;
    }

    .tt-page .result-row {
        padding: 0.22rem 0;
        margin: 1px 0;
    }

    .tt-page .result-label {
        font-size: 0.6rem;
    }

    .tt-page .result-value {
        font-size: 0.65rem;
    }

    .tt-page .result-highlight {
        padding: 0.35rem;
        margin-top: 0.35rem;
    }

    .tt-page .result-highlight .result-value {
        font-size: 0.8rem;
    }

    .tt-page .exchange-icon {
        font-size: 1.1rem;
        padding: 0.35rem 0;
    }

    .tt-page .tt-select-wrapper {
        min-height: 32px;
        padding: 0.15rem 0.35rem;
        border-radius: 9px;
    }

    .tt-page .tt-select-display {
        font-size: 10px;
    }
}

@media (max-width: 991.98px) {
    .pgprlist-page .ps-section-nav {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        max-height: 420px;
    }

    .pgprlist-page .content-scroll {
        max-height: none !important;
        overflow: visible !important;
        padding:5px;
    }
}

.dt-buttons .buttons-pdf:hover {
    background-color: #c82333 !important;
}

/* Print Button - Yellow */
.dt-buttons .buttons-print {
    background-color: #ffc107 !important;
    color: #212529 !important;
    border: none !important;
}

.dt-buttons .buttons-print:hover {
    background-color: #e0a800 !important;
}

/* ========================================
   Badge Styling
   ======================================== */
.badge {
    padding: 0.35em 0.65em;
    font-weight: 500;
    border-radius: 6px;
}

/* ========================================
   Empty State Styling
   ======================================== */
/* Remove border from empty state table header */
table thead tr th.border-0 {
    border: none !important;
}

table thead tr th.p-0 {
    padding: 0 !important;
}

.empty-state-container {
    background: linear-gradient(135deg, #a8c0ff 0%, #c0b3e8 100%);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    color: #1a202c;
    text-align: center;
    box-shadow: 0 4px 16px rgba(168, 192, 255, 0.2);
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.empty-state-icon i {
    font-size: 2.5rem;
    color: #2d3748;
    opacity: 1;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1a202c;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.empty-state-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #2d3748;
    font-weight: 500;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.empty-state-hint {
    display: inline-block;
    background: rgba(255, 255, 255, 0.5);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: #2d3748;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.empty-state-hint i {
    color: #f59e0b;
}

/* Dark mode empty state */
[data-theme="dark"] .empty-state-container {
    background: linear-gradient(135deg, #4a5f7f 0%, #3d4f66 100%);
    box-shadow: 0 4px 16px rgba(74, 95, 127, 0.3);
    color: #e2e8f0;
}

[data-theme="dark"] .empty-state-icon {
    background: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .empty-state-icon i {
    color: #cbd5e0;
}

[data-theme="dark"] .empty-state-title {
    color: #f7fafc;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .empty-state-text {
    color: #cbd5e0;
}

[data-theme="dark"] .empty-state-hint {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
}

[data-theme="dark"] .empty-state-hint i {
    color: #fbbf24;
}

/* ========================================
   Animation Classes
   ======================================== */
.animate__faster {
    animation-duration: 0.5s;
}

.tableDT.invisible {
    min-height: 300px;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .card-title {
        font-size: 1rem;
    }

    .btn-sm {
        font-size: 0.8rem;
        padding: 0.375rem 0.75rem;
    }

    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }

    .modal-dialog.modal-xl {
        max-width: calc(100% - 1rem);
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 540px;
    }

    .modal-dialog.modal-xl,
    .modal .modal-dialog.modal-xl {
        max-width: 95% !important;
        width: 95% !important;
    }
}

@media (min-width: 768px) {
    .modal-dialog.modal-xl,
    .modal .modal-dialog.modal-xl {
        max-width: 720px !important;
        width: 90% !important;
    }
}

@media (min-width: 992px) {
    .modal-dialog {
        max-width: 600px;
    }

    .modal-dialog.modal-xl,
    .modal .modal-dialog.modal-xl {
        max-width: 980px !important;
        width: 90% !important;
    }
}

@media (min-width: 1200px) {
    .modal-dialog.modal-xl,
    .modal .modal-dialog.modal-xl {
        max-width: 1200px !important;
        width: 90% !important;
    }
}

@media (min-width: 1400px) {
    .modal-dialog.modal-xl,
    .modal .modal-dialog.modal-xl {
        max-width: 1300px !important;
        width: 85% !important;
    }
}

@media (min-width: 1600px) {
    .modal-dialog.modal-xl,
    .modal .modal-dialog.modal-xl {
        max-width: 1400px !important;
        width: 80% !important;
    }
}/* ========================================
   Dark Mode Support
   ======================================== */
[data-theme="dark"] .card {
    background-color: #2a2e3a;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .modal-content {
    background-color: #2a2e3a;
    color: #fff;
}

[data-theme="dark"] .modal-header {
    border-bottom: none;
}

[data-theme="dark"] .modal-body {
    background-color: #2a2e3a;
}

[data-theme="dark"] .modal-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.3);
}

/* Dark mode - Gradient headers tetap terlihat jelas */
[data-theme="dark"] .modal-header.bg-danger,
[data-theme="dark"] .modal-header.modal-danger {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%) !important;
}

[data-theme="dark"] .modal-header.bg-success,
[data-theme="dark"] .modal-header.modal-success {
    background: linear-gradient(135deg, #51cf66 0%, #94d82d 100%) !important;
}

[data-theme="dark"] .modal-header.bg-primary,
[data-theme="dark"] .modal-header.modal-primary,
[data-theme="dark"] .modal-header.bg-info,
[data-theme="dark"] .modal-header.modal-info {
    background: linear-gradient(135deg, #748ffc 0%, #8d66c3 100%) !important;
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    background-color: #1e2128;
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

[data-theme="dark"] .input-group-text {
    background-color: #1e2128;
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Select2 Dark Mode */
[data-theme="dark"] .select2-container--bootstrap-5 .select2-selection {
    background-color: #1e2128 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

[data-theme="dark"] .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    color: #fff !important;
}

[data-theme="dark"] .select2-container--bootstrap-5 .select2-dropdown {
    background-color: #1e2128;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .select2-container--bootstrap-5 .select2-results__option {
    color: #fff;
}

[data-theme="dark"] .select2-container--bootstrap-5 .select2-results__option--highlighted {
    background-color: #4CAF50;
}

[data-theme="dark"] .table {
    color: #e0e6ed;
}

/* Dark mode table borders */
[data-theme="dark"] #tableDT,
[data-theme="dark"] #tableDT thead th,
[data-theme="dark"] #tableDT tbody td,
[data-theme="dark"] .table-bordered,
[data-theme="dark"] .table-bordered thead th,
[data-theme="dark"] .table-bordered tbody td {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Dark Mode - DataTables Header dengan Gradient yang lebih terang */
[data-theme="dark"] #tableDT thead .header-row th,
[data-theme="dark"] .table-bordered thead .header-row th {
    background: linear-gradient(135deg, #3d4f66 0%, #4a5f7f 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] #tableDT thead .header-row th:hover,
[data-theme="dark"] .table-bordered thead .header-row th:hover {
    background: linear-gradient(135deg, #4a5f7f 0%, #3d4f66 100%);
}

/* Dark mode search row */
[data-theme="dark"] #tableDT thead .search-row th {
    background: #2d3748;
    border-color: #4a5568;
}

[data-theme="dark"] #tableDT thead .search-row .select2-selection {
    background: #4a5568 !important;
    border-color: #718096 !important;
    color: #e2e8f0 !important;
}

[data-theme="dark"] #tableDT thead .search-row .select2-selection__rendered {
    color: #e2e8f0 !important;
}

[data-theme="dark"] #tableDT thead .search-row .select2-selection__placeholder {
    color: #a0aec0 !important;
}

[data-theme="dark"] #tableDT thead .search-row .select2-selection__arrow b {
    border-top-color: #cbd5e0 !important;
}

/* =====================================================
   Frontend Price List (PG Price List)
   ===================================================== */
.pgprlist-page {
    --primary-color: #dc3545;
    --secondary-color: #c82333;
    --success-color: #06d6a0;
    --danger-color: #ef476f;
    --warning-color: #ffd60a;
    --dark-color: #212529;
    --light-bg: #f8f9fa;
    background: #fff;
    min-height: 100vh;
    font-family: 'Nunito', sans-serif;
}

.pgprlist-page .main-wrapper {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .1);
    padding: 0.75rem;
    max-width: 100%;
    width: 100%;
}

.pgprlist-page .price-card {
    background: #fff;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    transition: all .3s ease;
}

.pgprlist-page .price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, .15);
}

.pgprlist-page .card-header-modern {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 0.6rem 0.75rem;
    border: none;
}

.pgprlist-page .card-header-modern h5,
.pgprlist-page .card-header-modern small,
.pgprlist-page .card-header-modern .header-inline i {
    color: #fff;
}

.pgprlist-page .card-header-modern.ps-sparepart {
    background: linear-gradient(135deg, #4c6fff 0%, #6b8bff 100%);
}

.pgprlist-page .card-header-modern.ps-jasa {
    background: linear-gradient(135deg, #ff9a3c 0%, #ff6f61 100%);
}

.pgprlist-page .card-header-modern .header-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.pgprlist-page .card-header-modern .header-inline i {
    font-size: 1.25rem;
}

.pgprlist-page .pgprlist-note {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    background: linear-gradient(135deg, #fff, #f8f9ff);
    border: 1px solid #e5e7ef;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    font-size: 0.82rem;
    color: #4a5568;
}

.pgprlist-page .pgprlist-note .note-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff6b6b, #f06595);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.35);
}

.pgprlist-page .pgprlist-note .note-title {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 2px;
}

.pgprlist-page .pgprlist-note .note-text {
    line-height: 1.35;
}

@media (max-width: 992px) {
    .pgprlist-page .main-wrapper {
        padding: 0.65rem;
        border-radius: 15px;
    }

    .pgprlist-page .card-header-modern {
        padding: 0.65rem;
    }

    .pgprlist-page .nav-pills-modern .nav-link {
        font-size: .76rem;
        padding: .28rem .52rem;
    }

    .pgprlist-page .price-item {
        padding: .36rem .5rem;
    }

    .pgprlist-page .product-name {
        font-size: .78rem;
    }

    .pgprlist-page .product-price {
        font-size: .85rem;
    }

    .pgprlist-page .content-scroll {
        max-height: 380px;
    }
}

@media (max-width: 576px) {
    .pgprlist-page .container-fluid {
        padding: .28rem !important;
    }

    .pgprlist-page .store-switch {
        padding: .2rem;
        border-radius: 11px;
    }

    .pgprlist-page .nav-pills-modern .nav-link {
        margin: 0 .06rem .2rem;
    }

    .pgprlist-page .price-card {
        border-radius: 11px;
    }

    .pgprlist-page .content-scroll {
        max-height: 320px;
    }
}

/* Extra-compact mobile tweaks for Sparepart & Service view */
@media (max-width: 576px) {
    .pgprlist-page .tab-content {
        padding: 0 !important;
    }

    .pgprlist-page {
        font-size: 0.85rem;
    }

    /* Top pills (Handphone / Sparepart & Service) and store tabs */
    .pgprlist-page .nav-pills-modern {
        gap: 0.05rem;
        margin-bottom: 0.12rem !important;
    }

    .pgprlist-page .nav-pills-modern .nav-link {
        padding: 0.12rem 0.3rem;
        font-size: 0.62rem;
        border-radius: 5px;
        line-height: 1.15;
        margin: 0 0.04rem 0.08rem;
    }

    .pgprlist-page .nav-pills-modern .nav-link i {
        font-size: 0.5em;
        margin-right: 0.12rem;
    }

    /* Header card (badge + title) */
    .pgprlist-page .card-header-modern {
        padding: 0.45rem 0.55rem;
        border-radius: 10px;
    }

    .pgprlist-page .card-header-modern h5,
    .pgprlist-page .store-title {
        font-size: 0.85rem;
        margin-bottom: 0.05rem;
    }

    .pgprlist-page .card-header-modern .badge {
        font-size: 0.64rem;
        padding: 0.18rem 0.45rem;
    }

    /* Body spacing */
    .pgprlist-page .card-body {
        padding: 0.45rem !important;
    }

    /* Price item cards */
    .pgprlist-page .price-item {
        padding: 0.28rem 0.45rem;
        border-radius: 10px;
        gap: 0.15rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .pgprlist-page .product-name,
    .pgprlist-page .product-price {
        font-size: 8px;
    }

    .pgprlist-page .product-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        line-height: 1.2;
        margin-inline-end: 0.45rem;
    }

    .pgprlist-page .product-stock {
        font-size: 0.58rem;
        line-height: 1.1;
        margin-inline-start: 0.35rem;
    }

    /* Order and alignment: name → stok → harga */
    .pgprlist-page .product-name { order: 1; }
    .pgprlist-page .product-stock { order: 2; }
    .pgprlist-page .product-price {
        order: 3;
        font-weight: 700;
        font-size: 10px;
        margin-top: 0.1rem;
    }

    /* Info banner spacing */
    .pgprlist-page .cache-info {
        padding: 0.55rem 0.65rem;
        margin-bottom: 0.6rem;
        border-radius: 12px;
    }
}

.pgprlist-page .nav-pills-modern .nav-link {
    border-radius: 8px;
    padding: .32rem .6rem;
    margin: 0 .1rem;
    font-weight: 600;
    font-size: .8rem;
    color: #6c757d;
    background: #f8f9fa;
    transition: all .3s ease;
    border: 2px solid transparent;
}

.pgprlist-page .nav-pills-modern .nav-link:hover {
    background: #e9ecef;
    color: var(--primary-color);
}

.pgprlist-page .nav-pills-modern .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    border-color: transparent;
}

.pgprlist-page .store-switch {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: .25rem;
    margin-bottom: .55rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .05);
}

.pgprlist-page .store-switch .nav-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    text-transform: uppercase;
    letter-spacing: .2px;
}

.pgprlist-page .store-switch .nav-link .badge {
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .35);
    padding: .13rem .4rem;
    font-weight: 700;
}

.pgprlist-page .price-item {
    padding: .4rem .55rem;
    border-bottom: 1px solid #f0f0f0;
    transition: all .2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.pgprlist-page .price-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.pgprlist-page .price-item:last-child {
    border-bottom: none;
}

.pgprlist-page .product-name {
    font-size: .82rem;
    font-weight: 600;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex: 1;
    gap: 0.25rem;
}

.pgprlist-page .product-stock {
    font-size: .7rem;
    color: #6c757d;
    display: inline-flex;
    align-items: center;
}

.pgprlist-page .product-price {
    font-size: .9rem;
    font-weight: 700;
    color: var(--danger-color);
}

.pgprlist-page .badge-stock {
    background: linear-gradient(135deg, var(--success-color) 0%, #00b894 100%);
    color: #fff;
    padding: .22rem .5rem;
    border-radius: 8px;
    font-size: .64rem;
    font-weight: 600;
}

.pgprlist-page .content-scroll {
    max-height: none !important;
    overflow: visible !important;
    padding:5px;
}

.pgprlist-page .warranty-card {
    background: #fff;
    border-radius: 15px;
    padding: .8rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
}

.pgprlist-page .warranty-item {
    padding: .5rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: .35rem;
    border-left: 4px solid var(--success-color);
}

.pgprlist-page .store-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .2);
}

.pgprlist-page .empty-state {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.pgprlist-page .cache-info {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(200, 35, 51, 0.1) 100%);
    border-radius: 12px;
    padding: 9px 14px;
    margin-bottom: 12px;
    border: 2px solid rgba(220, 53, 69, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pgprlist-page .cache-info .info-text {
    font-size: 12px;
    color: #495057;
    text-align: center;
}

.pgprlist-page .cache-info .info-text i {
    color: var(--primary-color);
    margin-right: 8px;
}

@media (max-width: 374px) {
    .pgprlist-page .container-fluid {
        padding: .25rem !important;
    }

    .pgprlist-page .main-wrapper {
        padding: 0px;
        border-radius: 12px;
    }

    .pgprlist-page .price-card {
        margin-bottom: .25rem;
        border-radius: 8px;
        border-width: 0.5px;
    }

    .pgprlist-page .card-header-modern {
        padding: .4rem;
        border-radius: 8px 8px 0 0;
    }

    .pgprlist-page .card-header-modern i {
        font-size: 1rem !important;
        margin-right: .5rem !important;
    }

    .pgprlist-page .store-title {
        font-size: .85rem;
        line-height: 1.2;
    }

    .pgprlist-page .card-header-modern p {
        font-size: .6rem !important;
        margin-top: .1rem;
    }

    .pgprlist-page .card-body {
        padding: .5rem !important;
    }

    .pgprlist-page .nav-pills-modern {
        gap: .15rem;
        margin-bottom: .35rem !important;
        justify-content: center;
    }

    .pgprlist-page .nav-pills-modern .nav-link {
        font-size: .55rem;
        padding: .25rem .35rem;
        margin: 0 .05rem .15rem .05rem;
        border-radius: 6px;
        white-space: nowrap;
    }

    .pgprlist-page .nav-pills-modern .nav-link i {
        font-size: .5rem;
        margin-right: .15rem;
    }

    .pgprlist-page .price-item {
        padding: 1px;
        gap: 2px;
        flex-direction: row;
    }

    .pgprlist-page .product-name {
        font-size: 8px;
        flex-wrap: nowrap;
        margin-inline-end: 0px;
    }

    .pgprlist-page .product-stock {
        font-size: .55rem;
        margin-left: 0 !important;
        margin-top: .15rem;
        display: block;
        width: 100%;
    }

    .pgprlist-page .product-price {
        font-size: 8px;
        font-weight: 700;
        align-self: flex-end;
        text-align: right;
        white-space: nowrap;
    }

    .pgprlist-page .badge-stock {
        padding: .1rem .3rem;
        font-size: .5rem;
        border-radius: 4px;
    }

    .pgprlist-page .content-scroll {
        max-height: 350px;
    }

    .pgprlist-page .warranty-card {
        padding: .4rem;
        border-radius: 8px;
        margin-top: .5rem;
    }

    .pgprlist-page .warranty-card h5 {
        font-size: .75rem;
        margin-bottom: .3rem !important;
    }

    .pgprlist-page .warranty-item {
        padding: .25rem;
        font-size: .6rem;
        margin-bottom: .2rem;
        border-radius: 6px;
        border-left-width: 3px;
    }

    .pgprlist-page .warranty-item i {
        font-size: .55rem;
        margin-right: .15rem;
    }

    .pgprlist-page .empty-state {
        padding: 1rem;
        font-size: .7rem;
    }

    .pgprlist-page .empty-state i {
        font-size: 1.5rem !important;
        margin-bottom: .5rem !important;
    }
}

@media (min-width: 375px) and (max-width:767px) {
    .pgprlist-page .container-fluid {
        padding: .4rem !important;
    }

    .pgprlist-page .main-wrapper {
        padding: .75rem;
    }

    .pgprlist-page .price-card {
        margin-bottom: .4rem;
        border-radius: 12px;
    }

    .pgprlist-page .card-header-modern {
        padding: .5rem;
    }

    .pgprlist-page .store-title {
        font-size: 1rem;
    }

    .pgprlist-page .card-header-modern p {
        font-size: .7rem !important;
    }

    .pgprlist-page .card-header-modern i {
        font-size: 1.2rem !important;
    }

    .pgprlist-page .card-body {
        padding: .5rem !important;
    }

    .pgprlist-page .nav-pills-modern {
        flex-wrap: wrap;
        margin-bottom: .5rem !important;
    }

    .pgprlist-page .nav-pills-modern .nav-link {
        margin-bottom: .25rem;
        font-size: .65rem;
        padding: .3rem .5rem;
        margin: 0 .1rem .25rem .1rem;
    }

    .pgprlist-page .nav-pills-modern .nav-link i {
        font-size: .6rem;
    }

    .pgprlist-page .price-item {
        padding: 1px;
        flex-direction: row;
    }

    .pgprlist-page .product-name {
        font-size: 8px;
        flex-wrap: wrap;
        margin-inline-end: 0px;
    }

    .pgprlist-page .product-stock {
        font-size: 9px;
        margin-inline-start: 0px;
    }

    .pgprlist-page .product-price {
        font-size: 8px;
        white-space: nowrap;
    }

    .pgprlist-page .badge-stock {
        padding: .15rem .4rem;
        font-size: .6rem;
    }

    .pgprlist-page .content-scroll {
        max-height: none !important;
        overflow: visible !important;
    }

    /* Ultra-small phones: allow horizontal scrolling for wide tables/lists */
    @media (max-width: 374px) {
        .pgprlist-page .content-scroll {
            overflow-x: auto !important;
            overflow-y: visible !important;
            -webkit-overflow-scrolling: touch;
        }
    }

    .pgprlist-page .warranty-card {
        padding: .5rem;
        border-radius: 12px;
    }

    .pgprlist-page .warranty-card h5 {
        font-size: .9rem;
        margin-bottom: .5rem !important;
    }

    .pgprlist-page .warranty-item {
        padding: .35rem;
        font-size: .7rem;
        margin-bottom: .25rem;
    }

    .pgprlist-page .warranty-item i {
        font-size: .65rem;
    }

    .pgprlist-page .empty-state {
        padding: 1.5rem;
        font-size: .8rem;
    }

    .pgprlist-page .empty-state i {
        font-size: 2rem !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .pgprlist-page .container-fluid {
        padding: .75rem !important;
    }

    .pgprlist-page .nav-pills-modern .nav-link {
        font-size: .75rem;
        padding: .4rem .6rem;
    }

    .pgprlist-page .price-item {
        padding: .5rem .75rem;
    }

    .pgprlist-page .product-name {
        font-size: .85rem;
    }

    .pgprlist-page .product-price {
        font-size: .9rem;
    }
}

@media (max-width: 576px) {
    .pgprlist-page .cache-info {
        padding: 10px 15px;
    }

    .pgprlist-page .cache-info .info-text {
        font-size: 12px;
    }
}

[data-theme="dark"] #tableDT thead .header-row th.sorting_asc,
[data-theme="dark"] #tableDT thead .header-row th.sorting_desc {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
}

/* Dark mode table body */
[data-theme="dark"] #tableDT tbody td,
[data-theme="dark"] .table-bordered tbody td {
    background-color: #1e2128;
    color: #e0e6ed;
}

[data-theme="dark"] #tableDT tbody tr:hover,
[data-theme="dark"] .table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] #tableDT tbody tr:nth-of-type(odd),
[data-theme="dark"] .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.03);
}

/* Dark mode controls */
[data-theme="dark"] #tableDT_wrapper .dataTables_length select,
[data-theme="dark"] #tableDT_wrapper .dataTables_filter input {
    background-color: #1e2128;
    border-color: rgba(255, 255, 255, 0.2);
    color: #e0e6ed;
}

[data-theme="dark"] #tableDT_wrapper .dataTables_info {
    color: #9ca3af;
}

[data-theme="dark"] #tableDT_wrapper .dataTables_paginate .page-link {
    background-color: #2a2e3a;
    border-color: rgba(255, 255, 255, 0.2);
    color: #e0e6ed;
}

[data-theme="dark"] #tableDT_wrapper .dataTables_paginate .page-link:hover {
    background-color: #3d4f66;
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] #tableDT_wrapper .dataTables_paginate .page-item.active .page-link {
    background: linear-gradient(135deg, #748ffc 0%, #8d66c3 100%);
    border-color: #748ffc;
    color: #fff;
    box-shadow: 0 2px 8px rgba(116, 143, 252, 0.4);
}

/* Dark Mode - DataTables Export Buttons */
[data-theme="dark"] .dt-buttons .buttons-excel {
    background-color: #28a745 !important;
    color: white !important;
}

[data-theme="dark"] .dt-buttons .buttons-excel:hover {
    background-color: #218838 !important;
}

[data-theme="dark"] .dt-buttons .buttons-pdf {
    background-color: #dc3545 !important;
    color: white !important;
}

[data-theme="dark"] .dt-buttons .buttons-pdf:hover {
    background-color: #c82333 !important;
}

[data-theme="dark"] .dt-buttons .buttons-print {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

[data-theme="dark"] .dt-buttons .buttons-print:hover {
    background-color: #e0a800 !important;
}

/* ========================================
   Dark Mode Legacy (from fdme.css)
   ======================================== */
.dark-theme p,
.dark-theme ol,
.dark-theme ul,
.dark-theme li,
.dark-theme thead,
.dark-theme tbody,
.dark-theme label,
.dark-theme input,
.dark-theme tr,
.dark-theme th,
.dark-theme td,
.dark-theme th:before,
.dark-theme td:before,
.dark-theme th:after,
.dark-theme td:after,
.dark-theme button,
.dark-theme i,
.dark-theme .text-dark,
.dark-theme .btn-dark,
.dark-theme .dropdown-header,
.dark-theme .sidebar-compact-switch {
  color: #c2c6dc !important;
  border-color: #c2c6dc !important;
}

.dark-theme .text-primary {
  color: #6547d4 !important;
}

.dark-theme .border-primary {
  border-color: #6547d4 !important;
}

.dark-theme .btn-primary {
  color: #fff !important;
  border-color: #fff !important;
  background-color: #6547d4 !important;
}

.dark-theme .btn-outline-primary {
  color: #6547d4 !important;
  border-color: #6547d4 !important;
  background-color: transparent !important;
}

.dark-theme .text-warning {
  color: #ffc107 !important;
}

.dark-theme .border-warning {
  border-color: #ffc107 !important;
}

.dark-theme .btn-warning {
  color: #727272 !important;
  border-color: #fff !important;
  background-color: #ffc107 !important;
}

.dark-theme .btn-outline-warning {
  color: #ffc107 !important;
  border-color: #ffc107 !important;
  background-color: transparent !important;
}

.dark-theme .text-success {
  color: #28a745 !important;
}

.dark-theme .border-success {
  border-color: #28a745 !important;
}

.dark-theme .btn-success {
  color: #fff !important;
  border-color: #fff !important;
  background-color: #28a745 !important;
}

.dark-theme .btn-outline-success {
  color: #28a745 !important;
  border-color: #28a745 !important;
  background-color: transparent !important;
}

.dark-theme .text-secondary {
  color: #5e5e5e !important;
}

.dark-theme .border-secondary {
  border-color: #5e5e5e !important;
}

.dark-theme .btn-secondary {
  color: #5e5e5e !important;
  border-color: #5e5e5e !important;
  background-color: #c2c6dc !important;
}

.dark-theme .btn-outline-secondary {
  color: #c2c6dc !important;
  border-color: #c2c6dc !important;
  background-color: transparent !important;
}

.dark-theme .text-danger {
  color: #f44336 !important;
}

.dark-theme .border-danger {
  border-color: #f44336 !important;
}

.dark-theme .btn-danger {
  color: #fff !important;
  border-color: #fff !important;
  background-color: #f44336 !important;
}

.dark-theme .btn-outline-danger {
  color: #f44336 !important;
  border-color: #f44336 !important;
  background-color: transparent !important;
}

.dark-theme .text-info {
  color: #3c85df !important;
}

.dark-theme .border-info {
  border-color: #3c85df !important;
}

.dark-theme .btn-info {
  color: #fff !important;
  border-color: #fff !important;
  background-color: #3c85df !important;
}

.dark-theme .btn-outline-info {
  color: #3c85df !important;
  border-color: #3c85df !important;
  background-color: transparent !important;
}

.dark-theme .modal-content {
  background-color: #10163a !important;
}

.dark-theme img {
  filter: invert(100%) !important;
}

.dark-theme .select2-selection,
.dark-theme .select2-selection__rendered,
.dark-theme .select2-search,
.dark-theme .select2-results,
.dark-theme #smartwizard .nav,
.dark-theme #smartwizard .step-content,
.dark-theme #smartwizard .btn-toolbar {
  background-color: #10163a !important;
  color: #c2c6dc !important;
  border-color: #c2c6dc !important;
}

/* ========================================
   Print Styles - Thermal & Normal Templates
   ======================================== */

/* Thermal Print (Receipt 58mm-80mm) */
@media print {
  .thermal-print body, .thermal-print div, .thermal-print table, .thermal-print td, .thermal-print th { font-family: 'Tahoma', 'Verdana', Arial, sans-serif !important; font-size: 11pt !important; color: #000 !important; }
  .thermal-print .font-bold { font-weight: bold; }
  .thermal-print .font-large { font-size: 13pt !important; }
  .thermal-print .font-small { font-size: 9pt !important; }
  .thermal-print .border-dashed { border-top: 1px dashed #000 !important; }
}

/* A5 Landscape Print (210x148mm) */
/* @page { size: A5 landscape; margin: 4mm; } - Disabled for thermal */
/* .print-normal - Disabled */
@media print {
  .a5-landscape body { margin: 0; }
}
.print-container { width: 202mm; margin: 0 auto; font-family: 'Arial', 'Helvetica', sans-serif; color: #000; background: #fff; font-size: 7pt; }
.print-header { border: 2px solid #000; border-radius: 2px; overflow: hidden; margin-bottom: 2mm; }
.print-header-row { display: flex; align-items: stretch; }
.print-header-left { width: 35%; border-right: 2px solid #000; padding: 3px 5px; background: #f8f9fa; }
.print-header-center { width: 40%; border-right: 2px solid #000; padding: 3px 5px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.print-header-right { width: 25%; padding: 3px 5px; background: #f8f9fa; }
.print-title { font-size: 14pt; font-weight: 800; margin: 0; padding: 0; letter-spacing: 0.3px; }
.print-subtitle { font-size: 7pt; margin: 1px 0; line-height: 1.2; }
.print-warehouse { font-size: 8pt; font-weight: 700; margin: 2px 0; padding-bottom: 2px; border-bottom: 1px solid #666; }
.print-address { font-size: 6pt; margin: 1px 0; }
.meta-table { width: 100%; font-size: 7pt; border-collapse: collapse; }
.meta-table td { padding: 0.5px 1px; line-height: 1.2; }
.meta-label { font-weight: 600; width: 70px; }
.meta-separator { width: 6px; text-align: center; }
.print-section { border: 2px solid #000; border-radius: 2px; margin-top: 2mm; overflow: hidden; }
.section-title { font-size: 8pt; font-weight: 700; text-align: center; padding: 2px; background: #000; color: #fff; }
.section-content { padding: 3px 5px; }
.print-table { width: 100%; border-collapse: collapse; font-size: 7pt; }
.print-table thead th { background: #000; color: #fff; padding: 2px 3px; font-weight: 700; text-align: center; border: 1px solid #000; }
.print-table tbody td { padding: 1px 3px; border: 1px solid #000; line-height: 1.2; }
.print-table tfoot td { padding: 2px 3px; font-weight: 700; border: 1px solid #000; }
.barcode-container { text-align: center; margin: 2px 0; }
.info-box { border: 1px solid #000; border-radius: 2px; padding: 2px 4px; margin: 1mm 0; background: #f8f9fa; }
.info-label { font-weight: 700; display: inline-block; min-width: 80px; }
.summary-box { border: 2px solid #000; border-radius: 2px; padding: 3px 5px; margin-top: 2mm; background: #f8f9fa; }
.summary-table { width: 100%; font-size: 7pt; }
.summary-table td { padding: 1px 2px; line-height: 1.2; }
.summary-label { font-weight: 700; text-align: right; width: 70%; }
.summary-value { font-weight: 700; text-align: right; border-bottom: 1px solid #ddd; }
.print-footer { margin-top: 2mm; display: flex; justify-content: space-between; gap: 3mm; }
.signature-box { flex: 1; border: 1.5px solid #000; border-radius: 2px; text-align: center; padding: 2px; }
.signature-title { font-size: 7pt; font-weight: 700; padding: 2px; background: #000; color: #fff; border-radius: 2px 2px 0 0; margin: -2px -2px 0 -2px; }
.signature-space { height: 15mm; border-bottom: 1px solid #000; margin: 2mm 5mm; }
.signature-name { font-size: 6pt; margin-top: 2px; }

/* A5 Portrait Service Print (148x210mm) */
.service-container { width: 138mm; margin: 5mm auto; padding: 0; font-family: 'Arial', 'Helvetica', sans-serif; color: #000; background: #fff; position: relative; }
.service-header { border: 2px solid #000; border-radius: 3px; overflow: hidden; }
.service-info { border-right: 2px solid #000; padding: 5px 8px; }
.service-title { font-size: 18pt; font-weight: 800; letter-spacing: 0.5px; margin: 0; padding: 0; color: #1a1a1a; }
.service-subtitle { font-size: 8pt; margin: 2px 0; line-height: 1.2; }
.service-contact { font-size: 9pt; margin: 2px 0; line-height: 1.3; }
.service-meta { padding: 3px 5px; background: #f8f9fa; }

/* Print Utilities */
.text-6pt { font-size: 6pt; }
.text-7pt { font-size: 7pt; }
.text-8pt { font-size: 8pt; }
.text-9pt { font-size: 9pt; }
.text-10pt { font-size: 10pt; }
.mt-1 { margin-top: 1mm; }
.mt-2 { margin-top: 2mm; }
.mb-1 { margin-bottom: 1mm; }
.mb-2 { margin-bottom: 2mm; }
.p-1 { padding: 1mm; }
.p-2 { padding: 2mm; }
.text-red { color: #dc3545; }
.text-green { color: #28a745; }
.text-blue { color: #007bff; }
.bg-gray { background-color: #f8f9fa; }
.bg-light-gray { background-color: #f1f3f5; }
.border-top{border-top:1px solid #000}.border-bottom{border-bottom:1px solid #000}.border-left{border-left:1px solid #000}.border-right{border-right:1px solid #000}.border-all{border:1px solid #000}.d-flex{display:flex}.justify-between{justify-content:space-between}.align-center{align-items:center}.gap-2{gap:2mm}

/* ==========================================================================
   PLATINUM SPATIAL 3D SIDEBAR & THEME CUSTOMIZER (LIGHT & DARK DUAL THEME)
   ========================================================================== */

/* 1. Sidebar Panel Container */
.layout-sidebar-vertical .sidebar-panel {
    display: flex !important;
    flex-direction: column !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    border-right: 1px solid rgba(225, 29, 72, 0.12) !important;
    box-shadow: 4px 0 24px -4px rgba(15, 23, 42, 0.08), 1px 0 3px rgba(0, 0, 0, 0.02) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark-theme .layout-sidebar-vertical .sidebar-panel {
    background: linear-gradient(180deg, #0f172a 0%, #090d16 100%) !important;
    border-right: 1px solid rgba(225, 29, 72, 0.22) !important;
    box-shadow: 4px 0 32px rgba(0, 0, 0, 0.6), inset -1px 0 1px rgba(255, 255, 255, 0.05) !important;
}

.layout-sidebar-vertical .sidebar-panel .sidebar-brand-wrapper,
.layout-sidebar-vertical .sidebar-panel .sidebar-user-card {
    flex-shrink: 0 !important;
}

/* Sidebar Vertical Scrollable Container (Desktop & Mobile) */
.layout-sidebar-vertical .sidebar-panel .scroll-nav {
    flex: 1 1 auto !important;
    height: auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(225, 29, 72, 0.28) transparent;
    padding-bottom: 4rem !important;
}

.dark-theme .layout-sidebar-vertical .sidebar-panel .scroll-nav {
    scrollbar-color: rgba(225, 29, 72, 0.45) transparent;
}

.layout-sidebar-vertical .sidebar-panel .scroll-nav::-webkit-scrollbar {
    width: 5px !important;
}

.layout-sidebar-vertical .sidebar-panel .scroll-nav::-webkit-scrollbar-track {
    background: transparent !important;
}

.layout-sidebar-vertical .sidebar-panel .scroll-nav::-webkit-scrollbar-thumb {
    background: rgba(225, 29, 72, 0.22) !important;
    border-radius: 10px !important;
    transition: background 0.25s ease !important;
}

.layout-sidebar-vertical .sidebar-panel .scroll-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(225, 29, 72, 0.6) !important;
}

.dark-theme .layout-sidebar-vertical .sidebar-panel .scroll-nav::-webkit-scrollbar-thumb {
    background: rgba(225, 29, 72, 0.35) !important;
}

.dark-theme .layout-sidebar-vertical .sidebar-panel .scroll-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(225, 29, 72, 0.75) !important;
}

/* 2. Brand Wrapper & 3D Logo */
.sidebar-brand-wrapper {
    padding: 1.25rem 1rem 0.85rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-bottom: 1px solid rgba(225, 29, 72, 0.08);
}

.dark-theme .sidebar-brand-wrapper {
    border-bottom: 1px solid rgba(225, 29, 72, 0.15);
}

.sidebar-brand-link {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sidebar-brand-link:hover {
    transform: scale(1.03) translateY(-1px);
}

.sidebar-brand-logo {
    width: 175px;
    max-width: 85%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
    transition: filter 0.3s ease;
}

/* Di Mode Gelap, logo platinum dibuat tajam dengan pendar emas platinum */
.dark-theme .sidebar-brand-logo {
    filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(245, 158, 11, 0.35)) drop-shadow(0 0 1px rgba(255, 255, 255, 0.8));
}

/* 3. User Profile Card Spatial 3D (Luxe Glass Badge) */
.sidebar-user-card {
    margin: 0.85rem 1rem 1rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.85) 100%);
    border: 1px solid rgba(225, 29, 72, 0.14);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.9);
    transition: all 0.25s ease;
}

.sidebar-user-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(225, 29, 72, 0.12), inset 0 1px 1px #ffffff;
    border-color: rgba(225, 29, 72, 0.28);
}

.dark-theme .sidebar-user-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.92) 100%);
    border: 1px solid rgba(225, 29, 72, 0.25);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.dark-theme .sidebar-user-card:hover {
    border-color: rgba(244, 63, 94, 0.45);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55), 0 0 12px rgba(225, 29, 72, 0.2);
}

.sidebar-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 3px 8px rgba(225, 29, 72, 0.35);
    flex-shrink: 0;
}

.sidebar-user-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.sidebar-user-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dark-theme .sidebar-user-name {
    color: #f1f5f9;
}

.sidebar-user-role {
    font-size: 0.68rem;
    font-weight: 700;
    color: #059669;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 2px;
}

.dark-theme .sidebar-user-role {
    color: #34d399;
}

.role-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
    display: inline-block;
}

/* 4. MetisMenu Navigation Items (Spatial 3D & Micro-Interactions) */
.metismenu {
    padding: 0.4rem 0.5rem;
}

.metismenu > li {
    margin-bottom: 0.3rem;
}

.metismenu > li > a {
    display: flex !important;
    align-items: center !important;
    padding: 0.58rem 2.2rem 0.58rem 0.75rem !important;
    border-radius: 0.75rem !important;
    margin: 0 0.4rem !important;
    color: #334155 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    border: 1px solid transparent !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
}

.dark-theme .metismenu > li > a {
    color: #cbd5e1 !important;
}

.metismenu > li > a:hover {
    background: linear-gradient(135deg, rgba(254, 242, 242, 0.95) 0%, rgba(255, 241, 242, 0.6) 100%) !important;
    color: #e11d48 !important;
    border-color: rgba(225, 29, 72, 0.18) !important;
    transform: translateX(4px) scale(1.01) !important;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.08) !important;
}

.dark-theme .metismenu > li > a:hover {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.18) 0%, rgba(136, 19, 55, 0.12) 100%) !important;
    color: #fda4af !important;
    border-color: rgba(225, 29, 72, 0.35) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

/* Penataan Panah Chevron MetisMenu agar tidak menabrak teks */
.metismenu .has-arrow:after {
    right: 0.9rem !important;
    top: 50% !important;
    margin-top: -3px !important;
    width: 6px !important;
    height: 6px !important;
    border-width: 2px 0 0 2px !important;
    border-color: #94a3b8 !important;
    transition: all 0.25s ease !important;
    flex-shrink: 0 !important;
    z-index: 2 !important;
}

.metismenu > li > a:hover.has-arrow:after {
    border-color: #e11d48 !important;
}

.dark-theme .metismenu .has-arrow:after {
    border-color: #64748b !important;
}

.dark-theme .metismenu > li > a:hover.has-arrow:after {
    border-color: #fda4af !important;
}

.metismenu .mm-active > .has-arrow:after,
.metismenu .has-arrow[aria-expanded="true"]:after {
    border-color: #ffffff !important;
}

.metismenu .item-name {
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.3 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding-right: 0.25rem !important;
}

/* Active Menu - Spatial 3D Bevel Pill */
.metismenu > li.mm-active > a,
.metismenu > li > a.font-weight-bold {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.32), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
    transform: translateX(3px) !important;
}

.metismenu > li.mm-active > a .item-name,
.metismenu > li > a.font-weight-bold .item-name {
    color: #ffffff !important;
}

.dark-theme .metismenu > li.mm-active > a,
.dark-theme .metismenu > li > a.font-weight-bold {
    background: linear-gradient(135deg, #be123c 0%, #9f1239 100%) !important;
    box-shadow: 0 8px 22px rgba(225, 29, 72, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.25) !important;
}

/* 5. 3D Icon Box for Menu */
.nav-icon-3d-box {
    width: 30px;
    height: 30px;
    border-radius: 0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04), inset 0 1px 1px #ffffff;
    color: #475569;
    font-size: 13.5px;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark-theme .nav-icon-3d-box {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.08);
    color: #94a3b8;
}

.metismenu > li > a:hover .nav-icon-3d-box {
    background: #ffffff;
    color: #e11d48;
    border-color: rgba(225, 29, 72, 0.3);
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.15);
}

.dark-theme .metismenu > li > a:hover .nav-icon-3d-box {
    background: #1e293b;
    color: #fb7185;
    border-color: rgba(225, 29, 72, 0.4);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

.metismenu > li.mm-active > a .nav-icon-3d-box,
.metismenu > li > a.font-weight-bold .nav-icon-3d-box {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

/* 6. Submenu Collapsible & 3D Bullets */
.metismenu ul {
    background: rgba(241, 245, 249, 0.6) !important;
    border-radius: 0.65rem !important;
    margin: 0.25rem 0.5rem 0.45rem 1.75rem !important;
    padding: 0.35rem 0.25rem !important;
    border-left: 2px solid rgba(225, 29, 72, 0.2) !important;
}

.dark-theme .metismenu ul {
    background: rgba(15, 23, 42, 0.6) !important;
    border-left: 2px solid rgba(225, 29, 72, 0.35) !important;
}

.metismenu ul li a {
    padding: 0.45rem 0.75rem !important;
    border-radius: 0.45rem !important;
    font-size: 12.5px !important;
    color: #475569 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    transition: all 0.2s ease !important;
}

.dark-theme .metismenu ul li a {
    color: #94a3b8 !important;
}

.metismenu ul li a:hover {
    background: rgba(225, 29, 72, 0.08) !important;
    color: #e11d48 !important;
    transform: translateX(4px) !important;
}

.dark-theme .metismenu ul li a:hover {
    background: rgba(225, 29, 72, 0.16) !important;
    color: #fda4af !important;
}

.metismenu ul li a.font-weight-bold {
    color: #e11d48 !important;
    font-weight: 700 !important;
    background: rgba(225, 29, 72, 0.12) !important;
}

.dark-theme .metismenu ul li a.font-weight-bold {
    color: #fda4af !important;
    background: rgba(225, 29, 72, 0.22) !important;
}

.subnav-bullet-3d {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94a3b8;
    display: inline-block;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.metismenu ul li a:hover .subnav-bullet-3d {
    background: #e11d48;
    transform: scale(1.4);
    box-shadow: 0 0 6px rgba(225, 29, 72, 0.6);
}

.metismenu ul li a.font-weight-bold .subnav-bullet-3d {
    background: #e11d48;
    transform: scale(1.6);
    box-shadow: 0 0 8px rgba(225, 29, 72, 0.8);
}

/* 7. Theme Customizer Panel Spatial 3D (Gear Handle & Floating Drawer) */
.customizer {
    position: fixed;
    top: 120px;
    right: -320px;
    width: 320px;
    z-index: 1050;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.customizer.open {
    right: 0 !important;
}

.customizer .handle {
    position: absolute;
    left: -44px;
    top: 15px;
    width: 44px;
    height: 44px;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    cursor: pointer;
    box-shadow: -4px 6px 16px rgba(225, 29, 72, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: none;
    transition: all 0.25s ease;
}

.customizer .handle:hover {
    transform: translateX(-3px);
    box-shadow: -6px 8px 20px rgba(225, 29, 72, 0.45);
}

.customizer-body {
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(225, 29, 72, 0.15);
    border-right: none;
    box-shadow: -10px 15px 40px rgba(15, 23, 42, 0.15);
    padding: 1.25rem 1rem !important;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
}

.dark-theme .customizer-body {
    background: rgba(15, 23, 42, 0.96) !important;
    border: 1px solid rgba(225, 29, 72, 0.25);
    box-shadow: -12px 20px 45px rgba(0, 0, 0, 0.6);
}

.customizer .card {
    border-radius: 0.85rem !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    background: rgba(248, 250, 252, 0.7) !important;
    margin-bottom: 0.85rem !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}

.dark-theme .customizer .card {
    background: rgba(30, 41, 59, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.customizer .card-header {
    background: transparent !important;
    padding: 0.65rem 0.85rem !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    font-weight: 700;
    font-size: 0.88rem;
    color: #1e293b;
}

.dark-theme .customizer .card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #f1f5f9;
}

/* 8. Penyesuaian Mobile Responsif & Desktop Layout Guard */
@media (min-width: 1151px) {
    .layout-sidebar-vertical .sidebar-panel,
    .app-admin-wrap.sidebar-full .sidebar-panel {
        width: 300px !important;
        left: 0 !important;
    }

    .layout-sidebar-vertical .main-content-wrap,
    .app-admin-wrap.sidebar-full .main-content-wrap {
        width: calc(100% - 300px) !important;
        margin-left: 300px !important;
        float: right !important;
    }

    .switch-overlay,
    .sidebar-overlay {
        display: none !important;
    }
}

@media (max-width: 1150px) {
    .layout-sidebar-vertical .sidebar-panel,
    .app-admin-wrap.sidebar-full .sidebar-panel {
        width: 280px !important;
        left: -350px !important;
        box-shadow: none !important;
        transition: left 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s ease !important;
        z-index: 1000 !important;
    }

    .layout-sidebar-vertical .main-content-wrap,
    .app-admin-wrap.sidebar-full .main-content-wrap {
        width: 100% !important;
        margin-left: 0 !important;
        float: none !important;
    }

    .layout-sidebar-vertical .sidebar-panel.sidebar-switch-open,
    .app-admin-wrap.sidebar-full .sidebar-panel.sidebar-switch-open {
        left: 0 !important;
        box-shadow: 10px 0 35px rgba(0, 0, 0, 0.35) !important;
    }

    /* Switch overlay default WAJIB NONE di mobile/laptop, HANYA MUNCUL saat sidebar dibuka */
    .switch-overlay,
    .sidebar-overlay {
        display: none !important;
    }

    .layout-sidebar-vertical.sidebar-switch-open .switch-overlay,
    .app-admin-wrap.sidebar-switch-open .switch-overlay,
    .sidebar-panel.sidebar-switch-open ~ .switch-overlay {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(15, 23, 42, 0.45) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        z-index: 998 !important;
    }

    .sidebar-brand-wrapper {
        padding: 0.9rem 0.75rem 0.65rem;
    }

    .sidebar-brand-logo {
        width: 145px;
    }

    .sidebar-user-card {
        margin: 0.65rem 0.75rem 0.75rem;
        padding: 0.5rem 0.65rem;
    }

    .customizer {
        width: 280px !important;
        right: -300px !important;
    }

    .customizer.open {
        right: 0 !important;
    }
}

@media (max-width: 576px) {
    .layout-sidebar-vertical .sidebar-panel,
    .app-admin-wrap.sidebar-full .sidebar-panel {
        width: min(85vw, 275px) !important;
        left: -350px !important;
    }

    .layout-sidebar-vertical .sidebar-panel.sidebar-switch-open,
    .app-admin-wrap.sidebar-full .sidebar-panel.sidebar-switch-open {
        left: 0 !important;
    }
}

/* Tombol Tutup Sidebar Mobile (Spatial 3D Close Button) */
.btn-close-sidebar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(225, 29, 72, 0.08);
    border: 1px solid rgba(225, 29, 72, 0.16);
    color: #e11d48;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-close-sidebar:hover {
    background: #e11d48;
    color: #ffffff;
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

.dark-theme .btn-close-sidebar {
    background: rgba(225, 29, 72, 0.16);
    border-color: rgba(225, 29, 72, 0.3);
    color: #fda4af;
}

.dark-theme .btn-close-sidebar:hover {
    background: #e11d48;
    color: #ffffff;
}

/* ==========================================================================
   9. PLATINUM SPATIAL 3D FOOTER (DEVELOPER FDME & COPYRIGHT 2026)
   ========================================================================== */
.app-footer-spatial {
    background: #ffffff !important;
    border-top: 1px solid rgba(225, 29, 72, 0.12) !important;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.04) !important;
    padding: 0.85rem 1.5rem !important;
    border-radius: 14px 14px 0 0 !important;
    transition: all 0.3s ease;
    margin-top: 2rem !important;
    width: 100%;
    clear: both !important;
    position: relative !important;
    z-index: 5 !important;
}

.dark-theme .app-footer-spatial {
    background: #0f172a !important;
    border-top: 1px solid rgba(225, 29, 72, 0.24) !important;
    box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.45) !important;
}

.footer-spatial-inner {
    width: 100%;
}

.footer-brand-col {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    height: 22px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.08));
    transition: transform 0.25s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.dark-theme .footer-logo {
    filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(225, 29, 72, 0.4));
}

.footer-copyright {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
}

.dark-theme .footer-copyright {
    color: #94a3b8;
}

.footer-copyright strong {
    color: #0f172a;
    font-weight: 700;
}

.dark-theme .footer-copyright strong {
    color: #f1f5f9;
}

/* Developer Badge FDME */
.footer-dev-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(241, 245, 249, 0.7) 100%);
    border: 1px solid rgba(225, 29, 72, 0.16);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04), inset 0 1px 1px #ffffff;
    font-size: 0.78rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark-theme .footer-dev-badge {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    border-color: rgba(225, 29, 72, 0.28);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.footer-dev-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.18);
    border-color: rgba(225, 29, 72, 0.35);
}

.dev-status-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.7);
    display: inline-block;
    animation: statusPulseGlow 2s infinite ease-in-out;
}

@keyframes statusPulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.65; }
}

.dev-label {
    color: #64748b;
    font-weight: 500;
}

.dark-theme .dev-label {
    color: #94a3b8;
}

.dev-sep {
    color: #cbd5e1;
    font-size: 0.72rem;
}

.dark-theme .dev-sep {
    color: #475569;
}

.dev-author {
    color: #e11d48;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.dark-theme .dev-author {
    color: #fb7185;
}

.dev-chip,
.btn-dev-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: rgba(225, 29, 72, 0.1);
    color: #e11d48;
    font-size: 0.73rem;
    font-weight: 700;
    border: 1px solid rgba(225, 29, 72, 0.22);
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(225, 29, 72, 0.08);
}

.btn-dev-chip:hover {
    background: #e11d48;
    color: #ffffff;
    border-color: #e11d48;
    box-shadow: 0 3px 10px rgba(225, 29, 72, 0.38);
    transform: translateY(-1px);
}

.dark-theme .dev-chip,
.dark-theme .btn-dev-chip {
    background: rgba(225, 29, 72, 0.18);
    color: #fda4af;
    border-color: rgba(225, 29, 72, 0.35);
}

.dark-theme .btn-dev-chip:hover {
    background: #e11d48;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(225, 29, 72, 0.6);
}

/* ==========================================================================
   SPATIAL 3D MODAL RIWAYAT UPDATE & CHANGELOG (OBSIDIAN LUXE THEME)
   ========================================================================== */
.modal-spatial-changelog .modal-content {
    background: #0f172a !important;
    border: 1px solid rgba(225, 29, 72, 0.3) !important;
    border-radius: 18px !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8),
                0 0 35px rgba(225, 29, 72, 0.15) !important;
    color: #f1f5f9 !important;
    overflow: hidden;
}

.modal-spatial-changelog .modal-header,
.modal-spatial-changelog .modal-body,
.modal-spatial-changelog .modal-footer {
    background: #0f172a !important;
    color: #f1f5f9 !important;
}

.changelog-modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 1.15rem 1.5rem 1rem 1.5rem !important;
}

.changelog-icon-cube {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.25) 0%, rgba(245, 158, 11, 0.15) 100%);
    border: 1px solid rgba(225, 29, 72, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fb7185;
    font-size: 1.15rem;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 4px 12px rgba(225, 29, 72, 0.25);
}

.changelog-title {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px;
    color: #ffffff !important;
}

.changelog-sub {
    font-size: 0.78rem !important;
    color: #94a3b8 !important;
}

.changelog-close-btn {
    opacity: 0.75;
    filter: invert(1) grayscale(100%) brightness(200%);
    transition: opacity 0.2s ease, transform 0.2s ease;
    margin-right: -0.25rem;
}

.changelog-close-btn:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.changelog-modal-body {
    max-height: 68vh;
    overflow-y: auto;
    padding: 1.25rem 1.5rem 1.25rem 1.5rem !important;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

.changelog-modal-body::-webkit-scrollbar {
    width: 6px;
}

.changelog-modal-body::-webkit-scrollbar-thumb {
    background: rgba(225, 29, 72, 0.4);
    border-radius: 10px;
}

.changelog-hero-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
    border: 1px solid rgba(225, 29, 72, 0.35) !important;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.changelog-badge-active {
    display: inline-block;
    background: #e11d48;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.45);
}

.changelog-hero-name {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    line-height: 1.45;
    color: #ffffff !important;
}

.changelog-hero-date {
    font-size: 0.78rem !important;
    color: #94a3b8 !important;
}

.changelog-hero-version {
    font-size: 1.95rem !important;
    font-weight: 900 !important;
    color: #fbbf24 !important;
    letter-spacing: 0.5px;
    text-shadow: 0 0 18px rgba(251, 191, 36, 0.35);
    line-height: 1.1;
    display: inline-block;
}

/* Timeline */
.changelog-timeline {
    position: relative;
    padding-left: 1.75rem;
    border-left: 2px solid rgba(225, 29, 72, 0.25);
    margin-left: 0.5rem;
}

.changelog-timeline-item {
    position: relative;
    margin-bottom: 1.75rem;
}

.changelog-timeline-item:last-child {
    margin-bottom: 0.5rem;
}

.changelog-timeline-bullet {
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    left: -2.25rem;
    top: 5px;
    background: #e11d48;
    box-shadow: 0 0 10px rgba(225, 29, 72, 0.85);
    border: 2px solid #0f172a;
}

.changelog-timeline-bullet.feature {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.85);
}

.changelog-timeline-bullet.patch {
    background: #0ea5e9;
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.85);
}

.changelog-pill-version {
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    padding: 0.2rem 0.6rem !important;
    border-radius: 6px !important;
    background: rgba(14, 165, 233, 0.15) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(14, 165, 233, 0.35) !important;
    font-family: monospace;
}

.changelog-pill-version.major {
    background: rgba(225, 29, 72, 0.2) !important;
    color: #fda4af !important;
    border-color: rgba(225, 29, 72, 0.4) !important;
}

.changelog-pill-version.feature {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #6ee7b7 !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
}

.changelog-pill-version.patch {
    background: rgba(14, 165, 233, 0.15) !important;
    color: #38bdf8 !important;
    border-color: rgba(14, 165, 233, 0.35) !important;
}

.changelog-item-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
}

.changelog-item-date {
    font-size: 0.78rem !important;
    color: #64748b !important;
}

.changelog-card-body {
    background: rgba(30, 41, 59, 0.55) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px;
    padding: 0.95rem 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.changelog-changes-list {
    padding-left: 1.2rem !important;
    color: #cbd5e1 !important;
    font-size: 0.84rem !important;
    line-height: 1.7;
}

.changelog-changes-list li {
    margin-bottom: 0.45rem;
}

.changelog-changes-list li::marker {
    color: #e11d48;
}

.changelog-changes-list li:last-child {
    margin-bottom: 0;
}

.changelog-modal-footer {
    padding: 0.85rem 1.5rem 1.15rem 1.5rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.changelog-footer-note {
    color: #64748b !important;
    font-size: 0.78rem !important;
}

.changelog-btn-dismiss {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    border: 1px solid #334155 !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    padding: 0.45rem 1.75rem !important;
    transition: all 0.2s ease !important;
}

.changelog-btn-dismiss:hover {
    background: #e11d48 !important;
    border-color: #e11d48 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4) !important;
}

@media (max-width: 768px) {
    .app-footer-spatial {
        padding: 0.85rem 1rem !important;
        margin-top: 1.5rem !important;
    }

    .footer-brand-col {
        text-align: center;
        flex-direction: column;
        gap: 0.35rem;
    }

    .footer-copyright {
        font-size: 0.78rem;
        line-height: 1.4;
    }
}

/* ========== TRANSACTION MODERN STYLES (Minified from transaction-modern.css) ========== */
:root{--transaction-primary:#0d6efd;--transaction-primary-hover:#0b5ed7;--transaction-primary-light:#cfe2ff;--transaction-secondary:#6c757d;--transaction-secondary-hover:#5c636a;--transaction-secondary-light:#e9ecef;--transaction-success:#198754;--transaction-success-hover:#157347;--transaction-success-light:#d1e7dd;--transaction-warning:#ffc107;--transaction-warning-hover:#ffca2c;--transaction-warning-light:#fff3cd;--transaction-danger:#dc3545;--transaction-danger-hover:#bb2d3b;--transaction-danger-light:#f8d7da;--transaction-bg-primary:#f8f9fa;--transaction-bg-secondary:#fff;--transaction-bg-tertiary:#e9ecef;--transaction-card-bg:#fff;--transaction-card-border:#dee2e6;--transaction-card-shadow:rgba(0,0,0,.08);--transaction-text-primary:#212529;--transaction-text-secondary:#6c757d;--transaction-text-muted:#adb5bd;--transaction-border-color:#dee2e6;--transaction-border-radius:12px;--transaction-box-shadow:0 2px 8px var(--transaction-card-shadow);--transaction-box-shadow-hover:0 4px 16px var(--transaction-card-shadow);--transaction-spacing-xs:.25rem;--transaction-spacing-sm:.5rem;--transaction-spacing-md:.75rem;--transaction-spacing-lg:1rem;--transaction-transition:all .3s cubic-bezier(.4,0,.2,1)}
.dark-theme{--transaction-primary:#0d6efd;--transaction-primary-hover:#3d8bfd;--transaction-primary-light:#052c65;--transaction-secondary:#adb5bd;--transaction-secondary-hover:#ced4da;--transaction-secondary-light:#495057;--transaction-success:#25ab69;--transaction-success-hover:#4ebf7d;--transaction-success-light:#0a3622;--transaction-warning:#ffc107;--transaction-warning-hover:#ffcd39;--transaction-warning-light:#664d03;--transaction-danger:#dc3545;--transaction-danger-hover:#e4606d;--transaction-danger-light:#58151c;--transaction-bg-primary:#1a1d24;--transaction-bg-secondary:#252830;--transaction-bg-tertiary:#2d3139;--transaction-card-bg:#252830;--transaction-card-border:#3a3f4d;--transaction-card-shadow:rgba(0,0,0,.3);--transaction-text-primary:#e9ecef;--transaction-text-secondary:#adb5bd;--transaction-text-muted:#6c757d;--transaction-border-color:#3a3f4d}
.transaction-card{background-color:var(--transaction-card-bg);border:1px solid var(--transaction-card-border);border-radius:var(--transaction-border-radius);box-shadow:var(--transaction-box-shadow);transition:var(--transaction-transition);margin-bottom:var(--transaction-spacing-md);overflow:hidden}
.transaction-card:hover{box-shadow:var(--transaction-box-shadow-hover)}
.card-header-modern{background:linear-gradient(135deg,rgba(13,110,253,.05) 0%,rgba(13,110,253,.15) 100%);color:var(--transaction-text-primary);padding:.25rem .5rem;border-bottom:1px solid var(--transaction-border-color)}
.card-title-modern{margin:0;font-size:1rem;font-weight:600;display:flex;align-items:center;gap:.5rem}
.card-title-modern i{font-size:1.125rem;color:var(--transaction-primary)}
.card-body-modern{padding:.25rem .5rem;background-color:var(--transaction-card-bg)}
.card-footer-modern{background-color:var(--transaction-bg-tertiary);padding:.25rem .5rem;border-top:1px solid var(--transaction-border-color)}
.transaction-wizard{margin-bottom:var(--transaction-spacing-lg)}
.wizard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;position:relative;padding:0 .25rem}
.wizard-header::before{content:'';position:absolute;top:24px;left:10%;right:10%;height:3px;background-color:var(--transaction-border-color);z-index:0}
.wizard-step{display:flex;flex-direction:column;align-items:center;gap:var(--transaction-spacing-xs);position:relative;z-index:1;flex:1;cursor:pointer;transition:var(--transaction-transition)}
.wizard-step:hover{transform:translateY(-2px)}
.step-number{width:48px;height:48px;border-radius:50%;background-color:var(--transaction-card-bg);border:3px solid var(--transaction-border-color);display:flex;align-items:center;justify-content:center;font-size:1.25rem;font-weight:700;color:var(--transaction-text-secondary);transition:var(--transaction-transition)}
.step-title{font-size:.875rem;font-weight:600;color:var(--transaction-text-secondary);text-align:center;transition:var(--transaction-transition)}
.wizard-step.active .step-number{background:linear-gradient(135deg,rgba(13,110,253,.9) 0%,rgba(11,94,215,.8) 100%);border-color:var(--transaction-primary);color:#fff;box-shadow:0 2px 8px var(--transaction-primary-light)}
.wizard-step.active .step-title{color:var(--transaction-primary)}
.wizard-step.completed .step-number{background-color:var(--transaction-success);border-color:var(--transaction-success);color:#fff}
.wizard-step.completed .step-number::after{content:'✓';font-size:1.5rem}
.wizard-step.completed .step-title{color:var(--transaction-success)}
.wizard-step.disabled{pointer-events:none;opacity:.5}
.wizard-content{background-color:var(--transaction-card-bg);border:1px solid var(--transaction-card-border);border-radius:var(--transaction-border-radius);padding:var(--transaction-spacing-sm);box-shadow:var(--transaction-box-shadow)}
.wizard-step-content{display:none}
.wizard-step-content.active{display:block;animation:fadeInTx .3s ease-in-out}
@keyframes fadeInTx{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.form-group-modern{margin-bottom:.25rem}
.form-label-modern{font-weight:600;color:var(--transaction-text-primary);margin-bottom:.125rem;display:flex;align-items:center;gap:.25rem;font-size:.875rem}
.form-label-modern .required{color:var(--transaction-danger)}
.form-control-modern{border:1px solid var(--transaction-border-color);border-radius:4px;padding:.25rem .5rem;font-size:.875rem;transition:var(--transaction-transition);background-color:var(--transaction-card-bg);color:var(--transaction-text-primary);height:calc(1.5em + .5rem + 2px)}
.form-control-modern:focus{border-color:var(--transaction-primary);box-shadow:0 0 0 .25rem var(--transaction-primary-light);outline:none}
.form-control-modern:disabled,.form-control-modern[readonly]{background-color:var(--transaction-bg-tertiary);opacity:.7}
.btn-modern{padding:.375rem .75rem;border-radius:4px;font-weight:600;font-size:.875rem;display:inline-flex;align-items:center;gap:.5rem;transition:var(--transaction-transition);border:none;cursor:pointer}
.btn-modern:hover{transform:translateY(-1px);box-shadow:var(--transaction-box-shadow)}
.btn-modern:active{transform:translateY(0)}
.btn-modern-primary{background:linear-gradient(135deg,rgba(13,110,253,.9) 0%,rgba(11,94,215,.85) 100%);color:#fff}
.btn-modern-primary:hover{background:linear-gradient(135deg,rgba(11,94,215,.95) 0%,rgba(13,110,253,.9) 100%)}
.btn-modern-success{background:linear-gradient(135deg,rgba(25,135,84,.9) 0%,rgba(21,115,71,.85) 100%);color:#fff}
.btn-modern-danger{background:linear-gradient(135deg,rgba(220,53,69,.9) 0%,rgba(187,45,59,.85) 100%);color:#fff}
.btn-modern-secondary{background-color:var(--transaction-secondary);color:#fff}
.btn-modern-outline{background-color:transparent;border:2px solid var(--transaction-primary);color:var(--transaction-primary)}
.btn-modern-outline:hover{background-color:var(--transaction-primary);color:#fff}
.btn-icon{width:40px;height:40px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%}
.table-modern{width:100%;border-collapse:separate;border-spacing:0;background-color:var(--transaction-card-bg);border-radius:var(--transaction-border-radius);overflow:hidden;box-shadow:var(--transaction-box-shadow)}
.table-modern thead{background:linear-gradient(135deg,#2c3e50 0%,#34495e 100%)!important;color:#fff!important;border-bottom:2px solid var(--transaction-primary);box-shadow:0 2px 4px rgba(0,0,0,.1)}
.table-modern thead th{padding:.6rem .4rem!important;font-weight:700!important;text-align:center!important;font-size:.75rem!important;text-transform:uppercase;letter-spacing:.3px;white-space:nowrap;line-height:1.2;vertical-align:middle;border:1px solid #d0d4db!important}
.table-modern tbody tr{transition:var(--transaction-transition)}
.table-modern tbody tr:hover{background-color:var(--transaction-bg-tertiary)}
.table-modern tbody td{padding:.25rem .5rem;border-bottom:1px solid var(--transaction-border-color);color:var(--transaction-text-primary);font-size:.875rem}
.table-modern tbody tr:last-child td{border-bottom:none}
.table-modern tfoot{background-color:var(--transaction-bg-tertiary);font-weight:700}
.table-modern tfoot td{padding:.375rem .5rem;border-top:2px solid var(--transaction-border-color)}
.table-responsive-modern{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:var(--transaction-border-radius)}
.modal-modern .modal-content{border:none;border-radius:var(--transaction-border-radius);box-shadow:0 10px 40px rgba(0,0,0,.2);background-color:var(--transaction-card-bg)}
.modal-modern .modal-header{background:linear-gradient(135deg,rgba(13,110,253,.08) 0%,rgba(11,94,215,.12) 100%);color:var(--transaction-text-primary);border-bottom:1px solid var(--transaction-border-color);padding:.375rem .5rem;border-radius:var(--transaction-border-radius) var(--transaction-border-radius) 0 0}
.modal-modern .modal-title{font-weight:600;font-size:1rem;color:var(--transaction-primary)}
.modal-modern .modal-body{padding:.5rem}
.modal-modern .modal-footer{background-color:var(--transaction-bg-tertiary);border-top:1px solid var(--transaction-border-color);padding:.375rem .5rem;border-radius:0 0 var(--transaction-border-radius) var(--transaction-border-radius)}
.badge-modern{padding:.25rem .625rem;border-radius:12px;font-weight:600;font-size:.75rem;display:inline-flex;align-items:center;gap:.375rem}
.badge-success-modern{background-color:var(--transaction-success-light);color:var(--transaction-success)}
.badge-warning-modern{background-color:var(--transaction-warning-light);color:var(--transaction-warning)}
.badge-danger-modern{background-color:var(--transaction-danger-light);color:var(--transaction-danger)}
.alert-modern{border:none;border-radius:var(--transaction-border-radius);padding:var(--transaction-spacing-sm);margin-bottom:var(--transaction-spacing-sm);display:flex;align-items:center;gap:.5rem}
.alert-success-modern{background-color:var(--transaction-success-light);color:var(--transaction-success)}
.alert-warning-modern{background-color:var(--transaction-warning-light);color:var(--transaction-warning)}
.alert-danger-modern{background-color:var(--transaction-danger-light);color:var(--transaction-danger)}
.alert-info-modern{background-color:var(--transaction-primary-light);color:var(--transaction-primary)}
.transaction-summary{background:linear-gradient(135deg,rgba(248,249,250,.5) 0%,rgba(255,255,255,.8) 100%);border:1px solid var(--transaction-border-color);border-radius:var(--transaction-border-radius);padding:.5rem;margin-top:.5rem}
.summary-row{display:flex;justify-content:space-between;align-items:center;padding:.25rem 0;border-bottom:1px solid var(--transaction-border-color);font-size:.875rem}
.summary-row:last-child{border-bottom:none;padding-top:.25rem;margin-top:.25rem;border-top:2px solid var(--transaction-primary);font-weight:600}
.summary-label{font-weight:600;color:var(--transaction-text-secondary);font-size:1rem}
.summary-value{font-weight:700;color:var(--transaction-text-primary);font-size:1.125rem}
.summary-total .summary-label,.summary-total .summary-value{font-size:1.5rem;color:var(--transaction-primary)}
.text-bank-primary{color:var(--transaction-primary)!important}
.text-bank-success{color:var(--transaction-success)!important}
.text-bank-warning{color:var(--transaction-warning)!important}
.text-bank-danger{color:var(--transaction-danger)!important}
.bg-bank-light{background-color:var(--transaction-bg-tertiary)!important}
.border-bank{border:1px solid var(--transaction-border-color)!important}
.rounded-bank{border-radius:var(--transaction-border-radius)!important}
.loading-spinner{width:60px;height:60px;border:6px solid var(--transaction-border-color);border-top-color:var(--transaction-primary);border-radius:50%;animation:spinTx 1s linear infinite}
@keyframes spinTx{to{transform:rotate(360deg)}}
.pulse-animation{animation:pulseTx 2s ease-in-out infinite}
@keyframes pulseTx{0%,100%{opacity:1}50%{opacity:.7}}
@media(max-width:992px){.wizard-header{flex-wrap:wrap}.wizard-step{flex:1 1 50%;margin-bottom:var(--transaction-spacing-md)}.wizard-header::before{display:none}}
@media(max-width:768px){.wizard-step{flex:1 1 100%}.card-header-modern,.card-body-modern{padding:var(--transaction-spacing-sm)}.table-modern thead th,.table-modern tbody td{padding:.5rem;font-size:.875rem}.btn-modern{padding:.5rem 1rem;font-size:.875rem}}
@media(max-width:576px){:root{--transaction-border-radius:8px;--transaction-spacing-md:1rem;--transaction-spacing-lg:1.5rem}.transaction-summary{padding:var(--transaction-spacing-sm)}.summary-label,.summary-value{font-size:.875rem}}
@media print{.transaction-card{box-shadow:none;page-break-inside:avoid}.btn-modern,.wizard-header{display:none}.table-modern{box-shadow:none}}
.dark-theme .metismenu>li>a:hover{background:rgba(139,92,246,.15)}
.dark-theme .metismenu>li.mm-active>a,.dark-theme .metismenu>li>a.font-weight-bold{background:linear-gradient(135deg,rgba(139,92,246,.2) 0%,rgba(99,102,241,.2) 100%);color:#a78bfa!important;border-left-color:#a78bfa}
.dark-theme .metismenu ul{background:rgba(255,255,255,.02)}.dark-theme .metismenu ul li a:hover{background:rgba(139,92,246,.15)}.dark-theme .ps__thumb-y{background:rgba(139,92,246,.3)!important}
@keyframes skeletonLoading{0%{background-position:-200px 0}100%{background-position:calc(200px + 100%) 0}}
.menu-loading .metismenu>li>a{background:linear-gradient(90deg,rgba(0,0,0,.05) 0%,rgba(0,0,0,.08) 50%,rgba(0,0,0,.05) 100%);background-size:200px 100%;animation:skeletonLoading 1.5s ease-in-out infinite}
.metismenu a:focus{outline:2px solid #6366f1;outline-offset:2px;box-shadow:0 0 0 4px rgba(99,102,241,.1)}
.Ul_li--hover{cursor:pointer}.Ul_li--hover:hover{background:rgba(99,102,241,.03);border-radius:.5rem;margin:0 .5rem}
*{-webkit-tap-highlight-color:transparent}
[data-tooltip]{position:relative}[data-tooltip]:hover::after{content:attr(data-tooltip);position:absolute;left:calc(100% + 8px);top:50%;transform:translateY(-50%);background:#1e293b;color:#fff;padding:.5rem .75rem;border-radius:.375rem;font-size:.875rem;white-space:nowrap;z-index:1000;box-shadow:0 4px 12px rgba(0,0,0,.15);animation:tooltipFadeIn .2s ease}
@keyframes tooltipFadeIn{from{opacity:0;transform:translateY(-50%) translateX(-8px)}to{opacity:1;transform:translateY(-50%) translateX(0)}}
.sidebar-panel,.metismenu,.metismenu>li,.metismenu a{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.metismenu>li>a,.metismenu ul li a{transform:translateZ(0);backface-visibility:hidden;perspective:1000px}
.main-header .header-part-right{display:flex;align-items:center;gap:.65rem;padding-right:.5rem}
.main-header .header-part-right .header-icon{
    font-size: 14.5px !important;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.9) 100%);
    border: 1px solid rgba(225, 29, 72, 0.12);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.9);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    color: #475569;
}
.main-header .header-part-right .fa-expand{
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    color: #475569;
}
.main-header .header-part-right .fa-expand:hover{
    background: linear-gradient(145deg, #ffffff 0%, rgba(254, 242, 242, 0.95) 100%);
    color: #e11d48;
    border-color: rgba(225, 29, 72, 0.3);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 14px rgba(225, 29, 72, 0.15), inset 0 1px 1px #ffffff;
}
.main-header .header-part-right .fa-circle-info{
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    color: #475569;
}
.main-header .header-part-right .fa-circle-info:hover{
    background: linear-gradient(145deg, #ffffff 0%, rgba(254, 242, 242, 0.95) 100%);
    color: #e11d48;
    border-color: rgba(225, 29, 72, 0.3);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 14px rgba(225, 29, 72, 0.15), inset 0 1px 1px #ffffff;
}
.main-header .header-part-right .user{margin:0!important;display:flex;align-items:center}
.main-header .header-part-right .user img{
    width: 36px !important;
    height: 36px !important;
    border-radius: 50%;
    cursor: pointer;
    background: #ffffff;
    padding: 1.5px;
    border: 2px solid rgba(225, 29, 72, 0.25);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.main-header .header-part-right .user img:hover{
    border-color: #e11d48;
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.25);
}
.main-header .header-part-right .dropdown{margin-right:0}

/* ===================================
   RESPONSIVE DASHBOARD & SPATIAL 3D CHART CARDS (LIGHT & DARK DUAL THEME)
   Consolidated from _responsive-dashboard.scss & spatial-3d-craftsman
   =================================== */
.chart-container {
    position: relative;
    min-height: 320px;
    width: 100%;
    background: #ffffff;
    border-radius: 16px !important;
    border: 1px solid rgba(225, 29, 72, 0.12) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04), 0 2px 6px rgba(15, 23, 42, 0.02) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.chart-container:hover {
    transform: translateY(-3px);
    border-color: rgba(225, 29, 72, 0.24) !important;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(225, 29, 72, 0.06) !important;
}

/* Dark Theme Spatial 3D Chart Container */
.dark-theme .chart-container {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%) !important;
    border: 1px solid rgba(225, 29, 72, 0.22) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.dark-theme .chart-container:hover {
    border-color: rgba(225, 29, 72, 0.45) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 20px rgba(225, 29, 72, 0.15) !important;
}

/* Responsive Horizontal Scroll Container for Mobile Screens */
.chart-scroll-wrapper {
    width: 100%;
    position: relative;
}

@media (max-width: 767.98px) {
    .chart-scroll-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-x pan-y !important;
        padding-bottom: 0.5rem;
    }

    /* Minimal width so 12 months columns stay readable & finger-friendly */
    .chart-scroll-wrapper .responsive-chart {
        min-width: 540px !important;
    }

    .chart-container {
        min-height: 280px;
        border-radius: 14px !important;
    }
}

.responsive-chart {
    width: 100%;
    min-height: 300px;
}

@media (max-width: 576px) {
    .responsive-chart {
        min-height: 280px;
    }
}

/* Modern Spatial Breadcrumb & Chart Headers */
.responsive-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: #ffffff;
    border-radius: 14px !important;
    border: 1px solid rgba(225, 29, 72, 0.08) !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03) !important;
    padding: 0.75rem 1rem !important;
}

.dark-theme .responsive-breadcrumb {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    border: 1px solid rgba(225, 29, 72, 0.18) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4) !important;
}

.responsive-breadcrumb h1,
.responsive-breadcrumb h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    margin: 0;
}

.dark-theme .responsive-breadcrumb h1,
.dark-theme .responsive-breadcrumb h5 {
    color: #f1f5f9;
}

/* Spatial Reload Button with Micro-bounce & Glowing Ring */
.responsive-breadcrumb .btnReloadGraphDataItem,
.responsive-breadcrumb .btn-outline-primary {
    border-radius: 9999px !important;
    padding: 0.35rem 0.85rem !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    border: 1px solid rgba(225, 29, 72, 0.28) !important;
    color: #e11d48 !important;
    background: rgba(225, 29, 72, 0.04) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.responsive-breadcrumb .btnReloadGraphDataItem:hover,
.responsive-breadcrumb .btn-outline-primary:hover {
    background: #e11d48 !important;
    color: #ffffff !important;
    border-color: #e11d48 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35) !important;
}

.dark-theme .responsive-breadcrumb .btnReloadGraphDataItem,
.dark-theme .responsive-breadcrumb .btn-outline-primary {
    border-color: rgba(225, 29, 72, 0.4) !important;
    color: #fb7185 !important;
    background: rgba(225, 29, 72, 0.12) !important;
}

.dark-theme .responsive-breadcrumb .btnReloadGraphDataItem:hover,
.dark-theme .responsive-breadcrumb .btn-outline-primary:hover {
    background: #e11d48 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(225, 29, 72, 0.5) !important;
}

/* ApexCharts Spatial Tooltip Customization (Light & Dark) */
.apexcharts-theme-dark {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(225, 29, 72, 0.3) !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

.apexcharts-theme-dark .apexcharts-tooltip-title {
    background: rgba(30, 41, 59, 0.9) !important;
    border-bottom: 1px solid rgba(225, 29, 72, 0.2) !important;
    font-weight: 700 !important;
    color: #f1f5f9 !important;
}

.apexcharts-theme-light {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(225, 29, 72, 0.18) !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1) !important;
}

.apexcharts-legend-text {
    font-family: inherit !important;
    font-weight: 600 !important;
}

.dark-theme .apexcharts-legend-text {
    color: #cbd5e1 !important;
}

.dark-theme .apexcharts-text tspan {
    fill: #94a3b8 !important;
}

.dark-theme .apexcharts-gridline {
    stroke: rgba(255, 255, 255, 0.06) !important;
}
.card{border:none;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.1);transition:all .3s cubic-bezier(.4,0,.2,1)}
.card:hover{box-shadow:0 4px 16px rgba(0,0,0,.15);transform:translateY(-2px)}
.card .card-body{padding:1.5rem}
@media(max-width:576px){.card .card-body{padding:1rem}}
.table-responsive{border-radius:8px;overflow-x:auto;-webkit-overflow-scrolling:touch}
.table-responsive table{min-width:600px}
#clock_hou .jcgmt-container{color:#495057}
#clock_hou .jcgmt-container .jcgmt-lbl{color:#6c757d}
#clock_hou .jcgmt-container .jcgmt-digital{color:#343a40!important;font-weight:600}
#clock_hou .jcgmt-container .jcgmt-date{color:#6c757d}
.dark-theme .table{color:#e0e0e0;background-color:transparent!important}
.dark-theme .table thead th{background-color:rgba(255,255,255,.08)!important;color:#fff;font-weight:600;border-bottom:2px solid rgba(255,255,255,.15);padding:12px 8px}
.dark-theme .table tbody tr{background-color:rgba(255,255,255,.02)!important;border-bottom:1px solid rgba(255,255,255,.08);transition:background-color .2s ease}
.dark-theme .table tbody tr:hover{background-color:rgba(255,255,255,.06)!important}
.dark-theme .table tbody tr td{color:#d0d0d0;padding:10px 8px;border-color:rgba(255,255,255,.08);background-color:transparent!important}
.dark-theme .table.table-striped tbody tr:nth-of-type(odd){background-color:rgba(255,255,255,.04)!important}
.dark-theme .table.table-striped tbody tr:nth-of-type(even){background-color:rgba(255,255,255,.02)!important}
.dark-theme .table.table-bordered{border:1px solid rgba(255,255,255,.15)}
.dark-theme .table.table-bordered th,.dark-theme .table.table-bordered td{border:1px solid rgba(255,255,255,.1)}
.dark-theme .table.table-hover tbody tr:hover{background-color:rgba(255,255,255,.08)!important;color:#fff}
.dark-theme .table-responsive{background-color:transparent!important}
.dark-theme table,.dark-theme table thead,.dark-theme table tbody,.dark-theme table tfoot{background-color:transparent!important}
.dark-theme .dataTables_wrapper{color:#e0e0e0;background-color:transparent!important}
.dark-theme .dataTables_wrapper .dataTables_length,.dark-theme .dataTables_wrapper .dataTables_filter,.dark-theme .dataTables_wrapper .dataTables_info,.dark-theme .dataTables_wrapper .dataTables_paginate{color:#d0d0d0}
.dark-theme .dataTables_wrapper .dataTables_length select,.dark-theme .dataTables_wrapper .dataTables_filter input{background-color:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.1);color:#e0e0e0;padding:6px 12px;border-radius:4px}
.dark-theme .dataTables_wrapper .dataTables_length select:focus,.dark-theme .dataTables_wrapper .dataTables_filter input:focus{background-color:rgba(255,255,255,.08)!important;border-color:rgba(220,20,60,.5);outline:none}
.dark-theme .dataTables_wrapper .paginate_button{color:#d0d0d0!important;background-color:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.1)}
.dark-theme .dataTables_wrapper .paginate_button:hover{background-color:rgba(255,255,255,.1)!important;color:#fff!important;border-color:rgba(255,255,255,.2)}
.dark-theme .dataTables_wrapper .paginate_button.current{background-color:rgba(220,20,60,.3)!important;color:#fff!important;border-color:rgba(220,20,60,.5)}
.dark-theme .dataTables_wrapper .paginate_button.disabled{opacity:.3;cursor:not-allowed}
.dataTables_wrapper .dataTables_scroll{overflow-x:auto!important}.dataTables_scrollHead{overflow:hidden!important}.dataTables_scrollBody{overflow-x:auto!important;overflow-y:auto!important}.modal-body .dataTables_wrapper{overflow-x:auto}.modal-body .dataTables_scrollHeadInner{width:100%!important}.modal-body .dataTables_scrollHeadInner table{width:100%!important}.modal-body table.dataTable{width:100%!important;margin:0!important;table-layout:auto!important}.modal-body table.dataTable thead th,.modal-body table.dataTable tbody td{white-space:nowrap!important}.modal-body table.dataTable tfoot th{text-align:center!important}.modal-body table.dataTable tfoot th.text-end,.modal-body table.dataTable tfoot th.text-right{text-align:right!important}

/* Fix modal table alignment - disable DataTables internal scroll, let modal-body handle it */
.modal-body .dataTables_wrapper {
    overflow: visible !important;
}

.modal-body .dataTables_wrapper .dataTables_scroll {
    overflow: visible !important;
}

.modal-body .dataTables_wrapper .dataTables_scrollHead,
.modal-body .dataTables_wrapper .dataTables_scrollBody {
    overflow: visible !important;
}

/* Remove DataTables scroll containers in modal - use single table */
.modal-body .dataTables_scrollHeadInner,
.modal-body .dataTables_scrollBodyInner {
    width: 100% !important;
}

/* Ensure table takes full width without internal scrolling */
.modal-body table.dataTable {
    width: 100% !important;
    table-layout: auto !important;
    margin: 0 !important;
}

/* Let .table-responsive (modal-body wrapper) handle the scroll */
.modal-body .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}

.dark-theme .dataTables_wrapper .dataTables_scroll,.dark-theme .dataTables_wrapper .dataTables_scrollHead,.dark-theme .dataTables_wrapper .dataTables_scrollBody,.dark-theme .dataTables_wrapper .dataTables_scrollFoot{background-color:transparent!important}
.dark-theme .dataTables_wrapper .dataTables_scrollHead table,.dark-theme .dataTables_wrapper .dataTables_scrollBody table{background-color:transparent!important}
.dark-theme .card{background-color:rgba(255,255,255,.03)!important;border:1px solid rgba(255,255,255,.08)}
.dark-theme .card .card-header{background-color:rgba(255,255,255,.05)!important;border-bottom:1px solid rgba(255,255,255,.1);color:#fff}
.dark-theme .card .card-body{background-color:transparent!important}
.dark-theme .card .card-title{color:#fff}
.dark-theme .card .table-responsive,.dark-theme .card-body .table-responsive{background-color:transparent!important}
.dark-theme .table tbody tr td:not(:first-child):not(:last-child){font-family:Consolas,Monaco,'Courier New',monospace;font-size:.95em}
.dark-theme .dataTables_wrapper .dataTables_scrollHead{background-color:rgba(255,255,255,.05)!important}
.dark-theme .dataTables_wrapper .dataTables_scrollHead table{background-color:transparent!important}
.dark-theme .dataTables_wrapper .dataTables_scrollHead thead tr,.dark-theme .dataTables_wrapper .dataTables_scrollHead thead th{background-color:rgba(255,255,255,.08)!important}
.dark-theme div.dataTables_wrapper div.dataTables_processing{background-color:rgba(20,20,30,.95)!important;color:#fff!important;border:1px solid rgba(255,255,255,.1)!important}
.dark-theme table.dataTable tbody tr{background-color:rgba(255,255,255,.02)!important}
.dark-theme table.dataTable tbody tr.odd{background-color:rgba(255,255,255,.04)!important}
.dark-theme table.dataTable tbody tr.odd:hover{background-color:rgba(255,255,255,.08)!important}
.dark-theme table.dataTable tbody tr.even{background-color:rgba(255,255,255,.02)!important}
.dark-theme table.dataTable tbody tr.even:hover{background-color:rgba(255,255,255,.08)!important}
.dark-theme table.dataTable tbody tr.selected{background-color:rgba(220,20,60,.2)!important}
.dark-theme table.dataTable tbody td{background-color:transparent!important}
.dark-theme table.dataTable tfoot{background-color:rgba(255,255,255,.05)!important}
.dark-theme table.dataTable tfoot tr{background-color:rgba(255,255,255,.05)!important;border-top:2px solid rgba(255,255,255,.15)}
.dark-theme table.dataTable tfoot tr th,.dark-theme table.dataTable tfoot tr td{background-color:rgba(255,255,255,.08)!important;color:#fff!important;font-weight:600;border-color:rgba(255,255,255,.1)}
.dark-theme table.dataTable tfoot .tableFooterSum{background-color:rgba(255,255,255,.08)!important;color:#fff!important;font-weight:700}
.dark-theme table.dataTable tfoot .DTAutoNumRp{color:#fff!important}
.dark-theme .dataTables_scrollFoot{background-color:transparent!important}
.dark-theme .dataTables_scrollFoot table{background-color:transparent!important}
.dark-theme .dataTables_scrollFoot tfoot{background-color:rgba(255,255,255,.05)!important}
.dark-theme .dataTables_scrollFoot tfoot tr,.dark-theme .dataTables_scrollFoot tfoot th,.dark-theme .dataTables_scrollFoot tfoot td{background-color:rgba(255,255,255,.08)!important;color:#fff!important}
.dark-theme table.dataTable thead .sorting,.dark-theme table.dataTable thead .sorting_asc,.dark-theme table.dataTable thead .sorting_desc{background-color:rgba(255,255,255,.08)!important;color:#fff!important}
.dark-theme table.dataTable thead .sorting:hover,.dark-theme table.dataTable thead .sorting_asc:hover,.dark-theme table.dataTable thead .sorting_desc:hover{background-color:rgba(255,255,255,.12)!important}
.dark-theme .sidebar-left,.dark-theme .sidebar-left-secondary{background-color:rgba(20,20,30,.95);border-right:1px solid rgba(255,255,255,.08)}
.dark-theme .sidebar-left .navigation-left,.dark-theme .sidebar-left .childNav,.dark-theme .sidebar-left-secondary .navigation-left,.dark-theme .sidebar-left-secondary .childNav{background-color:transparent}
.dark-theme .sidebar-left .navigation-left li.nav-item,.dark-theme .sidebar-left .childNav li.nav-item,.dark-theme .sidebar-left-secondary .navigation-left li.nav-item,.dark-theme .sidebar-left-secondary .childNav li.nav-item{border-bottom:1px solid rgba(255,255,255,.05)}
.dark-theme .sidebar-left .navigation-left li.nav-item:hover,.dark-theme .sidebar-left .childNav li.nav-item:hover,.dark-theme .sidebar-left-secondary .navigation-left li.nav-item:hover,.dark-theme .sidebar-left-secondary .childNav li.nav-item:hover{background-color:rgba(255,255,255,.05)}
.dark-theme .sidebar-left .navigation-left li.nav-item.active,.dark-theme .sidebar-left .childNav li.nav-item.active,.dark-theme .sidebar-left-secondary .navigation-left li.nav-item.active,.dark-theme .sidebar-left-secondary .childNav li.nav-item.active{background-color:rgba(220,20,60,.15);border-left:3px solid rgba(220,20,60,.8)}
.dark-theme .sidebar-left .navigation-left li.nav-item.active .nav-item-hold,.dark-theme .sidebar-left .childNav li.nav-item.active .nav-item-hold,.dark-theme .sidebar-left-secondary .navigation-left li.nav-item.active .nav-item-hold,.dark-theme .sidebar-left-secondary .childNav li.nav-item.active .nav-item-hold{color:#fff}
.dark-theme .sidebar-left .navigation-left li.nav-item.active .nav-icon,.dark-theme .sidebar-left .childNav li.nav-item.active .nav-icon,.dark-theme .sidebar-left-secondary .navigation-left li.nav-item.active .nav-icon,.dark-theme .sidebar-left-secondary .childNav li.nav-item.active .nav-icon{color:rgba(220,20,60,.9)}
.dark-theme .sidebar-left .navigation-left li.nav-item a.nav-item-hold,.dark-theme .sidebar-left .childNav li.nav-item a.nav-item-hold,.dark-theme .sidebar-left-secondary .navigation-left li.nav-item a.nav-item-hold,.dark-theme .sidebar-left-secondary .childNav li.nav-item a.nav-item-hold{color:rgba(255,255,255,.75);transition:all .3s ease}
.dark-theme .sidebar-left .navigation-left li.nav-item a.nav-item-hold:hover,.dark-theme .sidebar-left .childNav li.nav-item a.nav-item-hold:hover,.dark-theme .sidebar-left-secondary .navigation-left li.nav-item a.nav-item-hold:hover,.dark-theme .sidebar-left-secondary .childNav li.nav-item a.nav-item-hold:hover{color:#fff;background-color:rgba(255,255,255,.05)}
.dark-theme .sidebar-left .navigation-left li.nav-item a.nav-item-hold .nav-icon,.dark-theme .sidebar-left .childNav li.nav-item a.nav-item-hold .nav-icon,.dark-theme .sidebar-left-secondary .navigation-left li.nav-item a.nav-item-hold .nav-icon,.dark-theme .sidebar-left-secondary .childNav li.nav-item a.nav-item-hold .nav-icon{color:rgba(255,255,255,.6);transition:color .3s ease}
.dark-theme .sidebar-left .navigation-left li.nav-item a.nav-item-hold .nav-text,.dark-theme .sidebar-left .childNav li.nav-item a.nav-item-hold .nav-text,.dark-theme .sidebar-left-secondary .navigation-left li.nav-item a.nav-item-hold .nav-text,.dark-theme .sidebar-left-secondary .childNav li.nav-item a.nav-item-hold .nav-text{color:rgba(255,255,255,.75)}
.dark-theme .sidebar-left .navigation-left li.nav-item a.nav-item-hold:hover .nav-icon,.dark-theme .sidebar-left .childNav li.nav-item a.nav-item-hold:hover .nav-icon,.dark-theme .sidebar-left-secondary .navigation-left li.nav-item a.nav-item-hold:hover .nav-icon,.dark-theme .sidebar-left-secondary .childNav li.nav-item a.nav-item-hold:hover .nav-icon{color:rgba(220,20,60,.8)}
.dark-theme .sidebar-left-secondary{background-color:rgba(15,15,25,.98)}
.dark-theme .sidebar-left-secondary header{background-color:rgba(255,255,255,.05);border-bottom:1px solid rgba(255,255,255,.1)}
.dark-theme .sidebar-left-secondary header .logo{color:#fff}
.dark-theme .sidebar-left-secondary .childNav li a{color:rgba(255,255,255,.7);border-left:2px solid transparent;transition:all .3s ease}
.dark-theme .sidebar-left-secondary .childNav li a:hover{color:#fff;background-color:rgba(255,255,255,.05);border-left-color:rgba(220,20,60,.5)}
.dark-theme .sidebar-left-secondary .childNav li a.open,.dark-theme .sidebar-left-secondary .childNav li a.active{color:#fff;background-color:rgba(220,20,60,.1);border-left-color:rgba(220,20,60,.9);font-weight:600}
.dark-theme .main-header{background-color:rgba(20,20,30,.95);border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 2px 8px rgba(0,0,0,.3)}
.dark-theme .main-header .menu-toggle{color:rgba(255,255,255,.8)}
.dark-theme .main-header .menu-toggle:hover{color:#fff}
.dark-theme .main-header .search-bar input{background-color:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);color:#fff}
.dark-theme .main-header .search-bar input::placeholder{color:rgba(255,255,255,.4)}
.dark-theme .main-header .search-bar input:focus{background-color:rgba(255,255,255,.08);border-color:rgba(220,20,60,.5)}
.dark-theme .main-header .header-icon,.dark-theme .main-header .header-part-right .user a{color:rgba(255,255,255,.8)}
.dark-theme .main-header .header-icon:hover,.dark-theme .main-header .header-part-right .user a:hover{color:#fff;background-color:rgba(255,255,255,.05)}
.dark-theme .main-header .badge-top-container .badge{background-color:rgba(220,20,60,.9);color:#fff}
.dark-theme .main-header .dropdown-menu{background-color:rgba(30,30,40,.98);border:1px solid rgba(255,255,255,.1)}
.dark-theme .main-header .dropdown-menu .dropdown-item{color:rgba(255,255,255,.8)}
.dark-theme .main-header .dropdown-menu .dropdown-item:hover{background-color:rgba(255,255,255,.05);color:#fff}
.dark-theme .main-header .dropdown-menu .dropdown-divider{border-color:rgba(255,255,255,.1)}
.dark-theme .main-header #clock_hou .jcgmt-container{color:#adb5bd}
.dark-theme .main-header #clock_hou .jcgmt-container .jcgmt-lbl{color:#9ca3af}
.dark-theme .main-header #clock_hou .jcgmt-container .jcgmt-digital{color:#cbd5e1!important;font-weight:600}
.dark-theme .main-header #clock_hou .jcgmt-container .jcgmt-date{color:#9ca3af}
.dark-theme .main-header .fa-clock,.dark-theme .main-header svg.fa-clock{color:rgba(255,255,255,.8)!important}
.dark-theme .main-header .row.mr-5 .col{color:rgba(255,255,255,.8)}
.dark-theme .main-header .row.mr-5 .col svg,.dark-theme .main-header .row.mr-5 .col i{color:rgba(255,255,255,.8)}
.dark-theme .main-content-wrap{background-color:rgba(15,15,25,.5)}
.dark-theme .ps__rail-y,.dark-theme .ps__rail-x{background-color:rgba(255,255,255,.05)!important}
.dark-theme .ps__rail-y .ps__thumb-y,.dark-theme .ps__rail-y .ps__thumb-x,.dark-theme .ps__rail-x .ps__thumb-y,.dark-theme .ps__rail-x .ps__thumb-x{background-color:rgba(255,255,255,.2)!important}
.dark-theme .ps__rail-y .ps__thumb-y:hover,.dark-theme .ps__rail-y .ps__thumb-x:hover,.dark-theme .ps__rail-x .ps__thumb-y:hover,.dark-theme .ps__rail-x .ps__thumb-x:hover{background-color:rgba(255,255,255,.3)!important}
.dark-theme .customizer{background-color:rgba(20,20,30,.98)!important;border-left:1px solid rgba(255,255,255,.1)}
.dark-theme .customizer .customizer-close{color:rgba(255,255,255,.8)}
.dark-theme .customizer .customizer-close:hover{color:#fff}
.dark-theme .customizer .customizer-body{background-color:transparent!important}
.dark-theme .customizer .customizer-body .accordion .card{background-color:rgba(255,255,255,.03)!important;border:1px solid rgba(255,255,255,.08);margin-bottom:1rem}
.dark-theme .customizer .customizer-body .accordion .card .card-header{background-color:rgba(255,255,255,.05)!important;border-bottom:1px solid rgba(255,255,255,.1)}
.dark-theme .customizer .customizer-body .accordion .card .card-header p{color:#fff;font-weight:600}
.dark-theme .customizer .customizer-body .accordion .card .card-body{background-color:transparent!important;color:#e0e0e0}
.dark-theme .customizer .customizer-body .accordion .card .card-body .layouts .layout-box{border:2px solid rgba(255,255,255,.1);background-color:rgba(255,255,255,.05)}
.dark-theme .customizer .customizer-body .accordion .card .card-body .layouts .layout-box:hover{border-color:rgba(220,20,60,.5)}
.dark-theme .customizer .customizer-body .accordion .card .card-body .layouts .layout-box.active{border-color:rgba(220,20,60,.8);box-shadow:0 0 10px rgba(220,20,60,.3)}
.dark-theme .customizer .customizer-body .accordion .card .card-body .layouts .layout-box img{opacity:.8}
.dark-theme .customizer .customizer-body .accordion .card .card-body .colors{display:flex;flex-wrap:wrap;gap:.5rem}
.dark-theme .customizer .customizer-body .accordion .card .card-body .colors .color{border:2px solid rgba(255,255,255,.1)}
.dark-theme .customizer .customizer-body .accordion .card .card-body .colors .color:hover{border-color:rgba(255,255,255,.3)}
.dark-theme .customizer .customizer-body .accordion .card .card-body .colors .color.active{border-color:rgba(220,20,60,.8)}
.dark-theme .customizer .customizer-body .accordion .card .card-body .checkbox label,.dark-theme .customizer .customizer-body .accordion .card .card-body .checkbox span{color:#e0e0e0}
.dark-theme .customizer .customizer-body .accordion .card .card-body .checkbox .checkmark{border-color:rgba(255,255,255,.2);background-color:rgba(255,255,255,.05)}
.dark-theme .customizer .customizer-body .accordion .card .card-body .checkbox input:checked~.checkmark{background-color:rgba(220,20,60,.8);border-color:rgba(220,20,60,.8)}
.dark-theme .customizer .customizer-body .accordion .card .collapse{background-color:transparent!important}
.dark-theme .customizer .customizer-body .text-center{color:rgba(255,255,255,.6)}
.dark-theme .modal-content{background-color:rgba(20,20,30,.98)!important;border:1px solid rgba(255,255,255,.1)}
.dark-theme .modal-content .modal-header{background-color:rgba(255,255,255,.05)!important;border-bottom:1px solid rgba(255,255,255,.1);color:#fff}
.dark-theme .modal-content .modal-header .modal-title{color:#fff}
.dark-theme .modal-content .modal-header .btn-close{filter:invert(1) grayscale(100%) brightness(200%)}
.dark-theme .modal-content .modal-body{background-color:transparent!important;color:#e0e0e0}
.dark-theme .modal-content .modal-footer{background-color:rgba(255,255,255,.03)!important;border-top:1px solid rgba(255,255,255,.1)}
.dark-theme .form-control,.dark-theme .form-select,.dark-theme input[type=text],.dark-theme input[type=email],.dark-theme input[type=password],.dark-theme input[type=number],.dark-theme textarea,.dark-theme select{background-color:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.1);color:#e0e0e0}
.dark-theme .form-control:focus,.dark-theme .form-select:focus,.dark-theme input[type=text]:focus,.dark-theme input[type=email]:focus,.dark-theme input[type=password]:focus,.dark-theme input[type=number]:focus,.dark-theme textarea:focus,.dark-theme select:focus{background-color:rgba(255,255,255,.08)!important;border-color:rgba(220,20,60,.5);color:#fff}
.dark-theme .form-control::placeholder,.dark-theme .form-select::placeholder,.dark-theme input[type=text]::placeholder,.dark-theme input[type=email]::placeholder,.dark-theme input[type=password]::placeholder,.dark-theme input[type=number]::placeholder,.dark-theme textarea::placeholder,.dark-theme select::placeholder{color:rgba(255,255,255,.4)}
.dark-theme .form-check-input{background-color:rgba(255,255,255,.05);border-color:rgba(255,255,255,.2)}
.dark-theme .form-check-input:checked{background-color:rgba(220,20,60,.8);border-color:rgba(220,20,60,.8)}
.dark-theme .form-check-label{color:#e0e0e0}
.breadcrumb{background:transparent;padding:.75rem 0;margin-bottom:1rem;flex-wrap:wrap}
.breadcrumb .smallSizeTitle{font-size:clamp(1rem,4vw,1.5rem);font-weight:600;margin:0;line-height:1.4}
.breadcrumb .smallSizeTitle img{height:24px;width:auto;margin-right:8px;vertical-align:middle}
@media(max-width:768px){.breadcrumb ul.smallSizeHide{display:none!important}}
.breadcrumb ul{list-style:none;padding:0;margin:0;display:flex}
.breadcrumb ul li{margin:0 .5rem}
.breadcrumb ul li:first-child{margin-left:0}
@media(min-width:992px){.scroll-x{overflow-x:auto;-webkit-overflow-scrolling:touch}}
@media(max-width:991px){.scroll-x{overflow-x:visible}}
.row.mb-4{margin-bottom:1.5rem!important}
@media(max-width:576px){.row.mb-4{margin-bottom:1rem!important}}
.skeleton-loader{background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);background-size:200% 100%;animation:loading 1.5s infinite;border-radius:4px}
.skeleton-loader.skeleton-title{height:24px;width:60%;margin-bottom:16px}
.skeleton-loader.skeleton-text{height:16px;width:100%;margin-bottom:12px}
.skeleton-loader.skeleton-text:last-child{width:80%}
.skeleton-loader.skeleton-chart{height:300px;width:100%}
@keyframes loading{0%{background-position:200% 0}100%{background-position:-200% 0}}
.animate-fade-in{animation:fadeIn .5s ease-in}
@keyframes fadeIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.btn{transition:all .3s ease}
.btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.15)}
.btn:active{transform:translateY(0)}
.modal.fade .modal-dialog{transition:transform .3s ease-out}
.modal .modal-content{border:none;border-radius:12px;box-shadow:0 8px 32px rgba(0,0,0,.15)}
.modal .modal-header{border-bottom:1px solid #e9ecef;padding:1.5rem}
.modal .modal-body{padding:1.5rem}
.form-control,.form-select{border-radius:6px;border:1px solid #dee2e6;transition:all .3s ease}
.form-control:focus,.form-select:focus{border-color:#dc143c;box-shadow:0 0 0 .2rem rgba(220,20,60,.15)}
@media(max-width:576px){.dataTables_wrapper .dataTables_length,.dataTables_wrapper .dataTables_filter{width:100%;margin-bottom:1rem}.dataTables_wrapper .dataTables_length label,.dataTables_wrapper .dataTables_filter label{width:100%}.dataTables_wrapper .dataTables_length input,.dataTables_wrapper .dataTables_length select,.dataTables_wrapper .dataTables_filter input,.dataTables_wrapper .dataTables_filter select{width:100%}.dataTables_wrapper .dataTables_info,.dataTables_wrapper .dataTables_paginate{width:100%;text-align:center;margin-top:1rem}}
.text-truncate-2{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.text-truncate-3{display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.loading-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(255,255,255,.95);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:9999;backdrop-filter:blur(4px)}
.loading-overlay .spinner-border{width:3rem;height:3rem}
.loading-overlay p{margin-top:1rem;font-size:1.1rem;color:#666;font-weight:500}
.chart-loading{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(255,255,255,.9);display:flex;align-items:center;justify-content:center;z-index:10}
.chart-loading .spinner-border{color:#dc143c}
h1,h2,h3,h4,h5,h6{line-height:1.4}
@media(max-width:576px){h1{font-size:1.75rem}h2{font-size:1.5rem}h3{font-size:1.25rem}}
@media print{.breadcrumb,.btn,.dataTables_length,.dataTables_filter,.dataTables_paginate,.loading-overlay{display:none!important}.card{box-shadow:none;border:1px solid #dee2e6;page-break-inside:avoid}.chart-container{page-break-inside:avoid}}
.btn:focus,.form-control:focus,.form-select:focus{outline:2px solid #dc143c;outline-offset:2px}
html{scroll-behavior:smooth}
.sidebar-panel{background:rgba(255,255,255,.95)!important;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:2px 0 20px rgba(0,0,0,.08),0 0 1px rgba(0,0,0,.1)!important;border-right:1px solid rgba(0,0,0,.06);transition:all .3s cubic-bezier(.4,0,.2,1)}
.sidebar-panel .brand{padding:1.5rem 1rem;border-bottom:1px solid rgba(0,0,0,.06);background:linear-gradient(135deg,rgba(220,20,60,.05) 0%,transparent 100%);transition:all .3s ease}
.sidebar-panel .brand:hover{background:linear-gradient(135deg,rgba(220,20,60,.08) 0%,transparent 100%)}
.sidebar-panel .brand img{filter:drop-shadow(0 2px 4px rgba(0,0,0,.1));transition:transform .3s ease}
.sidebar-panel .brand:hover img{transform:scale(1.05)}
.sidebar-panel .side-nav{padding:.5rem 0}
.sidebar-panel .side-nav .nav-item{margin:.25rem .75rem;border-radius:8px;transition:all .2s ease;overflow:hidden}
.sidebar-panel .side-nav .nav-item a{padding:.75rem 1rem;border-radius:8px;display:flex;align-items:center;color:#495057;font-weight:500;transition:all .2s ease;position:relative}
.sidebar-panel .side-nav .nav-item a::before{content:'';position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:0;background:linear-gradient(180deg,#dc143c 0%,#ff1744 100%);border-radius:0 3px 3px 0;transition:height .3s ease}
.sidebar-panel .side-nav .nav-item a i{margin-right:.75rem;font-size:1.1rem;width:24px;text-align:center;transition:all .2s ease}
.sidebar-panel .side-nav .nav-item a:hover{background:linear-gradient(135deg,rgba(220,20,60,.08) 0%,rgba(220,20,60,.04) 100%);color:#dc143c;transform:translateX(4px)}
.sidebar-panel .side-nav .nav-item a:hover::before{height:60%}
.sidebar-panel .side-nav .nav-item a:hover i{transform:scale(1.1)}
.sidebar-panel .side-nav .nav-item a.active{background:linear-gradient(135deg,rgba(220,20,60,.12) 0%,rgba(220,20,60,.06) 100%);color:#dc143c;font-weight:600}
.sidebar-panel .side-nav .nav-item a.active::before{height:80%}
.sidebar-panel .side-nav .nav-item a.active i{color:#dc143c}
.sidebar-panel .side-nav .icon-menu-title,.sidebar-panel .side-nav .main-menu-title{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#6c757d;padding:1rem 1.25rem .5rem;margin-top:.5rem}
.sidebar-panel .app-user{padding:1.5rem 1rem;border-top:1px solid rgba(0,0,0,.06);background:linear-gradient(180deg,transparent 0%,rgba(220,20,60,.02) 100%)}
.sidebar-panel .app-user .app-user-photo img{border:3px solid #fff;box-shadow:0 4px 12px rgba(0,0,0,.1);transition:all .3s ease}
.sidebar-panel .app-user .app-user-photo img:hover{transform:scale(1.05);box-shadow:0 6px 16px rgba(220,20,60,.2)}
.sidebar-panel .app-user .app-user-name{font-weight:600;color:#343a40;margin-top:.75rem}
.sidebar-panel .app-user .app-user-control a{color:#6c757d;padding:.5rem;border-radius:6px;transition:all .2s ease}
.sidebar-panel .app-user .app-user-control a:hover{color:#dc143c;background:rgba(220,20,60,.08)}
.sidebar-panel .scroll-nav::-webkit-scrollbar{width:6px}
.sidebar-panel .scroll-nav::-webkit-scrollbar-track{background:transparent}
.sidebar-panel .scroll-nav::-webkit-scrollbar-thumb{background:rgba(0,0,0,.1);border-radius:3px;transition:background .2s ease}
.sidebar-panel .scroll-nav::-webkit-scrollbar-thumb:hover{background:rgba(220,20,60,.3)}
.dark-theme .sidebar-panel{background:rgba(20,20,30,.98)!important;border-right:1px solid rgba(255,255,255,.08);box-shadow:2px 0 20px rgba(0,0,0,.5),0 0 1px rgba(255,255,255,.1)!important}
.dark-theme .sidebar-panel .brand{border-bottom:1px solid rgba(255,255,255,.08);background:linear-gradient(135deg,rgba(220,20,60,.1) 0%,transparent 100%)}
.dark-theme .sidebar-panel .brand:hover{background:linear-gradient(135deg,rgba(220,20,60,.15) 0%,transparent 100%)}
.dark-theme .sidebar-panel .brand img{filter:brightness(1.1) drop-shadow(0 2px 4px rgba(0,0,0,.3))}
.dark-theme .sidebar-panel .side-nav .nav-item a{color:#cbd5e1}
.dark-theme .sidebar-panel .side-nav .nav-item a::before{background:linear-gradient(180deg,#ff1744 0%,#dc143c 100%)}
.dark-theme .sidebar-panel .side-nav .nav-item a:hover{background:linear-gradient(135deg,rgba(220,20,60,.15) 0%,rgba(220,20,60,.08) 100%);color:#ff6b6b}
.dark-theme .sidebar-panel .side-nav .nav-item a.active{background:linear-gradient(135deg,rgba(220,20,60,.2) 0%,rgba(220,20,60,.1) 100%);color:#ff6b6b}
.dark-theme .sidebar-panel .side-nav .nav-item a.active i{color:#ff6b6b}
.dark-theme .sidebar-panel .side-nav .icon-menu-title,.dark-theme .sidebar-panel .side-nav .main-menu-title{color:#9ca3af}
.dark-theme .sidebar-panel .app-user{border-top:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,transparent 0%,rgba(220,20,60,.05) 100%)}
.dark-theme .sidebar-panel .app-user .app-user-photo img{border:3px solid rgba(255,255,255,.1);box-shadow:0 4px 12px rgba(0,0,0,.3)}
.dark-theme .sidebar-panel .app-user .app-user-photo img:hover{box-shadow:0 6px 16px rgba(220,20,60,.4)}
.dark-theme .sidebar-panel .app-user .app-user-name{color:#cbd5e1}
.dark-theme .sidebar-panel .app-user .app-user-control a{color:#9ca3af}
.dark-theme .sidebar-panel .app-user .app-user-control a:hover{color:#ff6b6b;background:rgba(220,20,60,.15)}
.dark-theme .sidebar-panel .scroll-nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.1)}
.dark-theme .sidebar-panel .scroll-nav::-webkit-scrollbar-thumb:hover{background:rgba(220,20,60,.4)}
@media(max-width:768px){.sidebar-panel{box-shadow:4px 0 24px rgba(0,0,0,.15),0 0 1px rgba(0,0,0,.1)!important}.dark-theme .sidebar-panel{box-shadow:4px 0 24px rgba(0,0,0,.7),0 0 1px rgba(255,255,255,.1)!important}}
.user{cursor:pointer;position:relative}
.user img{width:40px;height:40px;border-radius:50%;border:2px solid rgba(220,20,60,.2);transition:all .3s ease;cursor:pointer;object-fit:cover}
.user img:hover{border-color:#dc143c;box-shadow:0 4px 12px rgba(220,20,60,.3);transform:scale(1.05)}
.dropdown-menu{border:none;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.12);padding:.5rem 0;margin-top:.5rem;min-width:220px;animation:dropdownFadeIn .2s ease}
.dropdown-menu .dropdown-header{padding:1rem 1.25rem;background:linear-gradient(135deg,rgba(220,20,60,.08) 0%,rgba(220,20,60,.04) 100%);border-bottom:1px solid rgba(0,0,0,.06);font-weight:600;color:#343a40;font-size:.9rem;border-radius:12px 12px 0 0}
.dropdown-menu .dropdown-header i,.dropdown-menu .dropdown-header svg{margin-right:.5rem;color:#dc143c;width:16px;height:16px}
.dropdown-menu .dropdown-item{padding:.75rem 1.25rem;color:#495057;font-weight:500;transition:all .2s ease;display:flex;align-items:center;border-left:3px solid transparent}
.dropdown-menu .dropdown-item i,.dropdown-menu .dropdown-item svg{margin-right:.75rem;color:#6c757d;transition:all .2s ease;width:16px;height:16px}
.dropdown-menu .dropdown-item:hover{background:linear-gradient(90deg,rgba(220,20,60,.08) 0%,rgba(220,20,60,.02) 100%);color:#dc143c;border-left-color:#dc143c;padding-left:1.5rem}
.dropdown-menu .dropdown-item:hover i,.dropdown-menu .dropdown-item:hover svg{color:#dc143c;transform:scale(1.1)}
.dropdown-menu .dropdown-item:active{background:linear-gradient(90deg,rgba(220,20,60,.12) 0%,rgba(220,20,60,.04) 100%)}
.dropdown-menu .dropdown-item:last-child{border-radius:0 0 12px 12px}
.dropdown-menu .dropdown-divider{margin:.5rem 0;border-color:rgba(0,0,0,.06)}
.dark-theme .user img{border-color:rgba(220,20,60,.3)}
.dark-theme .user img:hover{border-color:#ff6b6b;box-shadow:0 4px 12px rgba(220,20,60,.5)}
.dark-theme .dropdown-menu{background:rgba(30,30,40,.98);backdrop-filter:blur(10px);box-shadow:0 8px 24px rgba(0,0,0,.5);border:1px solid rgba(255,255,255,.08)}
.dark-theme .dropdown-menu .dropdown-header{background:linear-gradient(135deg,rgba(220,20,60,.15) 0%,rgba(220,20,60,.08) 100%);border-bottom:1px solid rgba(255,255,255,.08);color:#cbd5e1}
.dark-theme .dropdown-menu .dropdown-header i,.dark-theme .dropdown-menu .dropdown-header svg{color:#ff6b6b}
.dark-theme .dropdown-menu .dropdown-item{color:#cbd5e1}
.dark-theme .dropdown-menu .dropdown-item i,.dark-theme .dropdown-menu .dropdown-item svg{color:#9ca3af}
.dark-theme .dropdown-menu .dropdown-item:hover{background:linear-gradient(90deg,rgba(220,20,60,.15) 0%,rgba(220,20,60,.05) 100%);color:#ff6b6b;border-left-color:#ff6b6b}
.dark-theme .dropdown-menu .dropdown-item:hover i,.dark-theme .dropdown-menu .dropdown-item:hover svg{color:#ff6b6b}
.dark-theme .dropdown-menu .dropdown-item:active{background:linear-gradient(90deg,rgba(220,20,60,.2) 0%,rgba(220,20,60,.08) 100%)}
.dark-theme .dropdown-menu .dropdown-divider{border-color:rgba(255,255,255,.08)}
@keyframes dropdownFadeIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}
.dropdown-menu-right{right:0;left:auto}
.dropdown.show .dropdown-menu{display:block;animation:dropdownFadeIn .2s ease}
@media(max-width:576px){.dropdown-menu{min-width:200px;font-size:.9rem}.dropdown-menu .dropdown-header{padding:.875rem 1rem;font-size:.85rem}.dropdown-menu .dropdown-item{padding:.625rem 1rem;font-size:.85rem}.dropdown-menu .dropdown-item i,.dropdown-menu .dropdown-item svg{width:14px;height:14px}}
.profile-picture{transition:all .3s ease;box-shadow:0 4px 12px rgba(0,0,0,.1)}
.profile-picture:hover{transform:scale(1.05);box-shadow:0 6px 20px rgba(220,20,60,.3)}
.info-item{padding:.5rem 0}
.info-item label{display:block;font-size:.85rem;font-weight:600;margin-bottom:.25rem}
.info-item label i{width:16px;text-align:center;margin-right:.25rem}
.info-item p{font-size:.95rem;margin-bottom:0}
.nav-pills .nav-link{color:#6c757d;font-weight:500;padding:.75rem 1.5rem;border:1px solid transparent;transition:all .3s ease}
.nav-pills .nav-link i{margin-right:.5rem;transition:transform .3s ease}
.nav-pills .nav-link:hover{color:#dc143c;background:rgba(220,20,60,.08);border-color:rgba(220,20,60,.2);transform:translateY(-2px)}
.nav-pills .nav-link:hover i{transform:scale(1.1)}
.nav-pills .nav-link.active{color:#fff;background:linear-gradient(135deg,#dc143c 0%,#ff1744 100%);border-color:#dc143c;box-shadow:0 4px 12px rgba(220,20,60,.3)}
.nav-pills .nav-link.active i{transform:scale(1.1)}
.dark-theme .nav-pills .nav-link{color:#9ca3af}
.dark-theme .nav-pills .nav-link:hover{color:#ff6b6b;background:rgba(220,20,60,.15);border-color:rgba(220,20,60,.3)}
.dark-theme .nav-pills .nav-link.active{background:linear-gradient(135deg,#ff1744 0%,#dc143c 100%);border-color:#ff6b6b}
.dark-theme .info-item{border-color:rgba(255,255,255,.1)!important}
.dark-theme .info-item label{color:#9ca3af}
.dark-theme .info-item p{color:#cbd5e1}
.dark-theme .alert{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.1);color:#cbd5e1}
.dark-theme .form-control:disabled,.dark-theme .form-control[readonly]{background-color:rgba(255,255,255,.05);color:#9ca3af}
.form-control{border-radius:8px;border:1px solid #dee2e6;padding:.625rem 1rem;transition:all .3s ease}
.form-control:focus{border-color:#dc143c;box-shadow:0 0 0 .2rem rgba(220,20,60,.15)}
.form-control.is-invalid{border-color:#dc3545;background-image:none}
.form-control.is-invalid:focus{box-shadow:0 0 0 .2rem rgba(220,53,69,.15)}
.form-control-lg{padding:.875rem 1.25rem;font-size:1.1rem;border-radius:10px}
.alert{border-radius:10px;border:none;padding:1rem 1.25rem;margin-bottom:1.5rem}
.alert i{margin-right:.5rem}
.input-group-lg .form-control{font-size:.95rem;padding:.75rem 1rem}
.input-group-lg .btn{padding:.75rem 1.5rem;font-weight:600}
.font-monospace{font-family:'Courier New',Courier,monospace;letter-spacing:.5px;background:#f8f9fa}
.dark-theme .font-monospace{background:rgba(255,255,255,.05)}
@media(max-width:768px){.nav-pills .nav-link{padding:.5rem .75rem;font-size:.875rem}.nav-pills .nav-link span{font-size:.75rem}.info-item{padding:.375rem 0}.info-item label{font-size:.75rem}.info-item p{font-size:.875rem}.profile-picture{width:100px!important;height:100px!important}}

/* ========================================
   ACTIVE SUBMENU STYLING
   Styling untuk submenu yang sedang aktif di sidebar
   ======================================== */

/* Compact Sidebar - childNav Active Submenu */
.sidebar-left-secondary .childNav li.nav-item a.open,
.sidebar-left-secondary .childNav li.nav-item a.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.12) 100%);
    color: #6366f1 !important;
    font-weight: 700 !important;
    border-left: 3px solid #6366f1;
    padding-left: calc(1.25rem - 3px);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
    position: relative;
}

/* Icon untuk submenu aktif */
.sidebar-left-secondary .childNav li.nav-item a.open .nav-icon,
.sidebar-left-secondary .childNav li.nav-item a.active .nav-icon {
    color: #6366f1 !important;
    transform: scale(1.1);
}

/* Item name untuk submenu aktif */
.sidebar-left-secondary .childNav li.nav-item a.open .item-name,
.sidebar-left-secondary .childNav li.nav-item a.active .item-name {
    color: #6366f1 !important;
    letter-spacing: 0.3px;
}

/* Hover effect untuk submenu non-aktif */
.sidebar-left-secondary .childNav li.nav-item a:not(.open):not(.active):hover {
    background: rgba(99, 102, 241, 0.08);
    transform: translateX(4px);
    transition: all 0.3s ease;
}

/* Dropdown sidemenu active state */
.childNav .dropdown-sidemenu a.open,
.childNav .dropdown-sidemenu a.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
    color: #6366f1 !important;
    font-weight: 700 !important;
}

/* Submenu (nested) active state */
.childNav .submenu li a.open,
.childNav .submenu li a.active {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: #6366f1 !important;
    font-weight: 700 !important;
    border-left: 3px solid #6366f1;
    padding-left: calc(1rem - 3px);
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.15);
}

/* Dark Mode - Active Submenu Styling */
.dark-theme .sidebar-left-secondary .childNav li.nav-item a.open,
.dark-theme .sidebar-left-secondary .childNav li.nav-item a.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(99, 102, 241, 0.15) 100%);
    color: #a78bfa !important;
    border-left-color: #a78bfa;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.dark-theme .sidebar-left-secondary .childNav li.nav-item a.open .nav-icon,
.dark-theme .sidebar-left-secondary .childNav li.nav-item a.active .nav-icon {
    color: #a78bfa !important;
}

.dark-theme .sidebar-left-secondary .childNav li.nav-item a.open .item-name,
.dark-theme .sidebar-left-secondary .childNav li.nav-item a.active .item-name {
    color: #a78bfa !important;
}

.dark-theme .sidebar-left-secondary .childNav li.nav-item a:not(.open):not(.active):hover {
    background: rgba(139, 92, 246, 0.15);
}

.dark-theme .childNav .submenu li a.open,
.dark-theme .childNav .submenu li a.active {
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.2) 0%, rgba(99, 102, 241, 0.15) 100%);
    color: #a78bfa !important;
    border-left-color: #a78bfa;
    box-shadow: 0 2px 6px rgba(139, 92, 246, 0.25);
}

/* Animation untuk perubahan state */
.sidebar-left-secondary .childNav li.nav-item a,
.childNav .submenu li a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pulsing effect untuk item aktif */
@keyframes activePulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
    }
    50% {
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
    }
}

.sidebar-left-secondary .childNav li.nav-item a.open,
.sidebar-left-secondary .childNav li.nav-item a.active {
    animation: activePulse 2s ease-in-out infinite;
}

.dark-theme .sidebar-left-secondary .childNav li.nav-item a.open,
.dark-theme .sidebar-left-secondary .childNav li.nav-item a.active {
    animation: activePulseDark 2s ease-in-out infinite;
}

@keyframes activePulseDark {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
    }
    50% {
        box-shadow: 0 4px 12px rgba(139, 92, 246, 0.45);
    }
}

/* ========================================
   Content Area Min Height
   ======================================== */
/* Memberikan min-height pada area konten utama untuk memastikan
   loading modal dan elemen floating lainnya memiliki ruang cukup */
#colData {
    min-height: 500px;
}

#colData .card {
    min-height: 450px;
}

/* ========================================
   Loading Modal Fix
   ======================================== */
/* Memastikan loading modal selalu tampil di tengah viewport
   dan tidak terpotong oleh parent container */
#loadingModal {
    z-index: 9999 !important;
}

#loadingModal .modal-dialog {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    max-width: 300px !important;
}

#loadingModal.show {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#loadingModal .modal-content {
    border-radius: 15px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
}

/* ========================================
   SELECT2 BOOTSTRAP 5 SMALL SIZE
   Styling untuk Select2 agar sejajar dengan form-control
   ======================================== */
.select2-container--bootstrap-5 .select2-selection--single{min-height:28px!important;height:28px!important;padding:0!important;border:1px solid #ced4da!important;box-sizing:border-box!important}.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered{line-height:26px!important;padding:0 .5rem!important;font-size:11px!important;display:block!important}.select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow{height:26px!important;top:1px!important;right:1px!important;width:20px!important}.select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow b{margin-top:0!important;border-width:4px 4px 0 4px!important}.select2-container--bootstrap-5 .select2-selection--single .select2-selection__placeholder{color:#6c757d!important;font-size:11px!important}.select2-dropdown.select2-sm{font-size:11px!important;border:1px solid #ced4da!important}.select2-dropdown.select2-sm .select2-results__option{padding:.25rem .5rem!important;font-size:11px!important}.select2-dropdown .select2-search__field{font-size:11px!important;padding:.25rem .5rem!important;height:28px!important}.select2-container--bootstrap-5.select2-container--focus .select2-selection,.select2-container--bootstrap-5.select2-container--open .select2-selection{border-color:#86b7fe!important;box-shadow:0 0 0 .25rem rgba(13,110,253,.25)!important}

/* ========================================
   INPUT GROUP & SELECT2 MODERN STYLING
   Modern input group dengan Select2 integration
   ======================================== */
.input-group-text.bg-primary{border-color:#0d6efd}.input-group .select2-container--default .select2-selection--single{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;height:calc(1.5em + .5rem + 2px)}.input-group .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:calc(1.5em + .5rem);padding-left:.5rem}.input-group .select2-container--default .select2-selection--single .select2-selection__arrow{height:calc(1.5em + .5rem + 2px)}#step-0 h3 i{font-size:1.2rem}.form-label.fw-bold i{font-size:.9rem}

/* ========================================
   SMARTWIZARD - Dots Theme Styling
   Based on library default with proper colors
   ======================================== */

/* SmartWizard Dots Theme */

.sw-theme-dots .sw-container {
  min-height: 300px;
}

.sw-theme-dots .step-content {
  padding: 10px 0;
  border: none;
  background-color: #fff;
  text-align: left;
}

.sw-theme-dots .sw-toolbar {
  background: #fff;
  border-radius: 0 !important;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 0 !important;
}

.sw-theme-dots .sw-toolbar-top {
  border-bottom-color: #ddd !important;
}

.sw-theme-dots .sw-toolbar-bottom {
  border-top-color: #ddd !important;
  border-bottom-color: #ddd !important;
}

.sw-theme-dots > ul.step-anchor {
  position: relative;
  background: #fff;
  border: 0px solid #ccc !important;
  list-style: none;
}

.sw-theme-dots > ul.step-anchor:before {
  content: ' ';
  position: absolute;
  top: 70px;
  bottom: 0;
  width: 100%;
  height: 5px;
  background-color: #f5f5f5;
  border-radius: 3px;
  z-index: 95;
}

.sw-theme-dots > ul.step-anchor > li {
  border: none;
}

/* Anchors styles */
.sw-theme-dots > ul.step-anchor > li > a {
  position: relative;
  text-align: center;
  font-weight: bold;
  background: transparent;
  border: none;
  color: #ccc;
  text-decoration: none;
  outline-style: none;
  z-index: 96;
  display: block;
}

.sw-theme-dots > ul.step-anchor > li > a:before {
  content: ' ' !important;
  position: absolute !important;
  bottom: -12px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: block !important;
  border-radius: 50% !important;
  color: #428bca !important;
  background: #f5f5f5 !important;
  border: none !important;
  width: 30px !important;
  height: 30px !important;
  text-decoration: none !important;
  z-index: 98 !important;
  margin-top: 0 !important;
}

.sw-theme-dots > ul.step-anchor > li > a:after {
  content: ' ' !important;
  position: absolute !important;
  bottom: -3px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: block !important;
  width: 15px !important;
  height: 15px !important;
  background: #f5f5f5 !important;
  border-radius: 50% !important;
  z-index: 99 !important;
  margin-top: 0 !important;
}

.sw-theme-dots > ul.step-anchor > li > a:hover {
  color: #999;
  background: transparent;
}

.sw-theme-dots > ul.step-anchor > li > a:focus {
  color: #ccc;
  border: none;
}

.sw-theme-dots > ul.step-anchor > li.clickable > a:hover {
  color: #999;
}

/* Active anchors */
.sw-theme-dots > ul.step-anchor > li.active > a {
  color: #5bc0de !important;
}

.sw-theme-dots > ul.step-anchor > li.active > a:hover {
  border: none;
  color: #5bc0de !important;
}

.sw-theme-dots > ul.step-anchor > li.active > a:after {
  background: #5bc0de !important;
}

/* Done anchors */
.sw-theme-dots > ul.step-anchor > li.done > a {
  color: #5cb85c !important;
}

.sw-theme-dots > ul.step-anchor > li.done > a:after {
  background: #5cb85c !important;
}

/* Danger anchors */
.sw-theme-dots > ul.step-anchor > li.danger > a {
  color: #d9534f;
}

.sw-theme-dots > ul.step-anchor > li.danger > a:after {
  background: #d9534f;
}

.sw-theme-dots > ul.step-anchor > li.disabled > a,
.sw-theme-dots > ul.step-anchor > li.disabled > a:hover {
  color: #eee !important;
}

.sw-theme-dots > ul.step-anchor > li.disabled > a:after {
  background: #eee;
}

/* Responsive CSS */
@media screen and (max-width: 768px) {
  .sw-theme-dots > ul.step-anchor:before {
    top: 0;
    bottom: 0;
    left: 10px;
    width: 5px;
    height: 100%;
    background-color: #f5f5f5;
    display: block;
    margin-right: 10px;
  }

  .sw-theme-dots > ul.step-anchor > li {
    margin-left: 20px;
    display: block;
    clear: both;
  }

  .sw-theme-dots > ul.step-anchor > li > a {
    text-align: left;
    margin-left: 0;
    display: block;
  }

  .sw-theme-dots > ul.step-anchor > li > a:before {
    top: 5px;
    left: -23px;
    margin-right: 10px;
    display: block;
  }

  .sw-theme-dots > ul.step-anchor > li > a:after {
    top: -38px;
    left: -31px;
    margin-right: 10px;
    display: block;
  }
}

/* ========================================
   Table Header Styling
   ======================================== */
#smartwizard .table thead tr:first-child th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border: none !important;
}

#smartwizard .table thead .thead-dark th {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
  color: #ffffff !important;
  font-weight: 500 !important;
  border: none !important;
}

/* ========================================
   Modal Modern - Enhanced Components
   ======================================== */

/* Modal Header with Gradient */
.modal-header-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  border: none;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem 0.5rem 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header-modern.gradient-primary {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.modal-header-modern.gradient-success {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.modal-header-modern.gradient-danger {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.modal-header-modern .modal-title {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.125rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-close-modern {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  color: #ffffff;
  font-size: 1.25rem;
}

.btn-close-modern:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* Modal Body Modern */
.modal-body-modern {
  padding: 1.5rem;
  background: #ffffff;
}

.modal-footer-modern {
  padding: 1rem 1.25rem;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
  border-radius: 0 0 0.5rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Info Grid for Read-only Data */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
  border: 1px solid #dee2e6;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.info-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.info-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: #212529;
  padding: 0.5rem;
  background: #ffffff;
  border-radius: 0.375rem;
  border: 1px solid #dee2e6;
  min-height: 38px;
  display: flex;
  align-items: center;
}

/* Form Control Modern */
.form-control-modern {
  border: 2px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #ffffff;
}

.form-control-modern:focus {
  border-color: #4facfe;
  box-shadow: 0 0 0 0.2rem rgba(79, 172, 254, 0.15);
  outline: none;
}

.form-control-modern::placeholder {
  color: #adb5bd;
  font-style: italic;
}

/* Modern Buttons */
.btn-primary-modern {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  border: none;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 172, 254, 0.4);
  color: #ffffff;
}

.btn-secondary-modern {
  background: #6c757d;
  border: none;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary-modern:hover {
  background: #5a6268;
  transform: translateY(-1px);
  color: #ffffff;
}

/* Alert Info Modern Enhancement */
.alert-info-modern {
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.1) 100%);
  border-left: 4px solid #4facfe;
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .modal-header-modern {
    padding: 0.875rem 1rem;
  }

  .modal-body-modern {
    padding: 1rem;
  }

  .modal-footer-modern {
    padding: 0.875rem 1rem;
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   Modern Auth Pages (Login, Register, Forgot Password, Reset Password)
   Colors aligned with Platinum Gadget Brand (#660215)
   ========================================================================== */
.auth-layout-wrap {
  min-height: 100vh;
  background: radial-gradient(circle at 50% 15%, #85071f 0%, #660215 50%, #3a010c 100%) !important;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  overflow-x: hidden;
}

.auth-layout-wrap::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(220, 20, 60, 0.22) 0%, rgba(102, 2, 21, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.auth-card {
  border-radius: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
  background: #ffffff;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-cover-right,
#coverRight {
  background: linear-gradient(135deg, #280a10 0%, #1e212b 55%, #12141a 100%) !important;
  position: relative;
  overflow: hidden;
}

.auth-cover-right::before,
#coverRight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 35% 25%, rgba(220, 20, 60, 0.15) 0%, transparent 65%);
  pointer-events: none;
}

/* Primary Button Styling */
.auth-layout-wrap .btn-primary,
.btn-auth-primary {
  background: linear-gradient(135deg, #b81432 0%, #7a0319 100%) !important;
  border: none !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  padding: 0.7rem 1.4rem !important;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(122, 3, 25, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.auth-layout-wrap .btn-primary:hover,
.btn-auth-primary:hover {
  background: linear-gradient(135deg, #c71737 0%, #8f041e 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(122, 3, 25, 0.45) !important;
  color: #ffffff !important;
}

.auth-layout-wrap .btn-primary:active,
.btn-auth-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(122, 3, 25, 0.3) !important;
}

/* Input Group & Focus Styling */
.auth-layout-wrap .input-group-modern .form-control {
  border-radius: 0 8px 8px 0;
  border: 1px solid #ced4da;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.auth-layout-wrap .input-group-modern .input-group-text {
  border-radius: 8px 0 0 8px;
  border: 1px solid #ced4da;
  border-right: none;
  background-color: #f8f9fa;
  color: #6c757d;
}

.auth-layout-wrap .input-group-modern:focus-within .input-group-text {
  border-color: #b81432;
  color: #b81432;
  background-color: #fff5f6;
}

.auth-layout-wrap .input-group-modern:focus-within .form-control {
  border-color: #b81432;
  box-shadow: 0 0 0 0.2rem rgba(184, 20, 50, 0.18);
}

.auth-layout-wrap .form-control:focus {
  border-color: #b81432 !important;
  box-shadow: 0 0 0 0.2rem rgba(184, 20, 50, 0.18) !important;
}

/* Links & Checkbox */
.auth-layout-wrap .auth-link {
  color: #b81432 !important;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
}

.auth-layout-wrap .auth-link:hover {
  color: #7a0319 !important;
  text-decoration: underline !important;
  transform: translateY(-1px);
}

.auth-layout-wrap .form-check-input:checked {
  background-color: #b81432 !important;
  border-color: #b81432 !important;
  box-shadow: 0 0 0 0.2rem rgba(184, 20, 50, 0.2) !important;
}

/* Mobile Responsiveness Enhancements */
@media (max-width: 575.98px) {
  .auth-layout-wrap {
    padding: 0.75rem 0.5rem;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
    align-items: flex-start !important;
    padding-top: 1.25rem !important;
  }

  .auth-card {
    border-radius: 14px !important;
  }

  .auth-card .p-4,
  .auth-card .p-lg-5,
  .auth-card .p-md-5 {
    padding: 1.25rem 1rem !important;
  }

  .auth-layout-wrap h1.h4 {
    font-size: 1.25rem !important;
  }

  .auth-layout-wrap #code_area {
    max-width: 85px !important;
    font-size: 0.85rem;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }

  .auth-layout-wrap .btn-google-modern {
    padding: 10px 16px !important;
    font-size: 14px !important;
  }

  .auth-layout-wrap img.img-fluid {
    max-height: 46px !important;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .auth-layout-wrap {
    padding: 1.25rem 1rem;
  }

  .auth-card .p-4,
  .auth-card .p-lg-5,
  .auth-card .p-md-5 {
    padding: 1.75rem 1.5rem !important;
  }
}

/* ==========================================================================
   Realistic 3D Hanging Desk Lamp - Dynamic Background Ambient Lighting
   ========================================================================== */

/* State Gelap Ambience Awal */
.auth-layout-wrap.lamp-mode {
  position: relative;
  background: #080306 !important;
  overflow: hidden;
  transition: background 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  perspective: 1200px;
  min-height: 100vh;
}

/* Dynamic Ambient Glow di Background yang Mengikuti Pendaran & Goyangan Lampu */
.auth-layout-wrap.lamp-mode.lamp-on {
  background: radial-gradient(ellipse 900px 650px at 50% 80px, #520917 0%, #29040c 45%, #0d0205 100%) !important;
}

/* Animasi Pendaran Cahaya Background yang Lembut & Realistis */
.auth-layout-wrap.lamp-mode.lamp-on.lamp-swinging {
  animation: dynamicBackgroundGlow 2.4s cubic-bezier(0.36, 0.66, 0.04, 1) forwards;
}

@keyframes dynamicBackgroundGlow {
  0% {
    background: radial-gradient(ellipse 900px 650px at 50% 80px, #520917 0%, #29040c 45%, #0d0205 100%) !important;
  }
  15% {
    background: radial-gradient(ellipse 900px 650px at 46% 80px, #610c1c 0%, #30050f 45%, #0d0205 100%) !important;
  }
  35% {
    background: radial-gradient(ellipse 900px 650px at 54% 80px, #5c0b1a 0%, #2d040e 45%, #0d0205 100%) !important;
  }
  55% {
    background: radial-gradient(ellipse 900px 650px at 48% 80px, #560a18 0%, #2b040d 45%, #0d0205 100%) !important;
  }
  75% {
    background: radial-gradient(ellipse 900px 650px at 52% 80px, #540917 0%, #2a040c 45%, #0d0205 100%) !important;
  }
  100% {
    background: radial-gradient(ellipse 900px 650px at 50% 80px, #520917 0%, #29040c 45%, #0d0205 100%) !important;
  }
}

/* Rig Lampu Gantung di Plafon (Mentok ke Bibir Atas Layar 100%) */
.desk-lamp-rig {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
  pointer-events: auto;
}

.ceiling-fixture {
  width: 56px;
  height: 8px;
  background: radial-gradient(circle at 50% 0%, #ffd700, #b8860b 60%, #382800 100%);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.9);
}

/* Unit Lampu yang Berayun dengan Fisika Kiri-Kanan */
.lamp-swing-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: top center;
  will-change: transform;
}

.lamp-physics-swing {
  animation: realisticLampSwing 2.4s cubic-bezier(0.36, 0.66, 0.04, 1) forwards;
}

@keyframes realisticLampSwing {
  0% { transform: rotate(0deg); }
  15% { transform: rotate(-7.5deg); }
  35% { transform: rotate(5.5deg); }
  55% { transform: rotate(-3.5deg); }
  75% { transform: rotate(1.8deg); }
  90% { transform: rotate(-0.7deg); }
  100% { transform: rotate(0deg); }
}

.lamp-cord-line {
  width: 3px;
  height: 28px;
  background: linear-gradient(180deg, #3f3f46 0%, #18181b 100%);
  box-shadow: 0 0 4px rgba(0,0,0,0.9);
}

/* Kap Lampu Realistis */
.lamp-head-realistic {
  position: relative;
  width: 140px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.lamp-shade-svg {
  width: 140px;
  height: 70px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.8));
  position: relative;
  z-index: 4;
  pointer-events: none;
}

/* Lubang Dudukan Saklar / Socket Grommet Dalam Kap Lampu */
.chain-socket-grommet {
  position: absolute;
  top: 48px;
  right: 24px;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle at 50% 50%, #000000 30%, #52525b 70%, #b8860b 100%);
  border-radius: 50%;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.9), 0 0 1px rgba(255,215,0,0.4);
  z-index: 2;
  pointer-events: none;
}

/* Bohlam Realistis */
.lamp-bulb-realistic {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 22px;
  background: #27272a;
  border-radius: 50% 50% 42% 42%;
  transition: all 0.25s ease;
  z-index: 3;
}

.auth-layout-wrap.lamp-mode.lamp-on .lamp-bulb-realistic {
  background: #fffdf5;
  box-shadow: 0 0 35px 12px rgba(255, 235, 185, 1), 0 0 70px 24px rgba(255, 185, 95, 0.7);
}

/* Tali Penarik Saklar Interaktif (Keluar dari Dalam Tudung Lampu) */
.lamp-pull-chain {
  position: absolute;
  top: 50px;
  right: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  z-index: 3;
  transform-origin: top center;
  transition: transform 0.18s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pull-chain-links {
  width: 2.5px;
  height: 48px;
  background: repeating-linear-gradient(180deg, #d4d4d8 0px, #d4d4d8 3px, #52525b 3px, #52525b 5px);
  box-shadow: 0 0 3px rgba(0,0,0,0.6);
  transform-origin: top center;
  transition: height 0.18s ease-out;
}

.pull-chain-bell {
  width: 10px;
  height: 16px;
  background: radial-gradient(circle at 35% 30%, #fff0a0, #b8860b 60%, #4a3500 100%);
  border-radius: 4px 4px 6px 6px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.6), inset 0 1px 2px rgba(255,255,255,0.7);
  animation: bellGentlySway 3.5s ease-in-out infinite alternate;
  transform-origin: top center;
  position: relative;
}

@keyframes bellGentlySway {
  0% { transform: rotate(-3deg); }
  100% { transform: rotate(3deg); }
}

.lamp-pull-chain:hover .pull-chain-bell {
  filter: brightness(1.2);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* 1. Efek saat ditarik: tali meregang ke bawah secara elastis */
.lamp-pull-chain.chain-pulling {
  transform: translateY(22px) scaleX(0.85);
}
.lamp-pull-chain.chain-pulling .pull-chain-links {
  height: 64px;
}

/* 2. Efek sesudah dilepas: ayunan pegas / karet elastis natural (Elastic Spring Whip) */
.lamp-pull-chain.chain-spring-rebound {
  animation: chainElasticSpring 1.8s cubic-bezier(0.25, 1.4, 0.35, 1) forwards;
}

@keyframes chainElasticSpring {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  12% {
    transform: translateY(-8px) scaleY(0.9) rotate(14deg);
  }
  25% {
    transform: translateY(4px) scaleY(1.05) rotate(-11deg);
  }
  40% {
    transform: translateY(-3px) scaleY(0.96) rotate(8deg);
  }
  55% {
    transform: translateY(2px) scaleY(1.02) rotate(-5deg);
  }
  70% {
    transform: translateY(-1px) scaleY(0.99) rotate(3deg);
  }
  85% {
    transform: translateY(0.5px) scaleY(1.01) rotate(-1.5deg);
  }
  100% {
    transform: translateY(0px) scaleY(1) rotate(0deg);
  }
}

/* Hint Callout Menggantung di Kanan Lampu (Bebas Halangan dari Kap Lampu) */
.lamp-side-callout {
  position: absolute;
  left: 100%;
  top: 32px;
  margin-left: 14px;
  background: rgba(18, 12, 16, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 215, 0, 0.35);
  color: #fef08a;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(0,0,0,0.6);
  transition: all 0.3s ease;
  z-index: 15;
}

.lamp-side-callout .callout-arrow {
  position: absolute;
  top: 50%;
  left: -6px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 6px solid rgba(255, 215, 0, 0.35);
}

.lamp-side-callout:hover {
  background: rgba(184, 20, 50, 0.45);
  border-color: rgba(255, 215, 0, 0.75);
  color: #ffffff;
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.auth-layout-wrap.lamp-mode.lamp-on .lamp-side-callout {
  background: rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.15);
  color: #d4d4d8;
}

.auth-layout-wrap.lamp-mode.lamp-on .lamp-side-callout .callout-arrow {
  border-right-color: rgba(255, 255, 255, 0.2);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #ffd700;
  border-radius: 50%;
  box-shadow: 0 0 8px #ffd700;
  animation: pulseDotAnim 1.8s infinite;
}

@keyframes pulseDotAnim {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* ==========================================================================
   3D Realistic Login Card & Input Box Lighting (Spatial 3D Engine - Obsidian Luxe)
   ========================================================================== */

.auth-container-col {
  max-width: 820px;
  margin-top: 100px;
}

.auth-layout-wrap.lamp-mode .auth-card {
  opacity: 0.16;
  filter: blur(4px) brightness(0.25);
  pointer-events: none;
  transform: scale(0.96) rotateX(4deg) translateY(12px);
  transform-style: preserve-3d;
  border-radius: 20px !important;
  background: rgba(18, 9, 14, 0.75) !important;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: all 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto;
}

/* Pantulan Garis Cahaya Lampu di Bibir Atas Kartu (Top Specular Light Rim) */
.card-specular-rim {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 215, 0, 0.1) 15%, 
    rgba(255, 235, 185, 0.85) 50%, 
    rgba(255, 215, 0, 0.1) 85%, 
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 10;
  pointer-events: none;
}

.auth-layout-wrap.lamp-mode.lamp-on .card-specular-rim {
  opacity: 1;
}

.auth-layout-wrap.lamp-mode.lamp-on .auth-card {
  opacity: 1;
  filter: blur(0) brightness(1);
  pointer-events: auto;
  transform: scale(1) rotateX(0deg) translateY(0);
  border-radius: 20px !important;
  background: linear-gradient(145deg, rgba(26, 11, 18, 0.88) 0%, rgba(14, 6, 10, 0.94) 100%) !important;
  backdrop-filter: blur(30px) saturate(190%);
  -webkit-backdrop-filter: blur(30px) saturate(190%);
  box-shadow: 
    0 30px 70px -15px rgba(0, 0, 0, 0.95),
    0 12px 35px -8px rgba(102, 2, 21, 0.45),
    0 0 50px rgba(255, 215, 0, 0.18),
    inset 0 1px 1px rgba(255, 235, 190, 0.4),
    inset 0 -2px 8px rgba(0, 0, 0, 0.6) !important;
  border: 1px solid rgba(255, 215, 0, 0.22) !important;
}

/* Pane Form Kiri & Typography */
.auth-layout-wrap.lamp-mode .auth-form-pane {
  background: transparent;
  position: relative;
  z-index: 2;
}

.auth-layout-wrap.lamp-mode .auth-logo-img {
  /* Mengubah logo hitam menjadi putih terang dengan specular rim glow emas platinum */
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.45)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-layout-wrap.lamp-mode.lamp-on .auth-logo-img {
  /* Saat lampu menyala: kilau gold-platinum yang tajam dan mewah */
  filter: brightness(0) invert(1) drop-shadow(0 0 14px rgba(255, 215, 0, 0.55)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
}

.auth-layout-wrap.lamp-mode .auth-title {
  color: #f8fafc;
  letter-spacing: 0.4px;
  font-size: 1.15rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), 0 0 16px rgba(255, 215, 0, 0.2);
}

.auth-layout-wrap.lamp-mode .form-label {
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.3px;
  color: #cbd5e1;
  margin-bottom: 4px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Pane Cover Kanan - Seamless Blend Tanpa Patahan Tajam */
.auth-layout-wrap.lamp-mode .auth-cover-pane {
  background: radial-gradient(circle at 60% 40%, rgba(128, 4, 24, 0.4) 0%, rgba(20, 5, 10, 0.85) 70%, rgba(9, 2, 5, 0.95) 100%) !important;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-layout-wrap.lamp-mode .cover-glass-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 30%, rgba(255, 215, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.auth-layout-wrap.lamp-mode .artwork-container {
  position: relative;
}

.auth-layout-wrap.lamp-mode .auth-artwork-img {
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(184, 20, 50, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.auth-layout-wrap.lamp-mode.lamp-on .auth-artwork-img:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 215, 0, 0.3);
}

/* Box Input Form 3D Ramping & Simetris (Sculpted Inset) */
.auth-layout-wrap.lamp-mode .input-group-modern {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.4) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 
    inset 0 2px 4px rgba(0, 0, 0, 0.5),
    0 1px 1px rgba(255, 255, 255, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.auth-layout-wrap.lamp-mode.lamp-on .input-group-modern:hover {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.5) !important;
  border-color: rgba(255, 215, 0, 0.35) !important;
  box-shadow: 
    inset 0 2px 5px rgba(0, 0, 0, 0.6),
    0 3px 10px rgba(255, 215, 0, 0.1);
}

.auth-layout-wrap.lamp-mode.lamp-on .input-group-modern:focus-within {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.6) !important;
  border-color: #ffd700 !important;
  box-shadow: 
    0 0 0 2.5px rgba(255, 215, 0, 0.22),
    0 6px 18px rgba(184, 20, 50, 0.35),
    inset 0 2px 4px rgba(0, 0, 0, 0.7) !important;
}

.auth-layout-wrap.lamp-mode .input-group-modern .form-control {
  background: transparent !important;
  border: none !important;
  border-radius: 0 10px 10px 0 !important;
  padding: 8px 12px;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #f8fafc !important;
  box-shadow: none !important;
}

.auth-layout-wrap.lamp-mode .input-group-modern .form-control::placeholder {
  color: #64748b;
  font-weight: 400;
  font-size: 0.84rem;
}

.auth-layout-wrap.lamp-mode .input-group-modern .input-group-text {
  background: transparent !important;
  border: none !important;
  border-radius: 10px 0 0 10px !important;
  padding: 8px 12px;
  color: #94a3b8;
  font-size: 1rem;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease;
}

.auth-layout-wrap.lamp-mode .input-group-modern:focus-within .input-group-text {
  color: #ffd700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.auth-layout-wrap.lamp-mode .input-group-modern #togglePassword {
  background: transparent !important;
  border: none !important;
  border-radius: 0 10px 10px 0 !important;
  color: #94a3b8;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.auth-layout-wrap.lamp-mode .input-group-modern #togglePassword:hover {
  color: #ffd700;
}

/* Link Auth di Bawah Form */
.auth-layout-wrap.lamp-mode .auth-link {
  color: #fef08a !important;
  font-weight: 500;
  font-size: 0.82rem;
  transition: all 0.2s ease;
}

.auth-layout-wrap.lamp-mode .auth-link:hover {
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

.auth-layout-wrap.lamp-mode .gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

/* Tombol Masuk 3D Jeweled Crimson Seal - Ramping & Proporsional */
.auth-layout-wrap.lamp-mode .btn-primary.ladda-button {
  background: linear-gradient(180deg, #b81432 0%, #660215 100%) !important;
  border: 1px solid rgba(255, 215, 0, 0.25) !important;
  border-radius: 10px !important;
  padding: 9px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #ffffff;
  position: relative;
  box-shadow: 
    0 4px 0 #300109,
    0 8px 18px rgba(102, 2, 21, 0.55),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(0);
}

.auth-layout-wrap.lamp-mode.lamp-on .btn-primary.ladda-button:hover {
  background: linear-gradient(180deg, #cf1639 0%, #7d031b 100%) !important;
  transform: translateY(-2px);
  box-shadow: 
    0 6px 0 #300109,
    0 12px 24px rgba(184, 20, 50, 0.55),
    0 0 16px rgba(255, 215, 0, 0.25),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.auth-layout-wrap.lamp-mode .btn-primary.ladda-button:active {
  transform: translateY(3px) !important;
  box-shadow: 
    0 1px 0 #300109,
    0 3px 8px rgba(102, 2, 21, 0.4),
    inset 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

/* Tombol Google Login 3D Glass Slab - Ramping */
.auth-layout-wrap.lamp-mode .btn-google-modern {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  color: #f1f5f9;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 14px;
  box-shadow: 
    0 3px 0 rgba(0, 0, 0, 0.3),
    0 5px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.auth-layout-wrap.lamp-mode .btn-google-modern:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 215, 0, 0.35);
  transform: translateY(-1px);
  box-shadow: 
    0 4px 0 rgba(0, 0, 0, 0.4),
    0 6px 16px rgba(255, 215, 0, 0.12);
  color: #ffffff;
}

.auth-layout-wrap.lamp-mode .btn-google-modern:active {
  transform: translateY(2px);
  box-shadow: 
    0 1px 0 rgba(0, 0, 0, 0.4),
    0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Form Check 3D */
.auth-layout-wrap.lamp-mode .form-check-label {
  color: #cbd5e1;
  font-size: 0.82rem;
  cursor: pointer;
}

.auth-layout-wrap.lamp-mode .form-check-input {
  width: 1.05em;
  height: 1.05em;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.4);
  transition: all 0.2s ease;
  cursor: pointer;
}

.auth-layout-wrap.lamp-mode .form-check-input:checked {
  background-color: #ffd700;
  border-color: #ffd700;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* ==========================================================================
   Mobile & Responsive Adjustments (Khususnya Infinix Zero 30 & Smartphone)
   Viewport: 360px - 480px, Layar Lengkung AMOLED 120/144Hz
   ========================================================================== */

@media (max-width: 767.98px) {
  .auth-layout-wrap.lamp-mode {
    padding-top: 10px;
    padding-bottom: 25px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .auth-container-col {
    margin-top: 75px;
  }

  .desk-lamp-rig {
    top: 0;
  }

  .lamp-cord-line {
    height: 16px;
  }

  .lamp-head-realistic {
    width: 110px;
    height: 55px;
  }

  .lamp-shade-svg {
    width: 110px;
    height: 55px;
  }

  .lamp-pull-chain {
    top: 44px;
    right: 16px;
  }

  .pull-chain-links {
    height: 26px;
  }

  /* Hint callout pada layar HP diposisikan di sebelah kiri (ergonomis jempol) dengan tampilan kotak spatial 3D */
  .lamp-side-callout {
    position: fixed !important;
    top: 14px !important;
    left: 14px !important;
    right: auto !important;
    transform: none !important;
    margin: 0 !important;
    padding: 5px 10px !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important; /* Tampilan kotak modern spatial 3D */
    background: rgba(18, 8, 12, 0.94) !important;
    border: 1px solid rgba(255, 215, 0, 0.5) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.8), 0 0 10px rgba(255, 215, 0, 0.25) !important;
    white-space: nowrap !important;
    z-index: 100 !important;
    max-width: none !important;
    letter-spacing: 0.2px;
  }

  .lamp-side-callout .callout-arrow {
    display: none !important;
  }

  .auth-layout-wrap.lamp-mode.lamp-on .lamp-side-callout {
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6) !important;
  }

  .spotlight-cone {
    top: 10px;
    width: 440px;
    height: 500px;
  }

  .auth-layout-wrap.lamp-mode .auth-card {
    border-radius: 18px !important;
    margin: 0 4px;
  }

  .auth-layout-wrap.lamp-mode .auth-form-pane .px-4 {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }

  .auth-layout-wrap.lamp-mode .auth-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem !important;
  }

  .auth-layout-wrap.lamp-mode .auth-logo-img {
    max-height: 42px !important;
    margin-bottom: 0.5rem !important;
  }

  .auth-layout-wrap.lamp-mode .input-group-modern .form-control {
    padding: 7px 10px;
    font-size: 0.86rem;
  }

  .auth-layout-wrap.lamp-mode .input-group-modern .input-group-text {
    padding: 7px 10px;
    font-size: 0.95rem;
  }

  .auth-layout-wrap.lamp-mode .btn-primary.ladda-button {
    padding: 8px 16px;
    font-size: 0.88rem;
  }

  .auth-layout-wrap.lamp-mode .btn-google-modern {
    padding: 7px 12px;
    font-size: 0.84rem;
  }
}

