:root {
    --animated-bg-duration: 25s;        /* Duration of zoom animation */
    --animated-bg-scale: 1.1;          /* Max zoom scale (1.1 = 110%) */
    --animated-bg-blend-duration: 8s;   /* Duration for each image in crossfade */
}

/* Base container - positions the animated background */
.animated-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

/* Individual image layer */
.animated-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active state for JS-driven slideshow */
.animated-bg-image.active {
    opacity: 1;
}

/* Zoom animation for JS-driven slideshow */
.animated-bg-zoom-image {
    animation: bgZoom var(--animated-bg-duration) ease-in-out infinite alternate;
}

@keyframes bgZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(var(--animated-bg-scale));
    }
}

/* ===== AUTH PAGE STYLES (Redesigned) ===== */
.auth-wrapper {
    min-height: 100vh;
    position: relative;
}

/* Fallback gradient if no background image */
.auth-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-header, linear-gradient(135deg, var(--primary-color) 0%, var(--dark) 100%));
    z-index: 0;
}

/* Transparent overlay */
.auth-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.85) 0%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 1;
}

/* Content container */
.auth-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem;
}

/* Auth card - Login & Simple Forms */
.auth-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 450px;
    width: 100%;
    padding: 2.5rem;
}

/* Auth card - Register (Multi-step) */
.auth-card-wide {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 1200px;
    width: 100%;
    padding: 1.5rem;
}

/* Auth card - License Activation */
.auth-card-medium {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 650px;
    width: 100%;
    padding: 2.5rem;
}

/* Dark theme auth cards */
html.dark-theme .auth-card,
html.dark-theme .auth-card-wide,
html.dark-theme .auth-card-medium {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Logo above card */
.auth-logo-wrapper {
    margin-bottom: 2.5rem;
    text-align: center;
}

/* Tenant auth logo container */
.tenant-auth-logo {
    max-width: 170px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Auth page typography */
.auth-card h4,
.auth-card-wide h3,
.auth-card-medium h4 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.auth-card-wide h3 {
    font-size: 1.5rem;
}

.auth-card h5,
.auth-card-wide h5,
.auth-card-medium h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
}

.auth-card p.text-muted,
.auth-card-wide p.text-muted,
.auth-card-medium p.text-muted {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.5;
}

html.dark-theme .auth-card h4,
html.dark-theme .auth-card-wide h3,
html.dark-theme .auth-card-medium h4,
html.dark-theme .auth-card h5,
html.dark-theme .auth-card-wide h5,
html.dark-theme .auth-card-medium h5 {
    color: #f9fafb;
}

html.dark-theme .auth-card p.text-muted,
html.dark-theme .auth-card-wide p.text-muted,
html.dark-theme .auth-card-medium p.text-muted {
    color: #d1d5db;
}

/* Section headings in register form */
.auth-card-wide .auth-step-icon {
    font-size: 1.5rem;
    color: #0f766e;
}

html.dark-theme .auth-card-wide .auth-step-icon {
    color: #14b8a6;
}

/* Section headers with better spacing */
.auth-card-wide .mb-5 {
    margin-bottom: 2.5rem !important;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.auth-card-wide .mb-5:last-of-type {
    border-bottom: none;
}

html.dark-theme .auth-card-wide .mb-5 {
    border-bottom-color: #374151;
}

/* Step section titles */
.auth-card-wide .fw-semibold {
    color: #111827;
    font-weight: 600;
}

html.dark-theme .auth-card-wide .fw-semibold {
    color: #f9fafb;
}

/* Responsive */
@media (max-width: 992px) and (min-width: 769px) {
    .auth-card-wide {
        max-width: 1000px;
    }

    /* Equal width columns for tablet mode */
    .auth-card-wide .col-md-8,
    .auth-card-wide .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .auth-card-wide .order-summary-card.sticky-top {
        position: static;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .auth-card-wide {
        max-width: 100%;
        padding: 2rem;
    }

    .auth-card-medium {
        max-width: 100%;
    }

    .auth-card-wide .order-summary-card.sticky-top {
        position: static;
        margin-top: 2rem;
    }

    /* Step indicator - smaller on tablet */
    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .step-line {
        width: 50px;
        margin: 0 8px;
    }

    /* Stack logo and page title on mobile - logo on top, title below, both centered */
    .auth-card-wide > .d-flex.justify-content-between.align-items-center {
        flex-direction: column-reverse !important;
        align-items: center !important;
        text-align: center;
        gap: 1rem !important;
    }

    .auth-card-wide > .d-flex.justify-content-between.align-items-center > h3 {
        text-align: center;
        width: 100%;
    }

}

@media (max-width: 576px) {
    .auth-content {
        padding: 1rem;
    }

    .auth-card,
    .auth-card-wide,
    .auth-card-medium {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .auth-logo-wrapper {
        margin-bottom: 1.5rem;
    }

    /* Typography adjustments */
    .auth-card h4,
    .auth-card-wide h3,
    .auth-card-medium h4 {
        font-size: 1.5rem;
    }

    /* Step indicator - smallest on mobile */
    .step-indicator {
        padding: 1rem 0;
        transform: scale(0.9);
    }

    .step-circle {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
        border-width: 2px;
    }

    .step-line {
        width: 40px;
        height: 3px;
        margin: 0 6px;
    }

    /* Section headings */
    .auth-card-wide .auth-step-icon {
        font-size: 1.25rem;
    }

    .auth-card-wide h5 {
        font-size: 1rem;
    }
}

/* ===== AUTH FORMS POLISH ===== */

/* Auth page form labels */
.auth-card .form-label,
.auth-card-wide .form-label,
.auth-card-medium .form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

html.dark-theme .auth-card .form-label,
html.dark-theme .auth-card-wide .form-label,
html.dark-theme .auth-card-medium .form-label {
    color: #e5e7eb;
}

/* Required field indicator */
.auth-card .form-label.required:after,
.auth-card-wide .form-label.required:after,
.auth-card-medium .form-label.required:after {
    content: " *";
    color: #ef4444;
    font-weight: 700;
}

/* Form help text */
.auth-card small.text-muted,
.auth-card-wide small.text-muted,
.auth-card-medium small.text-muted {
    font-size: 0.75rem;
    color: #6b7280;
    display: block;
    margin-top: 0.375rem;
}

html.dark-theme .auth-card small.text-muted,
html.dark-theme .auth-card-wide small.text-muted,
html.dark-theme .auth-card-medium small.text-muted {
    color: #9ca3af;
}

/* Form input spacing */
.auth-card .row.gy-3 > *,
.auth-card-wide .row.gy-3 > * {
    margin-bottom: 1.25rem;
}

/* Form input focus states with theme color */
.section-authentication-signin .form-control:focus,
.section-authentication-signin .form-select:focus,
.auth-card .form-control:focus,
.auth-card-wide .form-control:focus,
.auth-card-medium .form-control:focus,
.auth-card .form-select:focus,
.auth-card-wide .form-select:focus,
.auth-card-medium .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Invalid input shake animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.form-control.is-invalid {
    animation: shake 0.3s ease-in-out;
}

/* Primary button styling - Uses theme colors */
.auth-card .btn-primary,
.auth-card-wide .btn-primary,
.auth-card-medium .btn-primary {
    background: var(--gradient-primary, linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%));
    border-color: var(--primary-color);
    color: var(--btn-text-color, white);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(var(--bs-primary-rgb), 0.2);
}

.auth-card .btn-primary:hover,
.auth-card-wide .btn-primary:hover,
.auth-card-medium .btn-primary:hover {
    background: var(--gradient-primary-dark, linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%));
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.3);
}

.auth-card .btn-primary:active,
.auth-card-wide .btn-primary:active,
.auth-card-medium .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(var(--bs-primary-rgb), 0.2);
}

.auth-card .btn-primary:focus,
.auth-card-wide .btn-primary:focus,
.auth-card-medium .btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.4);
}

.auth-card .btn-primary:disabled,
.auth-card-wide .btn-primary:disabled,
.auth-card-medium .btn-primary:disabled {
    background: #9ca3af;
    border-color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.65;
}

