/* ============================================
   BENGKEL SINAGA MANDIRI - MODERN INDUSTRIAL CSS
   Version: 2.0
   Includes: Glassmorphism, Neumorphism, Animations, Progress Bars
   ============================================ */

/* ========== IMPORTS & VARIABLES ========== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Primary Colors */
    --primary: #0d6efd;
    --primary-dark: #0a58ca;
    --primary-light: #3b82f6;
    --primary-glow: rgba(13, 110, 253, 0.4);

    /* Secondary Colors */
    --secondary: #6c757d;
    --secondary-dark: #5a6268;
    --success: #10b981;
    --success-dark: #059669;
    --info: #0dcaf0;
    --warning: #f59e0b;
    --danger: #ef4444;
    --danger-dark: #dc2626;

    /* Dark Theme */
    --dark: #0f172a;
    --dark-2: #1e293b;
    --dark-3: #334155;
    --dark-bg: #020617;

    /* Light Theme */
    --light: #f8fafc;
    --light-2: #f1f5f9;
    --light-3: #e2e8f0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0d6efd 0%, #0a58ca 50%, #00d2ff 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-danger: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(13, 110, 253, 0.3);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.05);

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms;
    --transition-normal: 300ms;
    --transition-slow: 500ms;
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--light) 0%, var(--light-2) 100%);
    min-height: 100vh;
    color: var(--dark);
    line-height: 1.5;
    overflow-x: hidden;
}

/* ========== CUSTOM SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-3);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ========== MODERN NAVBAR ========== */
.navbar-modern {
    background: var(--gradient-dark);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-modern .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    transition: transform var(--transition-normal) var(--ease-out);
}

.navbar-modern .navbar-brand:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    box-shadow: var(--shadow-glow);
}

.logo-icon i {
    font-size: 24px;
    color: white;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: var(--shadow-glow);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(13, 110, 253, 0.6);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ========== MODERN SIDEBAR ========== */
.sidebar-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transition: all var(--transition-normal) var(--ease-in-out);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.sidebar-modern .sidebar-header {
    background: var(--gradient-primary);
    padding: 30px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.sidebar-modern .sidebar-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.sidebar-modern .avatar {
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 45px;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal) var(--ease-bounce);
}

.sidebar-modern .avatar:hover {
    transform: scale(1.1);
}

.sidebar-modern .nav-link {
    padding: 14px 24px;
    color: var(--dark);
    transition: all var(--transition-normal) var(--ease-in-out);
    border-left: 3px solid transparent;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.sidebar-modern .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.1), transparent);
    transition: left var(--transition-normal);
}

.sidebar-modern .nav-link:hover::before {
    left: 100%;
}

.sidebar-modern .nav-link:hover,
.sidebar-modern .nav-link.active {
    background: linear-gradient(90deg, rgba(13, 110, 253, 0.1) 0%, transparent 100%);
    border-left-color: var(--primary);
    color: var(--primary);
    transform: translateX(5px);
}

.sidebar-modern .nav-link i {
    width: 28px;
    margin-right: 12px;
    font-size: 1.1rem;
}

/* ========== MODERN CARDS ========== */
.card-modern {
    background: white;
    border-radius: var(--radius-2xl);
    border: none;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal) var(--ease-in-out);
    overflow: hidden;
    position: relative;
}

.card-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.card-modern:hover::after {
    transform: scaleX(1);
}

.card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-modern .card-header {
    background: transparent;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

/* ========== STAT CARDS ========== */
.stat-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal) var(--ease-bounce);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 0;
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.stat-card:hover::before {
    opacity: 0.05;
}

.stat-card .stat-icon {
    width: 55px;
    height: 55px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    transition: all var(--transition-normal);
}

.stat-card:hover .stat-icon {
    background: var(--gradient-primary);
    color: white;
    transform: rotate(360deg);
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.stat-card .stat-label {
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ========== PROGRESS BAR SERVICE (MODERN) ========== */
.progress-container {
    background: var(--light-3);
    border-radius: var(--radius-full);
    height: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-inner);
}

.progress-bar-service {
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    transition: width var(--transition-slow) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.progress-bar-service::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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%);
    }
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--light-3);
    z-index: 0;
}