/* Button loading state */
.auth-card .btn .spinner-border,
.auth-card-wide .btn .spinner-border,
.auth-card-medium .btn .spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Consistent link styling */
.section-authentication-signin a,
.auth-card a,
.auth-card-wide a,
.auth-card-medium a {
    color: var(--link-color, var(--primary-color));
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.section-authentication-signin a:hover,
.auth-card a:hover,
.auth-card-wide a:hover,
.auth-card-medium a:hover {
    color: var(--link-hover-color, var(--primary-dark));
    text-decoration: underline;
}

/* Exclude password toggle from link underline */
.auth-card a.input-group-text:hover,
.auth-card-wide a.input-group-text:hover,
.auth-card-medium a.input-group-text:hover,
.section-authentication-signin a.input-group-text:hover {
    text-decoration: none;
}

html.dark-theme .auth-card a,
html.dark-theme .auth-card-wide a,
html.dark-theme .auth-card-medium a {
    color: #14b8a6;
}

html.dark-theme .auth-card a:hover,
html.dark-theme .auth-card-wide a:hover,
html.dark-theme .auth-card-medium a:hover {
    color: #5eead4;
}

/* Better checkbox and radio styling - Teal theme */
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.form-check-input:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Auth card form controls - enhanced focus */
.auth-card .form-control:focus-visible,
.auth-card-wide .form-control:focus-visible,
.auth-card-medium .form-control:focus-visible,
.auth-card .form-select:focus-visible,
.auth-card-wide .form-select:focus-visible,
.auth-card-medium .form-select:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Link focus states - accessibility */
.auth-card a:focus-visible,
.auth-card-wide a:focus-visible,
.auth-card-medium a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Button focus for keyboard navigation */
.auth-card .btn:focus-visible,
.auth-card-wide .btn:focus-visible,
.auth-card-medium .btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Payment method card - keyboard accessible */
.payment-method-card:focus-within {
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.payment-radio:focus-visible {
    outline: 2px solid #0f766e;
    outline-offset: 2px;
}

/* Card hover effect */
.auth-form-panel .card,
.section-authentication-signin .card {
    transition: box-shadow 0.3s ease;
}

.auth-form-panel .card:hover,
.section-authentication-signin .card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Error message styling */
.invalid-feedback,
small.text-danger,
.auth-card small.text-danger,
.auth-card-wide small.text-danger,
.auth-card-medium small.text-danger {
    display: block;
    margin-top: 0.375rem;
    font-size: 0.8125rem;
    color: #dc3545;
    font-weight: 500;
    line-height: 1.4;
}

/* Alert styling in auth pages */
.auth-card .alert,
.auth-card-wide .alert,
.auth-card-medium .alert {
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.auth-card .alert-info,
.auth-card-wide .alert-info,
.auth-card-medium .alert-info {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

html.dark-theme .auth-card .alert-info,
html.dark-theme .auth-card-wide .alert-info,
html.dark-theme .auth-card-medium .alert-info {
    background: #064e3b;
    border-color: #065f46;
    color: #6ee7b7;
}

/* Badge styling - Teal theme */
.auth-card .badge.bg-primary,
.auth-card-wide .badge.bg-primary,
.auth-card-medium .badge.bg-primary {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%) !important;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

/* Section dividers */
.auth-card hr,
.auth-card-wide hr,
.auth-card-medium hr {
    border-color: #e5e7eb;
    opacity: 1;
    margin: 1rem 0;
}

html.dark-theme .auth-card hr,
html.dark-theme .auth-card-wide hr,
html.dark-theme .auth-card-medium hr {
    border-color: #374151;
}

/* Form label consistency */
.section-authentication-signin .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* Button loading states - ensure proper spacing */
.btn .spinner-border {
    margin-right: 0.5rem;
}

/* Dark theme refinements */
html.dark-theme .auth-form-panel .form-control:focus,
html.dark-theme .auth-form-panel .form-select:focus,
html.dark-theme .section-authentication-signin .form-control:focus,
html.dark-theme .section-authentication-signin .form-select:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 0.2rem rgba(20, 184, 166, 0.25);
}

html.dark-theme .auth-form-panel a,
html.dark-theme .section-authentication-signin a {
    color: #14b8a6;
}

html.dark-theme .auth-form-panel a:hover,
html.dark-theme .section-authentication-signin a:hover {
    color: #0f766e;
}


html.dark-theme .section-authentication-signin .form-label {
    color: #e5e7eb;
}

/* Responsive polish */
@media (max-width: 576px) {
    .auth-form-panel {
        padding: 1rem;
    }

    .auth-form-panel .card,
    .section-authentication-signin .card {
        margin: 0;
    }

    .step-indicator {
        transform: scale(0.9);
    }

    .step-line {
        width: 30px;
    }

    .section-authentication-signin .card-body {
        padding: 1rem;
    }

    .section-authentication-signin .p-4 {
        padding: 1rem;
    }
}

/* Auth Logo */
.auth-logo-img {
    height: 70px;
}

/* ===== AUTH PAGE ANIMATIONS & MICRO-INTERACTIONS ===== */

/* Smooth entrance animation for auth cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-card,
.auth-card-wide,
.auth-card-medium {
    animation: fadeInUp 0.5s ease-out;
}

/* Step indicator animation */
.step-circle {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-circle.active {
    animation: pulse-scale 2s ease-in-out infinite;
}

@keyframes pulse-scale {
    0%, 100% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* Form input smooth transitions */
.auth-card .form-control,
.auth-card-wide .form-control,
.auth-card-medium .form-control,
.auth-card .form-select,
.auth-card-wide .form-select,
.auth-card-medium .form-select {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}


/* Smooth hover transitions for interactive elements */
.auth-card a,
.auth-card-wide a,
.auth-card-medium a,
.payment-method-card,
.order-summary-card {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading spinner smooth rotation */
.spinner-border {
    animation: spinner-border 0.75s linear infinite;
}

/* Error state with subtle animation */
.is-invalid {
    animation: shake 0.3s ease-in-out;
}


/* Order summary sticky with smooth scroll */
.order-summary-card.sticky-top {
    transition: top 0.3s ease;
}

/* Icon animations on hover */
.auth-step-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}

.mb-5:hover .auth-step-icon {
    transform: scale(1.1);
}

/* Auth Step Icons */
.auth-step-icon {
    font-size: 24px;
}

.auth-lock-icon {
    font-size: 18px;
}

/* Payment Method Styles */
.payment-method-card {
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    border: 1px solid #e5e7eb;
}

.payment-method-card:hover {
    background: var(--primary-light-bg);
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(var(--bs-primary-rgb), 0.15);
}

html.dark-theme .payment-method-card {
    background: #1e293b;
    border-color: #334155;
}

.payment-radio {
    width: 20px;
    height: 20px;
}

.payment-label {
    cursor: pointer;
}

.payment-logo {
    height: 32px;
}

/* Order Summary Sticky Positioning */
.order-summary-card.sticky-top {
    top: 20px;
}

/* Mobile: Disable sticky order summary */
@media (max-width: 767px) {
    .order-summary-card.sticky-top {
        position: static;
        margin-top: 2rem;
    }
}


/* Registration Step Indicator - Teal Theme */
.step-indicator {
    gap: 0;
    padding: 1.5rem 0;
}

.step-item {
    display: flex;
    align-items: center;
}

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    background: #f3f4f6;
    color: #9ca3af;
    border: 3px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.step-circle.active {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    border-color: #0f766e;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

.step-circle.completed {
    background: linear-gradient(135deg, #0f766e 0%, #0d5f58 100%);
    border-color: #0f766e;
    color: white;
    box-shadow: 0 2px 8px rgba(15, 118, 110, 0.2);
}

.step-circle i {
    font-size: 1.25rem;
}

.step-line {
    width: 80px;
    height: 4px;
    background: #e5e7eb;
    margin: 0 12px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.step-line.completed {
    background: linear-gradient(90deg, #0f766e 0%, #14b8a6 100%);
}

/* Order Summary Card */
.order-summary-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.order-summary-card .card-header {
    background: transparent;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 600;
    padding: 1rem 1.25rem;
}

.order-summary-card .card-body {
    padding: 1.25rem;
}

.order-summary-card .card-footer {
    padding: 1.25rem;
    background: transparent;
}

html.dark-theme .order-summary-card {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

html.dark-theme .order-summary-card .card-header {
    border-bottom-color: #334155;
}

html.dark-theme .order-summary-card h4,
html.dark-theme .order-summary-card h5 {
    color: #f9fafb;
}

/* Dark mode - Step indicators */
html.dark-theme .step-circle {
    background: #374151;
    border-color: #4b5563;
    color: #9ca3af;
}

html.dark-theme .step-circle.active {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    border-color: #14b8a6;
    color: white;
}

html.dark-theme .step-circle.completed {
    background: linear-gradient(135deg, #0d5f58 0%, #0f766e 100%);
    border-color: #0f766e;
    color: white;
}


/* Payment Method Card - moved to line 160 with other payment styles */

/* Old illustration panel styles removed - using new full background design */

/* Sidebar Collapsed State - Prevents FOUC */
html.sidebar-collapsed .wrapper .sidebar-wrapper {
    left: -300px;
}
html.sidebar-collapsed .wrapper .page-wrapper {
    margin-left: 0;
}
html.sidebar-collapsed .wrapper .page-footer {
    left: 0;
}
html.sidebar-collapsed .wrapper .overlay {
    display: none;
}

/* Dark Mode Icon Toggle Styles */
.light-theme .dark-mode-icon > i.bx-sun {
    display: none;
}

.dark-theme .dark-mode-icon > i.bx-moon {
    display: none;
}

/* Button Styles */
.btn-group-xs>.btn, .btn-xs {
    --bs-btn-padding-y: 0.15rem;
    --bs-btn-padding-x: 0.5rem;
    --bs-btn-font-size: 0.825rem;
    --bs-btn-border-radius: var(--bs-border-radius-sm);
}


.widget-height {
    max-height: 350px;
    overflow-y: auto;
}

.card {
    margin-bottom: 0;
}

label.required:after {
    content: " *";
    color: var(--danger);
}

.settings-img-preview {
    width: 100%;
    height: 50px;
    object-fit: contain;
    object-position: left;
}

.sidebar-logo-container {
    width: 170px;
    margin-left: 10px
}

input.theme-settings-color {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    padding: 0;
}

.sidebar-logo {
    width: 100%;
    height: 60px;
    object-fit: contain;
    object-position: center;
}

.export-icon {
    width: 18px;
    height: 18px;
}

.blinker {
    animation: blinker 1s step-start infinite;
}

.fade-blinker {
    animation: blinker 1s normal infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.digital-clock {
    font-family: 'DS-DIGITAL', monospace;
    font-size: 1.64rem;
    font-weight: bold;
}

.autocomplete-suggestions {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    position: absolute;
    width: 100%;
    top: calc(100% + 5px);
    z-index: 1000;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
}

.autocomplete-suggestions ul {
    display: flex;
    flex-direction: column;
    padding: 0;
    list-style: none;
    margin: 0;
    max-height: 215px;
    overflow-y: auto;
}

.autocomplete-suggestion-title {
    font-weight: bold;
    padding: 5px 10px;
}

.autocomplete-suggestion {
    padding: 5px 10px;
    cursor: pointer;
}

.autocomplete-suggestion:hover {
    background-color: var(--light);
}

.autocomplete-suggestion-default {
    padding: 5px 10px;
}

.autocomplete-suggestions-loader {
    border-radius: 5px;
    margin: 0;
}

.weather-icon img {
    width: 70px;
    height: 70px;
}

.rotate {
    animation: rotate 1s linear;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

ul.position-form-widgets-list {
    max-height: 300px;
    padding: 0;
    border: 1px solid var(--border-color);
    overflow-y: auto;
}

ul.position-status-list {
    max-height: 300px;
    padding: 0;
    border: 1px solid var(--border-color);
    overflow-y: auto;
}

ul.position-form-widgets-list li,
ul.position-status-list li
{
    cursor: grab;
    list-style: none;
}

ul.position-form-widgets-list li:active,
ul.position-status-list li:active
{
    cursor: grabbing;
}

.sortable-ghost {
    opacity: 0.8;
    transform: scale(1.02);
    background-color: rgba(var(--bs-primary-rgb), 0.15);
    border: 2px dashed var(--primary-color);
}

/* Optional: Animation while sorting */
.sortable-chosen {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    border: 2px solid var(--primary-color);
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before {
    margin-bottom: 20px;
}

/* Detail Modal Styles */
.detail-modal-container {
    text-align: left;
    font-size: 14px;
}

.detail-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.detail-modal-field {
    display: flex;
    flex-direction: column;
}

.detail-modal-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 2px;
    font-weight: 500;
}

.detail-modal-value {
    font-weight: 500;
    word-break: break-word;
}

.detail-modal-section {
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    margin-top: 12px;
}

.detail-modal-section-title {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}

.detail-modal-section-content {
    font-size: 13px;
}

.detail-modal-price-discounted {
    color: var(--success);
    font-weight: 500;
}

.detail-modal-price-original {
    color: var(--text-muted);
    text-decoration: line-through;
}


/* Statistics Modal Styles */
.statistics-modal-popup {
    text-align: left;
}

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

/* Import Wizard Styles */
.wizard-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.wizard-steps .step {
    flex: 1;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.wizard-steps .step-indicator {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.wizard-steps .step-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #dee2e6;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.wizard-steps .step.active .step-circle {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0b5ed7 100%);
    border-color: var(--bs-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    transform: scale(1.08);
}

.wizard-steps .step.completed .step-circle {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    border-color: #198754;
    color: #fff;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.25);
}

.wizard-steps .step-circle i {
    transition: all 0.3s ease;
}

.wizard-steps .step.active .step-circle i {
    animation: pulse-icon 1.5s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.wizard-steps .step-connector {
    flex: 1;
    height: 3px;
    background: #dee2e6;
    position: absolute;
    left: calc(50% + 16px);
    top: 16px;
    width: 100%;
    z-index: 1;
    transition: all 0.3s ease;
}

.wizard-steps .step.completed .step-connector {
    background: linear-gradient(90deg, #198754 0%, #28a745 100%);
}

.wizard-steps .step.active .step-connector {
    background: linear-gradient(90deg, #dee2e6 0%, #dee2e6 50%, #dee2e6 100%);
}

.wizard-steps .step-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wizard-steps .step.active .step-label {
    color: var(--bs-primary);
    font-weight: 700;
}

.wizard-steps .step.completed .step-label {
    color: #198754;
}

.wizard-content {
    min-height: 400px;
    padding: 2rem;
}

.wizard-footer {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem;
    border-top: 1px solid #dee2e6;
}

/* Upload Step Styles */
.upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--bs-primary);
    background: #f8f9ff;
}

.upload-area i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-preview {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.file-size {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Upload Step - File Icon Size */
.file-icon-medium {
    font-size: 1.5rem;
}

/* Upload Step - Spinner Size */
.spinner-medium {
    width: 2rem;
    height: 2rem;
}

/* Mapping Step Styles */
.mapping-list {
    margin-bottom: 2rem;
}

.mapping-row {
    display: grid;
    grid-template-columns: 1fr auto 2fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.csv-column {
    font-weight: 600;
    color: var(--text-primary);
}

.mapping-row i {
    color: var(--bs-primary);
}

.mapping-row select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.confidence-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background: #d4edda;
    color: #155724;
}

.required-fields-check {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

.required-fields-check h6 {
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.field-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.field-status.mapped i {
    color: #198754;
}

.field-status.unmapped i {
    color: #dc3545;
}

/* Preview Step Styles */
.preview-step .table {
    margin-top: 1.5rem;
}

.preview-step .has-error {
    background: #f8d7da;
}

.preview-step .valid {
    background: #d4edda;
}

.preview-step .error-row td {
    background: #fff;
    padding: 0.5rem 1rem;
}

.conflict-options {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.conflict-options .option {
    padding: 1rem;
    background: #fff;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.conflict-options .option:hover {
    border-color: var(--bs-primary);
}

.conflict-options .option input[type="radio"] {
    margin-right: 0.75rem;
}

/* Result Step Styles */
.result-step {
    text-align: center;
}

.progress-container {
    max-width: 600px;
    margin: 2rem auto;
}

.progress-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1rem;
}

.progress-details {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.success-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.failed-rows {
    margin-top: 2rem;
    text-align: left;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Result Step - Progress Bar Height */
.progress-height-medium {
    height: 30px;
}

/* Result Step - Large Spinner */
.spinner-large {
    width: 4rem;
    height: 4rem;
}

/* Result Step - Large Icon */
.icon-large {
    font-size: 3rem;
}

/* ============================================
   COMPACT IMPORT WIZARD STYLES
   ============================================ */

/* Wizard Container */
.modal-content .wizard-steps {
    padding: 12px 16px;
    margin-bottom: 12px;
}

.wizard-steps .step {
    font-size: 12px;
}

.wizard-steps .step-circle {
    width: 32px;
    height: 32px;
    font-size: 16px;
}

.wizard-steps .step-label {
    font-size: 11px;
    margin-top: 4px;
}

/* Wizard Content */
.wizard-content {
    padding: 16px 20px;
    min-height: 300px;
}

/* Step Titles */
.upload-step h5,
.mapping-step h5,
.preview-step h5,
.result-step h5 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.upload-step .text-muted,
.mapping-step .text-muted,
.preview-step .text-muted {
    font-size: 13px;
    margin-bottom: 12px;
}

/* Upload Step */
.upload-step .mb-4 {
    margin-bottom: 12px !important;
}

.upload-step .alert {
    padding: 10px 12px;
    font-size: 13px;
}

.upload-step .card {
    margin-top: 12px;
}

.upload-step .card-body {
    padding: 12px;
}

.upload-step .card-title {
    font-size: 13px;
    margin-bottom: 8px;
}

.upload-step ul.small {
    font-size: 12px;
    margin-bottom: 0;
    padding-left: 20px;
}

.upload-step ul.small li {
    margin-bottom: 4px;
}

/* Mapping Step */
.mapping-step .mb-3 {
    margin-bottom: 12px !important;
}

.mapping-step .mapping-list {
    margin-bottom: 16px;
}

.mapping-step .mapping-row {
    padding: 8px 12px;
    margin-bottom: 8px;
    font-size: 13px;
}

.mapping-step .confidence-badge {
    font-size: 11px;
    padding: 2px 6px;
}

.mapping-step .required-fields-check h6 {
    font-size: 13px;
    margin-bottom: 10px;
}

.mapping-step .field-status {
    font-size: 12px;
    padding: 6px 10px;
}

/* Preview Step */
.preview-step .table-responsive {
    margin-bottom: 12px;
}

.preview-step .table {
    font-size: 12px;
}

.preview-step .table th,
.preview-step .table td {
    padding: 6px 8px;
}

.preview-step .alert {
    padding: 8px 12px;
    font-size: 12px;
}

.preview-step .conflict-options {
    margin-top: 16px;
}

.preview-step .conflict-options h6 {
    font-size: 13px;
    margin-bottom: 6px;
}

.preview-step .conflict-options .text-muted {
    font-size: 11px;
}

.preview-step .option {
    padding: 8px 10px;
    margin-bottom: 6px;
}

.preview-step .option strong {
    font-size: 13px;
}

.preview-step .option .text-muted {
    font-size: 11px;
}

/* Result Step */
.result-step h5 {
    font-size: 16px;
    margin-bottom: 6px;
}

.result-step .text-muted {
    font-size: 12px;
}

.result-step .progress-container {
    margin: 16px auto;
    max-width: 500px;
}

.result-step .progress-text {
    font-size: 14px;
    margin-top: 8px;
}

.result-step .progress-details {
    font-size: 12px;
    margin-top: 4px;
}

.result-step .success-summary {
    gap: 10px;
    margin: 16px 0;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.result-step .stat-card {
    padding: 12px;
}

.result-step .stat-label {
    font-size: 11px;
    margin-bottom: 4px;
}

.result-step .stat-value {
    font-size: 20px;
}

.result-step .action-buttons {
    margin-top: 16px;
    gap: 8px;
}

.result-step .action-buttons .btn {
    font-size: 13px;
    padding: 6px 16px;
}

.result-step .spinner-large {
    width: 3rem;
    height: 3rem;
}

.result-step .icon-large {
    font-size: 2.5rem;
}

/* Wizard Footer */
.wizard-footer {
    padding: 12px 20px;
    border-top: 1px solid #dee2e6;
}

.wizard-footer .btn {
    font-size: 13px;
    padding: 6px 16px;
}

/* ============================================
   STATISTICS MODAL STYLES - MODERN REDESIGN
   ============================================ */

/* Modern Stat Cards with Icons */
.stat-card-modern {
    background: #ffffff;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.stat-card-modern:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.stat-card-modern__icon {
    font-size: 24px;
    color: #6b7280;
    flex-shrink: 0;
}

.stat-card-modern__content {
    flex: 1;
    min-width: 0;
}

.stat-card-modern__label {
    font-size: 10px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    font-weight: 600;
}

.stat-card-modern__value {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

/* Success Card */
.stat-card-modern--success {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #a7f3d0;
}

.stat-card-modern--success .stat-card-modern__icon {
    color: #10b981;
}

.stat-card-modern--success .stat-card-modern__value {
    color: #047857;
}

/* Warning Card */
.stat-card-modern--warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fde68a;
}

.stat-card-modern--warning .stat-card-modern__icon {
    color: #f59e0b;
}

.stat-card-modern--warning .stat-card-modern__value {
    color: #b45309;
}

/* Danger Card */
.stat-card-modern--danger {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #fecaca;
}

.stat-card-modern--danger .stat-card-modern__icon {
    color: #ef4444;
}

.stat-card-modern--danger .stat-card-modern__value {
    color: #991b1b;
}

/* Import Metrics Section */
.import-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 16px;
}

.import-metrics__item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.import-metrics__icon {
    font-size: 18px;
    color: var(--primary-color, #0f766e);
    flex-shrink: 0;
}

.import-metrics__content {
    flex: 1;
    min-width: 0;
}

.import-metrics__label {
    font-size: 10px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
    font-weight: 600;
}

.import-metrics__value {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    line-height: 1.2;
}

/* Stats Section */
.stats-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
    margin-top: 16px;
}

.stats-section__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stats-section__icon {
    font-size: 18px;
    color: #6b7280;
}

.stats-section__title {
    font-size: 14px;
    color: #111827;
    margin: 0;
    font-weight: 600;
}

.stats-section__count {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

/* Modern Error List */
.error-list-modern {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.error-item-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #fee2e2;
    transition: all 0.2s ease;
}

.error-item-modern:hover {
    background: #fef2f2;
    border-color: #fecaca;
}

.error-item-modern__message {
    font-size: 12px;
    color: #991b1b;
    flex: 1;
    line-height: 1.4;
}

.error-item-modern__count {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    background: #ef4444;
    color: #ffffff;
    border-radius: 12px;
    min-width: 28px;
    text-align: center;
}

/* Failed Rows Table Modern */
.failed-rows-table-modern {
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.failed-rows-table-modern .table-responsive {
    max-height: 300px;
    overflow-y: auto;
}

.failed-rows-table-modern .table {
    font-size: 12px;
    margin-bottom: 0;
}

.failed-rows-table-modern .table thead {
    position: sticky;
    top: 0;
    background: #f9fafb;
    z-index: 1;
}

.failed-rows-table-modern .table th {
    padding: 8px 10px;
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 600;
    border-bottom: 2px solid #e5e7eb;
}

.failed-rows-table-modern .table td {
    padding: 8px 10px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

.failed-rows-table-modern .table td.text-danger {
    color: #991b1b;
    font-size: 11px;
}

/* Stats Modal Actions */
.stats-modal-actions {
    margin-top: 16px;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.stats-modal-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 8px 16px;
    font-weight: 500;
}

.stats-modal-actions .btn i {
    font-size: 16px;
}

/* ============================================
   NOTIFICATION DROPDOWN STYLES
   ============================================ */

/* CSS Variables */
:root {
    --notif-primary: var(--primary-color, #0f766e);
    --notif-success: #10b981;
    --notif-danger: #ef4444;
    --notif-warning: #f59e0b;
    --notif-gray-50: #f9fafb;
    --notif-gray-100: #f3f4f6;
    --notif-gray-200: #e5e7eb;
    --notif-gray-300: #d1d5db;
    --notif-gray-400: #9ca3af;
    --notif-gray-500: #6b7280;
    --notif-gray-600: #4b5563;
    --notif-gray-700: #374151;
    --notif-gray-800: #1f2937;
    --notif-gray-900: #111827;
}

.notif-dropdown-wrapper .dropdown-menu {
    width: 380px;
    max-height: 500px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--notif-gray-200);
    padding: 0;
    overflow: hidden;
}

/* Header */
.notif-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border-bottom: 1px solid var(--notif-gray-200);
    background: #ffffff;
}

.notif-dropdown-header__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--notif-gray-900);
    margin: 0;
}

.notif-dropdown-header__clear {
    background: transparent;
    border: none;
    color: var(--notif-gray-500);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.notif-dropdown-header__clear:hover {
    background: var(--notif-gray-100);
    color: var(--notif-gray-700);
}

/* Badge with pulse animation */
.notif-dropdown-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--notif-danger);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 10px;
    padding: 0 6px;
    animation: notif-pulse 2s ease-in-out infinite;
}

@keyframes notif-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
}

/* Container */
.notif-dropdown-container {
    max-height: 350px;
    overflow-y: auto;
    background: #ffffff;
}

.notif-dropdown-container::-webkit-scrollbar {
    width: 6px;
}

.notif-dropdown-container::-webkit-scrollbar-track {
    background: transparent;
}

.notif-dropdown-container::-webkit-scrollbar-thumb {
    background: var(--notif-gray-300);
    border-radius: 3px;
}

.notif-dropdown-container::-webkit-scrollbar-thumb:hover {
    background: var(--notif-gray-400);
}

/* Loading State */
.notif-dropdown-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    gap: 12px;
}

.notif-dropdown-loading__spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--notif-gray-200);
    border-top-color: var(--notif-primary);
    border-radius: 50%;
    animation: notif-spin 0.8s linear infinite;
}

@keyframes notif-spin {
    to {
        transform: rotate(360deg);
    }
}

.notif-dropdown-loading__text {
    font-size: 13px;
    color: var(--notif-gray-500);
    font-weight: 500;
}

/* Empty State */
.notif-dropdown-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    gap: 12px;
}

.notif-dropdown-empty__icon {
    font-size: 48px;
    color: var(--notif-gray-300);
}

.notif-dropdown-empty__text {
    font-size: 14px;
    color: var(--notif-gray-500);
    font-weight: 500;
    margin: 0;
}

/* Footer */
.notif-dropdown-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0px;
    border-top: 1px solid var(--notif-gray-200);
    transition: all 0.2s ease;
}

.notif-dropdown-footer__link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--notif-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.notif-dropdown-footer__link:hover {
    color: var(--primary-dark, #0d5f58);
    gap: 8px;
}

.notif-dropdown-footer__link i {
    font-size: 14px;
}

.notif-dropdown-footer:hover {
    background: #ffffff;
}

/* Notification Items */
.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px 10px 16px;
    border-bottom: 1px solid var(--notif-gray-100);
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    cursor: pointer;
}

.notif-item:hover {
    background: var(--notif-gray-50);
}

.notif-item:last-child {
    border-bottom: none;
}

/* Processing notification pulse animation */
.notif-item[data-status="processing"] {
    animation: notif-processing-pulse 2s ease-in-out infinite;
}

@keyframes notif-processing-pulse {
    0%, 100% {
        background-color: transparent;
    }
    50% {
        background-color: rgba(59, 130, 246, 0.03);
    }
}

/* Processing indicator pulse */
.notif-item[data-status="processing"] .notif-item__indicator--processing {
    animation: notif-indicator-pulse 1.5s ease-in-out infinite;
}

@keyframes notif-indicator-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Indicator */
.notif-item__indicator {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 0 2px 2px 0;
}

.notif-item__indicator--processing {
    background: var(--notif-primary);
}

.notif-item__indicator--completed {
    background: var(--notif-success);
}

.notif-item__indicator--failed {
    background: var(--notif-danger);
}

.notif-item__indicator--warning {
    background: var(--notif-warning);
}

.notif-item__indicator--info,
.notif-item__indicator--success,
.notif-item__indicator--danger {
    background: var(--notif-primary);
}

/* Header */
.notif-item__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

/* Content */
.notif-item__content {
    flex: 1;
    min-width: 0;
    position: relative;
}

.notif-item__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--notif-gray-900);
    flex: 1;
    min-width: 0;
}

.notif-item__title i {
    font-size: 14px;
    color: var(--notif-gray-500);
}

.notif-item__message {
    font-size: 12px;
    color: var(--notif-gray-600);
    margin-bottom: 6px;
    line-height: 1.4;
}

.notif-item__message--error-text {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: #991b1b;
}

.notif-item__message--error-text i {
    font-size: 14px;
    color: var(--notif-danger);
    flex-shrink: 0;
    margin-top: 1px;
}

/* Progress Bar */
.notif-item__progress {
    height: 2px; /* Ultra-thin progress bar */
    background: var(--notif-gray-200);
    border-radius: 1px;
    overflow: hidden;
    margin-bottom: 6px;
}

.notif-item__progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--notif-primary) 0%, #60a5fa 50%, var(--notif-primary) 100%);
    background-size: 200% 100%;
    border-radius: 1px;
    transition: width 0.3s ease;
    animation: notif-progress-shimmer 1.5s ease-in-out infinite;
}

@keyframes notif-progress-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Indeterminate progress bar for preparing state */
.notif-item__progress--indeterminate {
    position: relative;
    overflow: hidden;
}

.notif-item__progress--indeterminate::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.6), transparent);
    animation: indeterminate 1.5s ease-in-out infinite;
}

@keyframes indeterminate {
    0% { left: -50%; }
    100% { left: 100%; }
}

/* Meta */
.notif-item__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.notif-item__time {
    font-size: 11px;
    color: var(--notif-gray-400);
    font-weight: 500;
}

.notif-item__badge {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.notif-item__badge--processing {
    background: rgba(59, 130, 246, 0.15);
    color: var(--notif-primary);
    font-weight: 700;
    animation: notif-badge-pulse 2s ease-in-out infinite;
}

.notif-item__badge--preparing {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    font-weight: 700;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes notif-badge-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.notif-item__badge--completed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--notif-success);
}

.notif-item__badge--failed {
    background: rgba(239, 68, 68, 0.1);
    color: var(--notif-danger);
}

.notif-item__stats {
    font-size: 11px;
    color: var(--notif-gray-500);
    font-weight: 500;
}

/* Stats Group */
.notif-item__stats-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.notif-item__stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 6px;
}

.notif-item__stat i {
    font-size: 12px;
}

.notif-item__stat--success {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
}

.notif-item__stat--danger {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
}

.notif-item__stat--warning {
    background: rgba(245, 158, 11, 0.1);
    color: #b45309;
}

/* Footer */
.notif-item__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
}

/* ============================================
   NOTIFICATIONS LIST PAGE STYLES
   ============================================ */

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notification-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.notification-list-item.unread {
    background: #f8f9fa;
    border-left: 3px solid var(--bs-primary);
}

.notification-list-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.notification-item-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

.notification-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e7f1ff;
    border-radius: 8px;
    flex-shrink: 0;
}

.notification-icon i {
    font-size: 20px;
    color: var(--bs-primary);
}

.notification-details {
    flex: 1;
    min-width: 0;
}

.notification-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.notification-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.notification-time {
    font-size: 11px;
    color: #9ca3af;
    white-space: nowrap;
}

.notification-message {
    font-size: 13px;
    color: var(--text-muted);
    margin: 4px 0;
    line-height: 1.4;
}

.notification-progress {
    margin-top: 6px;
}

.notification-meta {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

.notification-meta .badge {
    font-size: 10px;
    padding: 3px 8px;
}

.notification-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.notification-actions .btn {
    padding: 4px 8px;
}

/* ============================================
   NAVIGATION SEARCH DROPDOWN STYLES
   ============================================ */

/* Dropdown Container */
.navigation-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1050;
}

/* Scrollbar Styling */
.navigation-search-dropdown::-webkit-scrollbar {
    width: 6px;
}

.navigation-search-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.navigation-search-dropdown::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 3px;
}

.navigation-search-dropdown::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

/* Search Result Item */
.navigation-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-primary);
    border-bottom: 1px solid #f1f3f5;
    transition: all 0.2s ease;
}

.navigation-search-item:last-child {
    border-bottom: none;
}

.navigation-search-item:hover,
.navigation-search-item.selected {
    background: #f8f9fa;
    color: var(--bs-primary);
}

.navigation-search-item.selected {
    border-left: 3px solid var(--bs-primary);
}

/* Item Icon */
.navigation-search-item .item-icon {
    font-size: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.navigation-search-item:hover .item-icon,
.navigation-search-item.selected .item-icon {
    color: var(--bs-primary);
}

/* Item Content */
.navigation-search-item .item-content {
    flex: 1;
    min-width: 0;
}

.navigation-search-item .item-label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
    line-height: 1.4;
}

.navigation-search-item .item-label mark {
    background: #fff3cd;
    color: #000;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 600;
}

.navigation-search-item .item-category {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 500;
}

/* Empty State */
.navigation-search-empty {
    padding: 32px 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Dark Theme Support */
.dark-theme .navigation-search-dropdown {
    background: #1f2937;
    border-color: #374151;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.dark-theme .navigation-search-item {
    color: #e5e7eb;
    border-bottom-color: #374151;
}

.dark-theme .navigation-search-item:hover,
.dark-theme .navigation-search-item.selected {
    background: #374151;
    color: #60a5fa;
}

.dark-theme .navigation-search-item.selected {
    border-left-color: #60a5fa;
}

.dark-theme .navigation-search-item .item-icon {
    color: #9ca3af;
}

.dark-theme .navigation-search-item:hover .item-icon,
.dark-theme .navigation-search-item.selected .item-icon {
    color: #60a5fa;
}

.dark-theme .navigation-search-item .item-label mark {
    background: #fbbf24;
    color: #1f2937;
}

.dark-theme .navigation-search-item .item-category {
    color: #9ca3af;
}

.dark-theme .navigation-search-empty {
    color: #9ca3af;
}

.dark-theme .navigation-search-dropdown::-webkit-scrollbar-thumb {
    background: #4b5563;
}

.dark-theme .navigation-search-dropdown::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* ============================================
   BRANCH SWITCHER DROPDOWN STYLES
   ============================================ */

.branch-switcher-wrapper .dropdown-menu,
.dropdown-large .dropdown-menu {
    width: 320px;
    max-height: 400px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    padding: 0;
    overflow: hidden;
}

.branch-switcher-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border-bottom: 1px solid #dee2e6;
    background: #ffffff;
}

.branch-switcher-header__title {
    font-weight: 400;
    color: #111827;
    margin: 0;
}

.branch-switcher-header__current {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 6px;
}

.branch-switcher-container {
    max-height: 300px;
    overflow-y: auto;
    background: #ffffff;
}

.branch-switcher-container::-webkit-scrollbar {
    width: 6px;
}

.branch-switcher-container::-webkit-scrollbar-track {
    background: transparent;
}

.branch-switcher-container::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 3px;
}

.branch-switcher-container::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

.branch-switcher-form {
    margin: 0;
}

.branch-switcher-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: transparent;
    border-bottom: 1px solid #f1f3f5;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-primary);
}

.branch-switcher-item:last-child {
    border-bottom: none;
}

.branch-switcher-item:hover:not(.active):not(:disabled) {
    background: #f8f9fa;
}

.branch-switcher-item:disabled {
    cursor: not-allowed;
    opacity: 1;
}

.branch-switcher-item__content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.branch-switcher-item__icon {
    font-size: 17px;
    transition: color 0.2s ease;
}

.branch-switcher-item__details {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.branch-switcher-item__name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.branch-switcher-item__badge {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #b45309;
}

/* Dark Theme Support */
.dark-theme .branch-switcher-header {
    background: #1f2937;
    border-bottom-color: #374151;
}

.dark-theme .branch-switcher-header__title {
    color: #e5e7eb;
}

.dark-theme .branch-switcher-header__current {
    background: #374151;
    color: #9ca3af;
}

.dark-theme .branch-switcher-container {
    background: #1f2937;
}

.dark-theme .branch-switcher-item {
    color: #e5e7eb;
    border-bottom-color: #374151;
}

.dark-theme .branch-switcher-item:hover:not(.active):not(:disabled) {
    background: #374151;
}

.dark-theme .branch-switcher-container::-webkit-scrollbar-thumb {
    background: #4b5563;
}

.dark-theme .branch-switcher-container::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* ============================================
   SIDEBAR WEATHER WIDGET
   ============================================ */

/* Sidebar Weather Container */
.sidebar-weather {
    flex-shrink: 0;
    padding: 12px 15px;
    border-top: 1px solid #e4e4e4;
    background: #ffffff;
    transition: all 0.3s ease;
}

/* Compact layout for sidebar */
.sidebar-weather .d-flex {
    gap: 8px;
}

/* Make weather icon smaller for sidebar */
.sidebar-weather .weather-icon {
    width: 32px;
    height: 32px;
}

.sidebar-weather .weather-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Compact temperature display */
.sidebar-weather .weather-temperature {
    font-size: 1.25rem !important;
    line-height: 1;
    font-weight: 600;
}

/* Compact condition text */
.sidebar-weather .condition {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 2px;
}

/* Refresh button sizing */
.sidebar-weather #refresh-btn {
    font-size: 1rem;
}