.progress-step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
    background: transparent;
}

.progress-step .step-icon {
    width: 45px;
    height: 45px;
    background: var(--light-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    transition: all var(--transition-normal) var(--ease-bounce);
    position: relative;
    z-index: 2;
}

.progress-step.completed .step-icon {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
    transform: scale(1.1);
}

.progress-step.active .step-icon {
    background: var(--gradient-warning);
    color: white;
    animation: pulse 1s infinite;
    transform: scale(1.05);
}

.progress-step .step-label {
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 500;
    transition: all var(--transition-normal);
}

.progress-step.completed .step-label,
.progress-step.active .step-label {
    color: var(--primary);
    font-weight: 700;
}

/* ========== SERVICE CARDS ========== */
.service-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    transition: all var(--transition-normal) var(--ease-bounce);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, transparent 100%);
}

.service-card .service-icon {
    width: 55px;
    height: 55px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    transform: rotateY(180deg);
}

.service-card .service-icon i {
    font-size: 24px;
    color: var(--primary);
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon i {
    color: white;
    transform: rotateY(-180deg);
}

.service-card .service-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 10px;
}

/* ========== FORM MODERN ========== */
.form-modern {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
}

.form-modern .form-control,
.form-modern .form-select {
    border: 2px solid var(--light-3);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
    transition: all var(--transition-normal);
    font-size: 0.95rem;
}

.form-modern .form-control:focus,
.form-modern .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
    outline: none;
}

.form-modern .form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 0.875rem;
}

/* ========== BUTTONS MODERN ========== */
.btn-modern {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all var(--transition-normal) var(--ease-bounce);
    border: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width var(--transition-normal), height var(--transition-normal);
}

.btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

.btn-modern-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-modern-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-modern-success {
    background: var(--gradient-success);
    color: white;
}

.btn-modern-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-modern-outline:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

/* ========== TABLES MODERN ========== */
.table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.table-modern thead th {
    background: var(--gradient-dark);
    color: white;
    padding: 1rem;
    font-weight: 600;
    border: none;
    font-size: 0.875rem;
}