.sidebar-weather .bx-refresh {
    font-size: 1rem;
}

/* Error message styling */
.sidebar-weather .text-danger small {
    font-size: 0.7rem;
    line-height: 1.2;
}

/* Collapsed sidebar - hide weather widget completely */
.wrapper.toggled .sidebar-weather {
    display: none;
}

/* Dark theme */
html.dark-theme .sidebar-weather {
    background: #1e1e1e;
    border-top-color: #3a3a3a;
}

html.dark-theme .sidebar-weather .condition {
    color: #9ca3af;
}

/* Semi-dark theme */
html.semi-dark .sidebar-weather {
    background: #171717;
    border-top-color: #3a3a3a;
}

html.semi-dark .sidebar-weather .condition {
    color: #9ca3af;
}

/* Mobile - Show weather widget when sidebar is open */
@media (max-width: 1024px) {
    .wrapper.toggled .sidebar-weather {
        display: block;
    }

    .wrapper:not(.toggled) .sidebar-weather {
        display: none;
    }
}

/* ============================================
   SIDEBAR FOOTER - PACKAGE BADGE
   ============================================ */

/* Sidebar wrapper flexbox layout */
.sidebar-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Scrollable area takes remaining space - let SimpleBar handle overflow */
.sidebar-scrollable {
    flex: 1 1 0;
    min-height: 0;
}

/* Sidebar Footer - Package Badge - stays at bottom */
.sidebar-footer {
    flex-shrink: 0;
    padding: 12px 15px;
    border-top: 1px solid #e4e4e4;
    background: #ffffff;
}

.sidebar-package-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.sidebar-package-badge i {
    font-size: 16px;
}

.sidebar-package-badge .package-name {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Collapsed sidebar - hide text, show icon only */
.wrapper.toggled .sidebar-package-badge .package-name {
    display: none;
}

.wrapper.toggled .sidebar-footer {
    padding: 12px 8px;
}

.wrapper.toggled .sidebar-package-badge {
    justify-content: center;
    padding: 8px;
}

/* Sidebar logo toggle - Default: show full logo, hide icon */
.sidebar-logo-icon {
    display: none;
}

.sidebar-logo-full {
    display: block;
}

/* Collapsed sidebar - show icon logo, hide full logo */
.wrapper.toggled .sidebar-logo-icon {
    display: block;
}

.wrapper.toggled .sidebar-logo-full {
    display: none;
}

/* Collapsed sidebar on hover - show full logo, hide icon */
.wrapper.toggled.sidebar-hovered .sidebar-logo-full {
    display: block;
}

.wrapper.toggled.sidebar-hovered .sidebar-logo-icon {
    display: none;
}

/* Dark theme */
html.dark-theme .sidebar-footer {
    background: #1e1e1e;
    border-top-color: #3a3a3a;
}

/* Semi-dark theme */
html.semi-dark .sidebar-footer {
    background: #171717;
    border-top-color: #3a3a3a;
}

/* Activity Timeline */
.activity-timeline {
    position: relative;
}

.activity-item {
    position: relative;
}

.activity-item:last-child {
    border-bottom: none !important;
}

.activity-icon {
    flex-shrink: 0;
}

.activity-description {
    font-size: 0.875rem;
    line-height: 1.4;
}

.activity-meta {
    font-size: 0.75rem;
}

/* ============================================
   FRONTEND FIXES - RESPONSIVE & MOBILE
   ============================================ */

.wrapper.toggled .sidebar-package-badge {
    cursor: pointer;
}

.mobile-toggle-menu,
.mobile-toggle-menu:focus,
.mobile-toggle-menu:active,
.mobile-toggle-menu:hover {
    -webkit-tap-highlight-color: transparent;
    outline: none;
    box-shadow: none;
    color: var(--bs-primary);
}

.btn:focus,
.btn:active {
    box-shadow: none;
}

/* Issue 6: Add gap between card rows on mobile */
@media (max-width: 768px) {
    .page-content .row {
        --bs-gutter-y: 1rem;
    }
}

/* Issue 7: Mobile - Show package name when sidebar is open, hide when closed */
@media (max-width: 1024px) {
    .wrapper.toggled .sidebar-package-badge .package-name {
        display: inline;
    }

    .wrapper:not(.toggled) .sidebar-package-badge .package-name {
        display: none;
    }

    /* Mobile - Show full logo when sidebar is open, icon when closed */
    .wrapper.toggled .sidebar-logo-full {
        display: block;
    }

    .wrapper.toggled .sidebar-logo-icon {
        display: none;
    }

    .wrapper:not(.toggled) .sidebar-logo-full {
        display: none;
    }

    .wrapper:not(.toggled) .sidebar-logo-icon {
        display: block;
    }
}

/* Issue 8: Compact table actions on mobile */
@media (max-width: 768px) {
    .table .btn-group {
        flex-wrap: nowrap;
    }

    .table .btn-sm {
        padding: 0.25rem 0.4rem;
        font-size: 0.75rem;
    }
}

/* Issue 9: Prevent footer from cropping content */
@media (max-width: 1024px) {
    .page-content {
        min-height: calc(100vh - 0px);
    }
}

/* Issue 10: Sticky actions column in DataTable on mobile */
@media (max-width: 768px) {
    .datatable table td:last-child:not(.dtr-hidden),
    .datatable table th:last-child:not(.dtr-hidden),
    .datatable table td.actions-column:not(.dtr-hidden),
    .datatable table th.actions-column:not(.dtr-hidden) {
        position: sticky;
        right: 0;
        background: var(--bs-card-bg, #fff);
        z-index: 1;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    }

    html.dark-theme .datatable table td:last-child:not(.dtr-hidden),
    html.dark-theme .datatable table th:last-child:not(.dtr-hidden),
    html.dark-theme .datatable table td.actions-column:not(.dtr-hidden),
    html.dark-theme .datatable table th.actions-column:not(.dtr-hidden) {
        background: #212529;
    }

    html.dark-theme .datatable table tbody tr:hover td:last-child:not(.dtr-hidden),
    html.dark-theme .datatable table tbody tr:hover td.actions-column:not(.dtr-hidden) {
        background: #2c3034;
    }

    /* Reset sticky when column is hidden by DataTables responsive */
    .datatable table td.dtr-hidden,
    .datatable table th.dtr-hidden {
        position: static;
    }
}

/* Issue 11: View all notifications link color */
.notif-dropdown-footer__link {
    color: var(--bs-primary, #0d6efd);
}

.notif-dropdown-footer__link:hover {
    color: var(--bs-primary, #0d6efd);
    opacity: 0.8;
}

/* Issue 12: Notifications dropdown spacing on mobile */
@media (max-width: 620px) {
    .notif-dropdown-wrapper .dropdown-menu {
        position: fixed;
        top: 60px;
        left: 10px;
        right: 10px;
        width: auto;
        max-width: calc(100vw - 20px);
        transform: none;
        margin: 0;
    }
}

/* Issue 15: DataTable responsive child row full width */
table.dataTable.dtr-inline.collapsed > tbody > tr.child ul.dtr-details {
    width: 100%;
    display: block;
}

table.dataTable.dtr-inline.collapsed > tbody > tr.child ul.dtr-details > li {
    width: 100%;
    white-space: normal;
    word-wrap: break-word;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 8px 0;
}

@media (max-width: 768px) {
    table.dataTable.dtr-inline.collapsed > tbody > tr.child td {
        padding: 10px;
    }
}

/* Remove unwanted top margin from DataTables table row */
.datatable .dt-container .row.dt-layout-table {
    margin-top: 0 !important;
}

/* ===== LOGIN TWO-COLUMN LAYOUT WITH SLIDESHOW ===== */

/* Login Two-Column Container */
.login-two-column {
    display: flex;
    max-width: 1200px;
    width: 100%;
    min-height: 600px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

/* Left Section - Slideshow */
.login-slideshow-section {
    flex: 1;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Right Section - Login Form */
.login-form-section {
    flex: 1;
    background: #fff;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Logo positioning in form section */
.login-form-section .auth-logo-wrapper {
    position: absolute;
    top: 2rem;
    right: 2rem;
    margin-bottom: 0;
    text-align: right;
}

/* Form content wrapper */
.login-form-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 3rem;
}

/* Slideshow Container */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    z-index: 1;
}

/* Individual Slide */
.login-tip-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    flex-direction: column;
    color: white;
    pointer-events: none;
    will-change: opacity;
    backface-visibility: hidden;
}

.login-tip-slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* Tip Category Badge */
.tip-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    width: fit-content;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tip-category-fun_fact {
    background: #0f766e;
}

.tip-category-tip {
    background: #16a34a;
}

.tip-category-did_you_know {
    background: #7c3aed;
}

/* Tip Title */
.tip-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #ffffff;
}

/* Tip Description */
.tip-description {
    font-size: 1.0625rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2rem;
    color: #e2e8f0;
    max-width: 90%;
}

/* Tip Illustration */
.tip-illustration {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

.tip-illustration img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

/* Slideshow Dots Navigation */
.slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 10;
}

.slideshow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.slideshow-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.slideshow-dot.active {
    background: #ffffff;
    transform: scale(1.2);
}

.slideshow-dot:focus {
    outline: 2px solid #5eead4;
    outline-offset: 2px;
}

/* Empty state */
.slideshow-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: white;
}

.slideshow-empty .tip-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.slideshow-empty .tip-description {
    opacity: 0.8;
}

/* Dark theme adjustments */
html.dark-theme .login-two-column {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

html.dark-theme .login-form-section {
    background: #1e293b;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

html.dark-theme .login-slideshow-section {
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}

/* Tablet Responsive (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .login-two-column {
        max-width: 900px;
    }

    .login-slideshow-section {
        padding: 2rem;
    }

    .login-form-section {
        padding: 2rem;
    }

    .tip-title {
        font-size: 1.5rem;
    }

    .tip-description {
        font-size: 0.9375rem;
    }

    .tip-illustration img {
        max-height: 200px;
    }
}

/* Mobile Responsive (< 768px) */
@media (max-width: 767px) {
    .login-slideshow-section {
        display: none;
    }

    .login-two-column {
        max-width: 450px;
        min-height: unset;
        display: block;
    }

    .login-form-section {
        border-radius: 16px;
        padding: 2rem;
    }

    .login-form-section .auth-logo-wrapper {
        position: static;
        text-align: center;
        margin-bottom: 2rem;
    }

    .login-form-content {
        padding-top: 0;
    }
}

/* Extra small mobile (< 576px) */
@media (max-width: 575px) {
    .login-form-section {
        padding: 1.5rem;
    }
}

/* Animation for slide entrance */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.login-tip-slide.active .tip-category,
.login-tip-slide.active .tip-title,
.login-tip-slide.active .tip-description {
    animation: slideInFromLeft 0.6s ease-out forwards;
}

.login-tip-slide.active .tip-title {
    animation-delay: 0.1s;
}

.login-tip-slide.active .tip-description {
    animation-delay: 0.2s;
}

.login-tip-slide.active .tip-illustration {
    animation: fadeIn 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Pause slideshow on hover (accessibility) */
.slideshow-container:hover .login-tip-slide {
    animation-play-state: paused;
}

/* Loading state for images */
.tip-illustration img {
    transition: opacity 0.3s ease;
}

.tip-illustration img.loading {
    opacity: 0.5;
}

/* ========================================
   ACTIVATION WIZARD STYLES
   ======================================== */

/* Main Container */
.activation-wizard {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}


/* Tip Slides */
.tip-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    flex-direction: column;
    color: white;
    pointer-events: none;
    will-change: opacity;
    backface-visibility: hidden;
}

.tip-slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* Tip Category Badge */
.tip-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.tip-category-tip {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.tip-category-did_you_know {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.tip-category-fun_fact {
    background: rgba(20, 184, 166, 0.2);
    color: #5eead4;
    border: 1px solid rgba(20, 184, 166, 0.3);
}

.tip-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: white;
}

.tip-description {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.tip-illustration {
    margin-top: auto;
    text-align: center;
    max-width: 100%;
}

.tip-illustration img {
    max-width: 280px;
    height: auto;
    opacity: 0.9;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

/* Tip Dots Navigation */
.tips-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    position: relative;
    z-index: 10;
}

.tip-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.tip-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.tip-dot.active {
    background: white;
    width: 24px;
    border-radius: 5px;
}

/* Form Panel */
.activation-form-panel {
    background: #fff;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Progress Bar */
.activation-progress-wrapper {
    margin-bottom: 3rem;
    position: relative;
}

.activation-progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 1rem;
}

.progress-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.progress-step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
}

.progress-step.active .progress-step-icon {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0d9488 100%);
    color: white;
    border-color: rgba(13, 148, 136, 0.3);
    box-shadow: 0 8px 16px rgba(13, 148, 136, 0.3);
    transform: scale(1.1);
}

.progress-step.completed .progress-step-icon {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border-color: rgba(34, 197, 94, 0.3);
}

.progress-step-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    transition: color 0.3s ease;
}

.progress-step.active .progress-step-label {
    color: var(--bs-primary);
}

.progress-step.completed .progress-step-label {
    color: #22c55e;
}

/* Progress Bar Track */
.activation-progress-bar {
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    z-index: 1;
    overflow: hidden;
}

.activation-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--bs-primary) 0%, #0d9488 100%);
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.activation-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Form Content */
.activation-form-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.activation-form-header {
    animation: fadeInDown 0.5s ease-out;
}

.activation-step-content {
    flex: 1;
    animation: fadeInUp 0.5s ease-out;
}

/* Tips Bar */
.activation-tips-bar {
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.05) 0%, rgba(13, 148, 136, 0.1) 100%);
    border-radius: 8px;
    border: 1px solid rgba(13, 148, 136, 0.2);
    font-size: 0.9375rem;
    color: #334155;
    position: relative;
    overflow: hidden;
}