.table-modern thead th:first-child {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.table-modern thead th:last-child {
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.table-modern tbody tr {
    background: white;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.table-modern tbody tr:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-lg);
}

.table-modern tbody td {
    padding: 1rem;
    border: none;
    vertical-align: middle;
}

/* ========== BADGES ========== */
.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.badge-pending {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.badge-ongoing {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
}

.badge-completed {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

/* ========== FLOATING NOTIFICATION ========== */
.floating-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
    animation: slideInRight 0.5s var(--ease-bounce);
    max-width: 380px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.floating-notification .notification-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    border-left: 4px solid var(--warning);
    backdrop-filter: blur(10px);
}

/* ========== TIMELINE ========== */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 0.25rem;
    width: 0.875rem;
    height: 0.875rem;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid white;
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-item .timeline-date {
    font-size: 0.75rem;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.timeline-item .timeline-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

/* ========== INVOICE STYLES ========== */
.invoice-wrapper {
    background: white;
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.invoice-header {
    background: var(--gradient-dark);
    color: white;
    padding: 2rem;
    text-align: center;
}

.invoice-body {
    padding: 2rem;
}

.invoice-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s var(--ease-out);
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.6s var(--ease-out);
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s var(--ease-out);
}

.animate-zoomIn {
    animation: zoomIn 0.4s var(--ease-bounce);
}

/* Stagger children animations */
.stagger-children>* {
    opacity: 0;
    animation: fadeInUp 0.5s var(--ease-out) forwards;
}

.stagger-children>*:nth-child(1) {
    animation-delay: 0s;
}

.stagger-children>*:nth-child(2) {
    animation-delay: 0.1s;
}

.stagger-children>*:nth-child(3) {
    animation-delay: 0.2s;
}

.stagger-children>*:nth-child(4) {
    animation-delay: 0.3s;
}

.stagger-children>*:nth-child(5) {
    animation-delay: 0.4s;
}

.stagger-children>*:nth-child(6) {
    animation-delay: 0.5s;
}

/* ========== GLASSMORPHISM EFFECTS ========== */
.glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========== NEUMORPHISM EFFECTS ========== */
.neumorph {
    background: var(--light-2);
    border-radius: var(--radius-xl);
    box-shadow: 9px 9px 16px rgba(0, 0, 0, 0.05), -9px -9px 16px rgba(255, 255, 255, 0.8);
}

.neumorph-pressed {
    background: var(--light-2);
    border-radius: var(--radius-xl);
    box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.05), inset -5px -5px 10px rgba(255, 255, 255, 0.8);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .sidebar-modern {
        margin-bottom: var(--spacing-lg);
    }

    .stat-card .stat-value {
        font-size: 1.5rem;
    }

    .progress-step .step-label {
        font-size: 0.625rem;
    }

    .progress-step .step-icon {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }

    .progress-steps::before {
        top: 17px;
    }

    .floating-notification {
        left: 15px;
        right: 15px;
        bottom: 15px;
        max-width: calc(100% - 30px);
    }

    .btn-modern {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .card-modern .card-header {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .progress-steps {
        flex-wrap: wrap;
        gap: 15px;
    }

    .progress-steps::before {
        display: none;
    }

    .progress-step {
        min-width: 70px;
    }
}

/* ========== PRINT STYLES ========== */
@media print {

    .no-print,
    .sidebar-modern,
    .navbar-modern,
    .btn,
    .floating-notification {
        display: none !important;
    }

    body {
        background: white;
        padding: 0;
    }

    .card-modern {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .invoice-wrapper {
        box-shadow: none;
    }
}

/* ========== DARK MODE SUPPORT ========== */
@media (prefers-color-scheme: dark) {
    body {
        background: var(--dark-bg);
    }

    .card-modern,
    .stat-card,
    .service-card,
    .form-modern {
        background: var(--dark-2);
        color: var(--light);
    }

    .table-modern tbody tr {
        background: var(--dark-2);
    }

    .table-modern tbody td {
        color: var(--light);
    }

    .form-modern .form-control,
    .form-modern .form-select {
        background: var(--dark-3);
        border-color: var(--dark-3);
        color: var(--light);
    }

    .progress-container {
        background: var(--dark-3);
    }
        /* Survey Popup Modern */
        .survey-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.55);
            backdrop-filter: blur(6px);
            z-index: 9999;
    
            display: flex;
            justify-content: center;
            align-items: center;
    
            animation: fadeIn .3s ease;
        }
    
        .survey-popup {
            width: 90%;
            max-width: 450px;
            background: #fff;
            border-radius: 24px;
            padding: 35px;
            text-align: center;
            box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
            animation: zoomIn .3s ease;
        }
    
        .survey-icon {
            width: 80px;
            height: 80px;
            margin: auto;
            margin-bottom: 20px;
            border-radius: 50%;
            background: linear-gradient(135deg, #ffb300, #ff6f00);
            display: flex;
            align-items: center;
            justify-content: center;
        }
    
        .survey-icon i {
            font-size: 34px;
            color: white;
        }
    
        .survey-popup h3 {
            font-weight: 700;
            margin-bottom: 15px;
        }
    
        .survey-popup p {
            color: #6c757d;
            line-height: 1.7;
            margin-bottom: 25px;
        }
    
        .survey-buttons {
            display: flex;
            gap: 10px;
            justify-content: center;
        }
    
        .btn-survey {
            background: linear-gradient(135deg, #0d6efd, #4f8cff);
            color: white;
            text-decoration: none;
            padding: 12px 25px;
            border-radius: 12px;
            font-weight: 600;
            transition: .3s;
        }
    
        .btn-survey:hover {
            transform: translateY(-2px);
            color: white;
        }
    
        .btn-later {
            border: none;
            background: #f1f3f5;
            padding: 12px 25px;
            border-radius: 12px;
            font-weight: 600;
            transition: .3s;
        }
    
        .btn-later:hover {
            background: #dee2e6;
        }
    
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
    
            to {
                opacity: 1;
            }
        }
    
        @keyframes zoomIn {
            from {
                opacity: 0;
                transform: scale(.8);
            }
    
            to {
                opacity: 1;
                transform: scale(1);
            }
        }
    }