.activation-tips-bar > div {
    min-height: 24px;
    display: flex;
    align-items: center;
}

.activation-tips-bar .tips-label {
    font-weight: 600;
    color: var(--bs-primary);
    margin-right: 0.375rem;
}

/* Form Actions */
.activation-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Form Field Animations */
.activation-step-content .row > div {
    animation: fadeInStagger 0.5s ease-out backwards;
}

.activation-step-content .row > div:nth-child(1) {
    animation-delay: 0.1s;
}

.activation-step-content .row > div:nth-child(2) {
    animation-delay: 0.15s;
}

.activation-step-content .row > div:nth-child(3) {
    animation-delay: 0.2s;
}

.activation-step-content .row > div:nth-child(4) {
    animation-delay: 0.25s;
}

.activation-step-content .row > div:nth-child(5) {
    animation-delay: 0.3s;
}

.activation-step-content .row > div:nth-child(6) {
    animation-delay: 0.35s;
}

.activation-step-content .row > div:nth-child(7) {
    animation-delay: 0.4s;
}

.activation-step-content .row > div:nth-child(8) {
    animation-delay: 0.45s;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* @keyframes fadeInUp - removed duplicate, see AUTH PAGE ANIMATIONS section */

/* Button Hover Effects */
.activation-form-actions .btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.activation-form-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(13, 148, 136, 0.3);
}

.activation-form-actions .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Slide Animations */
.tip-slide.active .tip-category,
.tip-slide.active .tip-title,
.tip-slide.active .tip-description {
    animation: slideInFromLeft 0.6s ease-out forwards;
}

.tip-slide.active .tip-title {
    animation-delay: 0.1s;
}

.tip-slide.active .tip-description {
    animation-delay: 0.2s;
}

.tip-slide.active .tip-illustration {
    animation: fadeIn 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

/* @keyframes slideInFromLeft & fadeIn - removed duplicates, see LOGIN TIPS SLIDESHOW section */

/* Dark Theme */
html.dark-theme .activation-form-panel {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

html.dark-theme .activation-tips-bar {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(13, 148, 136, 0.15) 100%);
    border-color: rgba(13, 148, 136, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

html.dark-theme .activation-progress-bar {
    background: rgba(255, 255, 255, 0.1);
}

html.dark-theme .progress-step-icon {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

html.dark-theme .progress-step-label {
    color: rgba(255, 255, 255, 0.5);
}

html.dark-theme .progress-step.active .progress-step-label {
    color: var(--bs-primary);
}

html.dark-theme .progress-step.completed .progress-step-label {
    color: #22c55e;
}

html.dark-theme .activation-form-actions {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Tablet Responsive (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .activation-wizard {
        max-width: 750px;
    }

    .activation-form-panel {
        padding: 2.5rem;
    }

    .progress-step-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .activation-progress-bar {
        top: 20px;
    }

    .activation-tips-bar {
        font-size: 0.875rem;
        padding: 0.875rem 1.25rem;
    }
}

/* Mobile Responsive (< 768px) */
@media (max-width: 767px) {
    .activation-wizard {
        max-width: 100%;
    }

    .activation-form-panel {
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }

    .activation-progress-wrapper {
        margin-bottom: 2rem;
    }

    .activation-progress-steps {
        gap: 0.5rem;
    }

    .progress-step {
        gap: 0.5rem;
    }

    .progress-step-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .progress-step-label {
        font-size: 0.75rem;
    }

    .activation-progress-bar {
        top: 18px;
        height: 3px;
    }

    .activation-tips-bar {
        font-size: 0.8125rem;
        padding: 0.75rem 1rem;
        margin-top: 1.5rem;
    }

    .activation-form-actions {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .activation-form-actions .btn {
        font-size: 0.875rem;
        padding: 0.625rem 1.25rem;
    }
}

/* Extra Small Mobile (< 480px) */
@media (max-width: 479px) {
    .activation-form-panel {
        padding: 1.5rem 1rem;
        border-radius: 8px;
    }

    .progress-step-label {
        font-size: 0.625rem;
        display: none;
    }

    .activation-form-header h4 {
        font-size: 1.25rem;
    }

    .activation-form-header p {
        font-size: 0.875rem;
    }

    .activation-tips-bar {
        font-size: 0.75rem;
        padding: 0.625rem 0.875rem;
    }
}

/* Loading States */
.activation-form-panel [wire\:loading] {
    opacity: 0.7;
    pointer-events: none;
}

/* Success Checkmark Animation */
@keyframes checkmarkDraw {
    0% {
        stroke-dashoffset: 100;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes checkmarkScale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.progress-step.completed .progress-step-icon {
    animation: checkmarkScale 0.6s ease-out;
}

/* Hover Effects */
.tips-carousel-container:hover .tip-slide {
    animation-play-state: paused;
}

/* ===== SETUP WIZARD REDESIGN (Two-Column Layout) ===== */

/* Wrapper for full viewport height */
.setup-wizard-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    min-height: calc(100vh - 4rem);
    width: 100%;
    padding: 1rem;
}

/* Main Container */
.setup-wizard {
    display: flex;
    max-width: 1280px;
    width: 100%;
    min-height: calc(100vh - 120px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

/* Left Sidebar - Guidance Panel */
.setup-wizard-sidebar {
    position: relative;
    flex: 0 0 380px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
}

/* Decorative orbs in sidebar */
.setup-wizard-sidebar::before,
.setup-wizard-sidebar::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.setup-wizard-sidebar::before {
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #14b8a6 0%, transparent 70%);
}

.setup-wizard-sidebar::after {
    bottom: -80px;
    left: -60px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #5eead4 0%, transparent 70%);
}

/* Logo in sidebar */
.setup-wizard-logo {
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
}

.setup-wizard-logo img {
    max-height: 70px;
    width: auto;
}

/* Guidance content */
.setup-guidance {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.setup-guidance-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(94, 234, 212, 0.15);
    border: 1px solid rgba(94, 234, 212, 0.3);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #5eead4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
    margin-bottom: 1.5rem;
}

.setup-guidance-badge i {
    font-size: 1rem;
}

.setup-guidance-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.setup-guidance-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.setup-guidance-tips {
    list-style: none;
    padding: 0;
    margin: 0;
}

.setup-guidance-tips li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

.setup-guidance-tips li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
    background: rgba(94, 234, 212, 0.2);
    border: 2px solid #5eead4;
    border-radius: 50%;
}

.setup-guidance-tips li::after {
    content: '';
    position: absolute;
    left: 0.625rem;
    top: 1.125rem;
    width: 0.45rem;
    height: 0.45rem;
    background: #5eead4;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* Right Panel - Form Content */
.setup-wizard-main {
    flex: 1;
    background: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 100%;
    height: 100%;
}

.setup-wizard-header {
    padding: 2.5rem 3rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Header Progress Steps (Horizontal) */
.setup-progress-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.setup-progress-header .progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.setup-progress-header .progress-step-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    color: #6b7280;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.setup-progress-header .progress-step.active .progress-step-icon {
    background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.3);
}

.setup-progress-header .progress-step.completed .progress-step-icon {
    background: #14b8a6;
    color: #fff;
}

.setup-progress-header .progress-step-label {
    font-size: 0.625rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.setup-progress-header .progress-step.active .progress-step-label,
.setup-progress-header .progress-step.completed .progress-step-label {
    color: #14b8a6;
    font-weight: 600;
}

.setup-progress-header .progress-connector {
    width: 20px;
    height: 2px;
    background: #e5e7eb;
    margin-bottom: 1rem;
    transition: background 0.3s ease;
}

.setup-progress-header .progress-connector.completed {
    background: #14b8a6;
}

.setup-wizard-body {
    flex: 1;
    padding: 2rem 3rem;
    overflow-y: auto;
    max-height: 550px;
}

.setup-wizard-footer {
    padding: 1.5rem 3rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: #fafafa;
}

/* Horizontal Progress Bar (Mobile Only) */
.setup-progress-horizontal {
    display: none;
    padding: 1.5rem 1.5rem 1rem;
}

.setup-progress-horizontal .progress-bar-container {
    display: none;
}

.setup-progress-horizontal .progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

/* Line through icons */
.setup-progress-horizontal .progress-steps::before {
    content: '';
    position: absolute;
    top: 1.125rem;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 3px;
    background: #e5e7eb;
    z-index: 0;
}

.setup-progress-horizontal .progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
    position: relative;
    z-index: 1;
}

.setup-progress-horizontal .progress-step i {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #e5e7eb;
    font-size: 1rem;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.setup-progress-horizontal .progress-step.active i,
.setup-progress-horizontal .progress-step.completed i {
    background: #14b8a6;
    border-color: #14b8a6;
    color: #fff;
}

.setup-progress-horizontal .progress-step span {
    font-weight: 500;
}

.setup-progress-horizontal .progress-step.active span,
.setup-progress-horizontal .progress-step.completed span {
    color: #14b8a6;
    font-weight: 600;
}

/* Form Sections with Icons */
.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.form-section-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
}

.form-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

/* Review Cards */
.setup-review-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: all 0.2s ease;
}

.setup-review-card:hover {
    border-color: #14b8a6;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.1);
}

.setup-review-card .card-header {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.setup-review-card .card-header .section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #111827;
    font-size: 0.9375rem;
}

.setup-review-card .card-header .section-title i {
    color: #14b8a6;
    font-size: 1.125rem;
}

.setup-review-card .card-body {
    padding: 1.5rem;
}

.setup-review-card .review-field {
    margin-bottom: 1rem;
}

.setup-review-card .review-field:last-child {
    margin-bottom: 0;
}

.setup-review-card .review-field-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.setup-review-card .review-field-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
}

/* Review Logo Preview */
.review-logo-preview {
    max-width: 150px;
    max-height: 60px;
    object-fit: contain;
}

/* Setup Confirmation Icon */
.setup-confirmation-icon {
    font-size: 1.5rem;
}

/* Success State */
.setup-success {
    text-align: center;
    padding: 3rem 2rem;
}

.setup-progress {
    text-align: center;
}

.setup-success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3.5rem;
    animation: successPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.setup-success-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.setup-success-description {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* Step Content Animation */
.setup-wizard-body > div {
    animation: stepFadeIn 0.4s ease-out;
}

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

/* Guidance Content Animation */
.setup-guidance > div {
    animation: guidanceFadeIn 0.3s ease-out;
}

@keyframes guidanceFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Action Buttons */
.setup-wizard-footer .action-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* Tips Bar Integration */
.setup-tips-bar {
    background: linear-gradient(90deg, rgba(20, 184, 166, 0.1) 0%, rgba(15, 118, 110, 0.1) 100%);
    border-left: 3px solid #14b8a6;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-top: 2rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #0f766e;
}

.setup-tips-bar .tips-label {
    font-weight: 600;
    color: #14b8a6;
}

/* Dark Theme */
html.dark-theme .setup-wizard {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
}

html.dark-theme .setup-wizard-sidebar {
    background: linear-gradient(180deg, #020617 0%, #0f172a 100%);
}

html.dark-theme .setup-wizard-main {
    background: #1e293b;
}

html.dark-theme .setup-wizard-header,
html.dark-theme .setup-wizard-footer {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.5);
}

html.dark-theme .setup-progress-header .progress-step-icon {
    background: #334155;
    color: #94a3b8;
}

html.dark-theme .setup-progress-header .progress-step-label {
    color: #94a3b8;
}

html.dark-theme .setup-progress-header .progress-connector {
    background: #334155;
}

html.dark-theme .form-section {
    border-color: rgba(255, 255, 255, 0.1);
}

html.dark-theme .form-section-title {
    color: #f9fafb;
}

html.dark-theme .setup-review-card {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.1);
}

html.dark-theme .setup-review-card:hover {
    border-color: #14b8a6;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.2);
}

html.dark-theme .setup-review-card .card-header {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

html.dark-theme .setup-review-card .card-header .section-title {
    color: #f9fafb;
}

html.dark-theme .setup-review-card .review-field-value {
    color: #f9fafb;
}

html.dark-theme .setup-success-title {
    color: #f9fafb;
}

html.dark-theme .setup-tips-bar {
    background: rgba(20, 184, 166, 0.15);
    color: #5eead4;
}

/* Tablet Responsive (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
    .setup-wizard {
        max-width: 950px;
    }

    .setup-wizard-sidebar {
        flex: 0 0 320px;
        padding: 2.5rem 2rem;
    }

    .setup-wizard-logo {
        margin-bottom: 2rem;
    }

    .setup-guidance-title {
        font-size: 1.5rem;
    }

    .setup-guidance-description {
        font-size: 0.9375rem;
    }

    .setup-wizard-header {
        padding: 2rem 2.5rem 1.25rem;
    }

    .setup-wizard-body {
        padding: 1.5rem 2.5rem;
        max-height: unset;
    }

    .setup-wizard-footer {
        padding: 1.25rem 2.5rem 2rem;
    }
}

/* Mobile Responsive (≤767px) */
@media (max-width: 767px) {
    .setup-wizard-wrapper {
        min-height: unset;
        padding: 0.5rem;
    }

    .setup-wizard {
        flex-direction: column;
        max-width: 100%;
        min-height: unset;
        border-radius: 16px;
    }

    /* Hide sidebar on mobile */
    .setup-wizard-sidebar {
        display: none;
    }

    /* Show horizontal progress on mobile */
    .setup-progress-horizontal {
        display: block;
    }

    .setup-wizard-main {
        border-radius: 16px;
    }

    .setup-wizard-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .setup-wizard-body {
        padding: 1rem 1.5rem;
        max-height: unset;
    }

    .setup-wizard-footer {
        padding: 1rem 1.5rem 1.5rem;
    }

    .form-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .form-section-header {
        margin-bottom: 1rem;
    }

    .setup-review-card .card-header {
        padding: 0.875rem 1rem;
    }

    .setup-review-card .card-body {
        padding: 1rem;
    }

    .setup-success {
        padding: 2rem 1rem;
    }

    .setup-success-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .setup-success-title {
        font-size: 1.5rem;
    }

    .setup-success-description {
        font-size: 1rem;
    }

    .setup-wizard-footer .action-buttons {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }

    .setup-wizard-footer .action-buttons > div {
        width: 100%;
    }

    .setup-wizard-footer .action-buttons button {
        width: 100%;
    }
}

/* Extra Small Mobile (≤479px) */
@media (max-width: 479px) {
    .setup-wizard-header,
    .setup-wizard-body,
    .setup-wizard-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .setup-progress-horizontal {
        padding: 1rem 0.75rem 0.5rem;
    }

    .setup-progress-horizontal .progress-steps::before {
        top: 1rem;
        left: calc(100% / 6);
        right: calc(100% / 6);
    }

    .setup-progress-horizontal .progress-step {
        font-size: 0.6875rem;
    }

    .setup-progress-horizontal .progress-step i {
        width: 2rem;
        height: 2rem;
        font-size: 0.875rem;
    }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .setup-wizard-body > div,
    .setup-guidance > div,
    .setup-success-icon {
        animation: none;
    }

    .setup-wizard-body > div,
    .setup-guidance > div {
        opacity: 1;
        transform: none;
    }
}

/* ===== ACTIVATION TIPS CAROUSEL ===== */
.activation-tips-carousel {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    min-height: 150px;
}

.activation-tips-carousel .tip-slide {
    display: none;
    width: 100%;
}

.activation-tips-carousel .tip-slide.active {
    display: block;
}

/* Activation carousel specific - clean text-only style */
.activation-tips-carousel .tip-content {
    padding: 1rem;
    background: none;
    border: none;
}

.activation-tips-carousel .tip-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.activation-tips-carousel .tip-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    line-height: 1.4;
    color: #1f2937;
}

.activation-tips-carousel .tip-description {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0;
    color: #6b7280;
}

/* Generic tip styles (for login page etc) */
.tip-content {
    padding: 1.5rem;
    background: rgba(15, 118, 110, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(15, 118, 110, 0.1);
}

.tip-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.tip-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.tip-description {
    line-height: 1.6;
    margin-bottom: 0;
}

.tip-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    position: relative;
}

.tip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(15, 118, 110, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tip-dot:hover {
    background: rgba(15, 118, 110, 0.4);
    transform: scale(1.2);
}

.tip-dot:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.tip-dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

/* Dark theme overrides */
.dark-theme .tip-content {
    background: rgba(15, 118, 110, 0.1);
    border-color: rgba(15, 118, 110, 0.2);
}

.dark-theme .tip-title {
    color: var(--text-primary);
}

.dark-theme .tip-description {
    color: var(--text-muted);
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .tip-slide {
        transition: none;
    }

    .tip-dot {
        transition: none;
    }
}

/* ===== MOBILE BREADCRUMBS ===== */
@media (max-width: 767.98px) {
    .page-breadcrumb {
        width: 100%;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .page-breadcrumb nav {
        flex: 1;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .page-breadcrumb nav::-webkit-scrollbar {
        display: none;
    }

    .breadcrumb {
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .breadcrumb-item {
        display: inline-flex;
        align-items: center;
    }

    /* Hide digital clock on mobile to save space */
    .page-breadcrumb .digital-clock {
        display: none;
    }
}

/* ===== PAGE TOOLBAR ===== */

/* Page toolbar container with subtle background */
.page-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

html.dark-theme .page-toolbar {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.08);
}

/* Page toolbar buttons base */
.page-toolbar .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.15s ease;
}

/* Primary button - uses theme teal color */
.page-toolbar .btn-primary {
    color: #fff;
    background: var(--primary-color, #0f766e);
    border: none;
    box-shadow: 0 1px 3px rgba(15, 118, 110, 0.3);
}

.page-toolbar .btn-primary:hover {
    background: var(--primary-dark, #0d5f58);
    box-shadow: 0 2px 6px rgba(15, 118, 110, 0.4);
    transform: translateY(-1px);
}

.page-toolbar .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(15, 118, 110, 0.3);
}

/* Soft secondary button - solid background, not transparent */
.page-toolbar .btn-soft-secondary {
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    text-decoration: none;
}

.page-toolbar .btn-soft-secondary:hover {
    color: #1e293b;
    background: #e2e8f0;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    text-decoration: none;
}

.page-toolbar .btn-soft-secondary:active {
    transform: translateY(0);
    background: #cbd5e1;
}

.page-toolbar .btn-soft-secondary i {
    color: #64748b;
    transition: color 0.15s ease;
}

.page-toolbar .btn-soft-secondary:hover i {
    color: var(--primary-color, #0f766e);
}

/* Dark theme soft secondary button */
html.dark-theme .page-toolbar .btn-soft-secondary {
    color: #cbd5e1;
    background: rgba(51, 65, 85, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
}

html.dark-theme .page-toolbar .btn-soft-secondary:hover {
    color: #f1f5f9;
    background: rgba(71, 85, 105, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
}

html.dark-theme .page-toolbar .btn-soft-secondary i {
    color: #94a3b8;
}

html.dark-theme .page-toolbar .btn-soft-secondary:hover i {
    color: var(--primary-light, #14b8a6);
}

/* Mobile actions dropdown toggle */
.page-toolbar .btn-actions-toggle {
    display: none;
}

/* Desktop: show action buttons directly */
.page-toolbar-actions {
    display: contents;
}

/* Mobile collapsible */
@media (max-width: 575.98px) {
    .page-toolbar {
        padding: 0.625rem 0.75rem;
        gap: 0.375rem;
    }

    .page-toolbar .btn {
        padding: 0.4375rem 0.875rem;
        font-size: 0.8125rem;
    }

    /* Hide secondary buttons on mobile */
    .page-toolbar-actions {
        display: none;
    }

    /* Show the actions dropdown toggle */
    .page-toolbar .btn-actions-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
        padding: 0.4375rem 0.75rem;
        font-size: 0.8125rem;
        color: #475569;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        cursor: pointer;
    }

    .page-toolbar .btn-actions-toggle:hover {
        background: #e2e8f0;
    }

    html.dark-theme .page-toolbar .btn-actions-toggle {
        color: #cbd5e1;
        background: rgba(51, 65, 85, 0.6);
        border-color: rgba(255, 255, 255, 0.1);
    }

    html.dark-theme .page-toolbar .btn-actions-toggle:hover {
        background: rgba(71, 85, 105, 0.8);
    }

    /* Style dropdown menu */
    .page-toolbar .dropdown-menu {
        min-width: 160px;
        padding: 0.5rem;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .page-toolbar .dropdown-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
        border-radius: 6px;
    }

    .page-toolbar .dropdown-item:hover {
        background: #f1f5f9;
    }

    .page-toolbar .dropdown-item i {
        font-size: 1rem;
        color: #64748b;
    }

    html.dark-theme .page-toolbar .dropdown-menu {
        background: #1e293b;
        border-color: rgba(255, 255, 255, 0.1);
    }

    html.dark-theme .page-toolbar .dropdown-item:hover {
        background: rgba(51, 65, 85, 0.6);
    }

    html.dark-theme .page-toolbar .dropdown-item i {
        color: #94a3b8;
    }
}

/* ===== TABLE TOOLBAR ===== */

.table-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
}

.table-toolbar:empty {
    display: none;
}

.table-toolbar-export {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.table-toolbar-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--bs-secondary-color, #6c757d);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

html.dark-theme .table-toolbar {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 575.98px) {
    .table-toolbar-export {
        width: 100%;
        margin-left: 0;
        margin-top: 0.375rem;
        padding-top: 0.375rem;
        border-top: 1px solid var(--bs-border-color, #dee2e6);
    }

    html.dark-theme .table-toolbar-export {
        border-top-color: rgba(255, 255, 255, 0.1);
    }

    .table-toolbar-label {
        display: none;
    }
}

/* ApexCharts Dark Theme Support */
html.dark-theme .apexcharts-text,
html.dark-theme .apexcharts-title-text,
html.dark-theme .apexcharts-subtitle-text,
html.dark-theme .apexcharts-legend-text,
html.dark-theme .apexcharts-xaxis-label,
html.dark-theme .apexcharts-yaxis-label,
html.dark-theme .apexcharts-datalabel-label,
html.dark-theme .apexcharts-datalabel-value {
    fill: #e5e7eb !important;
}

html.dark-theme .apexcharts-gridline {
    stroke: rgba(255, 255, 255, 0.1) !important;
}

html.dark-theme .apexcharts-xaxis-tick,
html.dark-theme .apexcharts-yaxis-tick {
    stroke: rgba(255, 255, 255, 0.1) !important;
}

html.dark-theme .apexcharts-tooltip {
    background: #1f2937 !important;
    border-color: #374151 !important;
    color: #e5e7eb !important;
}

html.dark-theme .apexcharts-tooltip-title {
    background: #374151 !important;
    border-color: #4b5563 !important;
}

html.dark-theme .apexcharts-tooltip-text,
html.dark-theme .apexcharts-tooltip-y-group,
html.dark-theme .apexcharts-tooltip-marker,
html.dark-theme .apexcharts-tooltip-series-group {
    color: #e5e7eb !important;
}

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

html.dark-theme .apexcharts-menu {
    background: #1f2937 !important;
    border-color: #374151 !important;
}

html.dark-theme .apexcharts-menu-item:hover {
    background: #374151 !important;
}

html.dark-theme .apexcharts-menu-item {
    color: #e5e7eb !important;
}
