/* Global Dark Theme Styles for Admin Panel */

/* Dark Theme Variables */
:root {
    /* Dark Theme Colors - Based on Image Design */
    --dark-bg-primary: #1a1a1a;
    --dark-bg-secondary: #2d2d2d;
    --dark-bg-tertiary: #3a3a3a;
    --dark-bg-card: #2a2a2a;
    --dark-text-primary: #ffffff;
    --dark-text-secondary: #e0e0e0;
    --dark-text-muted: #b0b0b0;
    --dark-border: #404040;
    --dark-border-light: #505050;
    --dark-accent-green: #4caf50;
    --dark-accent-blue: #2196f3;
    --dark-accent-yellow: #ffc107;
    --dark-accent-orange: #ff9800;
    --dark-accent-red: #f44336;
    --dark-accent-purple: #9c27b0;
    
    /* Status Colors for Dark Theme */
    --dark-status-success: #4caf50;
    --dark-status-warning: #ff9800;
    --dark-status-error: #f44336;
    --dark-status-info: #2196f3;
    --dark-status-booked: #4caf50;
    --dark-status-pending: #ff9800;
    --dark-status-cancelled: #f44336;
}

/* Global Dark Theme Application */
body.dark-theme,
body[data-theme="dark"] {
    background: var(--dark-bg-primary);
    color: var(--dark-text-primary);
}

/* Sidebar Dark Theme */
body.dark-theme .admin-sidebar,
body[data-theme="dark"] .admin-sidebar {
    background: var(--dark-bg-secondary);
    border-right-color: var(--dark-border);
}

body.dark-theme .sidebar-header,
body[data-theme="dark"] .sidebar-header {
    border-bottom-color: var(--dark-border);
}

body.dark-theme .sidebar-header h2,
body[data-theme="dark"] .sidebar-header h2 {
    color: var(--dark-text-primary);
}

body.dark-theme .nav-item,
body[data-theme="dark"] .nav-item {
    color: var(--dark-text-secondary);
}

body.dark-theme .nav-item:hover,
body[data-theme="dark"] .nav-item:hover {
    background: var(--dark-bg-tertiary);
    color: var(--dark-text-primary);
}

body.dark-theme .nav-item.active,
body[data-theme="dark"] .nav-item.active {
    background: var(--dark-bg-tertiary);
    color: var(--dark-accent-blue);
}

/* Collapsed Sidebar Dark Theme */
body.dark-theme .admin-sidebar.collapsed,
body[data-theme="dark"] .admin-sidebar.collapsed {
    background: var(--dark-bg-secondary) !important;
    border-right-color: var(--dark-border) !important;
}

body.dark-theme .admin-sidebar.collapsed .sidebar-header,
body[data-theme="dark"] .admin-sidebar.collapsed .sidebar-header {
    border-bottom-color: var(--dark-border) !important;
}

body.dark-theme .admin-sidebar.collapsed .nav-item,
body[data-theme="dark"] .admin-sidebar.collapsed .nav-item {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .admin-sidebar.collapsed .nav-item:hover,
body[data-theme="dark"] .admin-sidebar.collapsed .nav-item:hover {
    background: var(--dark-bg-tertiary) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .admin-sidebar.collapsed .nav-item.active,
body[data-theme="dark"] .admin-sidebar.collapsed .nav-item.active {
    background: var(--dark-accent-blue) !important;
    color: white !important;
}

body.dark-theme .admin-sidebar.collapsed .theme-toggle-section,
body[data-theme="dark"] .admin-sidebar.collapsed .theme-toggle-section {
    border-top-color: var(--dark-border) !important;
    border-bottom-color: var(--dark-border) !important;
}

body.dark-theme .admin-sidebar.collapsed .theme-toggle-btn,
body[data-theme="dark"] .admin-sidebar.collapsed .theme-toggle-btn {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .admin-sidebar.collapsed .theme-toggle-btn:hover,
body[data-theme="dark"] .admin-sidebar.collapsed .theme-toggle-btn:hover {
    background: var(--dark-bg-primary) !important;
    border-color: var(--dark-accent-blue) !important;
}

body.dark-theme .admin-sidebar.collapsed .nav-user-section,
body[data-theme="dark"] .admin-sidebar.collapsed .nav-user-section {
    border-top-color: var(--dark-border) !important;
}

body.dark-theme .admin-sidebar.collapsed .user-menu-toggle,
body[data-theme="dark"] .admin-sidebar.collapsed .user-menu-toggle {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .admin-sidebar.collapsed .user-menu-toggle:hover,
body[data-theme="dark"] .admin-sidebar.collapsed .user-menu-toggle:hover {
    background: var(--dark-bg-tertiary) !important;
}

body.dark-theme .admin-sidebar.collapsed .user-avatar,
body[data-theme="dark"] .admin-sidebar.collapsed .user-avatar {
    background: var(--dark-accent-blue) !important;
    color: white !important;
}

/* Tooltips Dark Theme */
body.dark-theme .admin-sidebar.collapsed .nav-item::after,
body[data-theme="dark"] .admin-sidebar.collapsed .nav-item::after {
    background: var(--dark-bg-primary) !important;
    color: var(--dark-text-primary) !important;
    border: 1px solid var(--dark-border) !important;
}

body.dark-theme .admin-sidebar.collapsed .nav-item::before,
body[data-theme="dark"] .admin-sidebar.collapsed .nav-item::before {
    border-right-color: var(--dark-bg-primary) !important;
}

/* Sidebar Toggle Button Dark Theme */
body.dark-theme .sidebar-toggle,
body[data-theme="dark"] .sidebar-toggle {
    background: var(--dark-accent-blue) !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

body.dark-theme .sidebar-toggle:hover,
body[data-theme="dark"] .sidebar-toggle:hover {
    background: var(--dark-accent-blue-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

/* Main Content Dark Theme */
body.dark-theme .admin-main,
body[data-theme="dark"] .admin-main {
    background: var(--dark-bg-primary);
}

body.dark-theme .admin-header,
body[data-theme="dark"] .admin-header {
    background: var(--dark-bg-secondary) !important;
    border-color: var(--dark-border) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .header-left h1,
body[data-theme="dark"] .header-left h1 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .header-left p,
body[data-theme="dark"] .header-left p {
    color: var(--dark-text-muted) !important;
}

/* Cards and Content Dark Theme */
body.dark-theme .content-card,
body[data-theme="dark"] .content-card {
    background: var(--dark-bg-card) !important;
    border-color: var(--dark-border) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .card-header,
body[data-theme="dark"] .card-header {
    background: var(--dark-bg-tertiary) !important;
    border-bottom-color: var(--dark-border) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .card-header h3,
body[data-theme="dark"] .card-header h3 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .card-content,
body[data-theme="dark"] .card-content {
    color: var(--dark-text-secondary) !important;
    background: var(--dark-bg-card) !important;
}

/* Tables Dark Theme - Major Improvement */
body.dark-theme .events-table,
body.dark-theme .appointments-table,
body.dark-theme .users-table,
body.dark-theme .storage-table,
body[data-theme="dark"] .events-table,
body[data-theme="dark"] .appointments-table,
body[data-theme="dark"] .users-table,
body[data-theme="dark"] .storage-table {
    background: var(--dark-bg-card) !important;
    border-radius: 8px;
    overflow: hidden;
}

body.dark-theme .events-table table,
body.dark-theme .appointments-table table,
body.dark-theme .users-table table,
body.dark-theme .storage-table table,
body[data-theme="dark"] .events-table table,
body[data-theme="dark"] .appointments-table table,
body[data-theme="dark"] .users-table table,
body[data-theme="dark"] .storage-table table {
    background: var(--dark-bg-card) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .events-table thead,
body.dark-theme .appointments-table thead,
body.dark-theme .users-table thead,
body.dark-theme .storage-table thead,
body[data-theme="dark"] .events-table thead,
body[data-theme="dark"] .appointments-table thead,
body[data-theme="dark"] .users-table thead,
body[data-theme="dark"] .storage-table thead {
    background: var(--dark-bg-tertiary) !important;
}

body.dark-theme .events-table th,
body.dark-theme .appointments-table th,
body.dark-theme .users-table th,
body.dark-theme .storage-table th,
body[data-theme="dark"] .events-table th,
body[data-theme="dark"] .appointments-table th,
body[data-theme="dark"] .users-table th,
body[data-theme="dark"] .storage-table th {
    background: var(--dark-bg-tertiary) !important;
    color: var(--dark-text-primary) !important;
    border-bottom-color: var(--dark-border) !important;
    font-weight: 600;
}

body.dark-theme .events-table td,
body.dark-theme .appointments-table td,
body.dark-theme .users-table td,
body.dark-theme .storage-table td,
body[data-theme="dark"] .events-table td,
body[data-theme="dark"] .appointments-table td,
body[data-theme="dark"] .users-table td,
body[data-theme="dark"] .storage-table td {
    background: var(--dark-bg-card) !important;
    color: var(--dark-text-primary) !important;
    border-bottom-color: var(--dark-border-light) !important;
}

body.dark-theme .events-table tr:hover td,
body.dark-theme .appointments-table tr:hover td,
body.dark-theme .users-table tr:hover td,
body.dark-theme .storage-table tr:hover td,
body[data-theme="dark"] .events-table tr:hover td,
body[data-theme="dark"] .appointments-table tr:hover td,
body[data-theme="dark"] .users-table tr:hover td,
body[data-theme="dark"] .storage-table tr:hover td {
    background: var(--dark-bg-tertiary) !important;
}

/* Form Elements Dark Theme */
body.dark-theme .form-group input,
body.dark-theme .form-group textarea,
body.dark-theme .form-group select,
body[data-theme="dark"] .form-group input,
body[data-theme="dark"] .form-group textarea,
body[data-theme="dark"] .form-group select {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .form-group input:focus,
body.dark-theme .form-group textarea:focus,
body.dark-theme .form-group select:focus,
body[data-theme="dark"] .form-group input:focus,
body[data-theme="dark"] .form-group textarea:focus,
body[data-theme="dark"] .form-group select:focus {
    border-color: var(--dark-accent-blue) !important;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1) !important;
}

body.dark-theme .form-group label,
body[data-theme="dark"] .form-group label {
    color: var(--dark-text-secondary) !important;
}

/* Status Badges Dark Theme */
body.dark-theme .status-badge,
body[data-theme="dark"] .status-badge {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

body.dark-theme .status-booked,
body[data-theme="dark"] .status-booked {
    background: rgba(76, 175, 80, 0.2) !important;
    color: var(--dark-status-booked) !important;
    border: 1px solid rgba(76, 175, 80, 0.3) !important;
}

body.dark-theme .status-pending,
body[data-theme="dark"] .status-pending {
    background: rgba(255, 152, 0, 0.2) !important;
    color: var(--dark-status-pending) !important;
    border: 1px solid rgba(255, 152, 0, 0.3) !important;
}

body.dark-theme .status-cancelled,
body[data-theme="dark"] .status-cancelled {
    background: rgba(244, 67, 54, 0.2) !important;
    color: var(--dark-status-cancelled) !important;
    border: 1px solid rgba(244, 67, 54, 0.3) !important;
}

body.dark-theme .status-active,
body[data-theme="dark"] .status-active {
    background: rgba(33, 150, 243, 0.2) !important;
    color: var(--dark-accent-blue) !important;
    border: 1px solid rgba(33, 150, 243, 0.3) !important;
}

body.dark-theme .status-inactive,
body[data-theme="dark"] .status-inactive {
    background: rgba(158, 158, 158, 0.2) !important;
    color: var(--dark-text-muted) !important;
    border: 1px solid rgba(158, 158, 158, 0.3) !important;
}

/* Service Badges Dark Theme */
body.dark-theme .service-badge,
body[data-theme="dark"] .service-badge {
    background: rgba(76, 175, 80, 0.2) !important;
    color: var(--dark-accent-green) !important;
    border: 1px solid rgba(76, 175, 80, 0.3) !important;
}

body.dark-theme .service-wiper,
body[data-theme="dark"] .service-wiper {
    background: rgba(0, 168, 204, 0.2) !important;
    color: var(--dark-accent-blue) !important;
    border: 1px solid rgba(0, 168, 204, 0.3) !important;
}

body.dark-theme .service-check,
body[data-theme="dark"] .service-check {
    background: rgba(255, 193, 7, 0.2) !important;
    color: var(--dark-accent-yellow) !important;
    border: 1px solid rgba(255, 193, 7, 0.3) !important;
}

body.dark-theme .service-storage,
body[data-theme="dark"] .service-storage {
    background: rgba(0, 48, 87, 0.2) !important;
    color: var(--dark-accent-blue) !important;
    border: 1px solid rgba(0, 48, 87, 0.3) !important;
}

/* Progress Bars Dark Theme */
body.dark-theme .progress-bar,
body[data-theme="dark"] .progress-bar {
    background: var(--dark-bg-tertiary) !important;
    border-radius: 4px;
    overflow: hidden;
}

body.dark-theme .progress-fill,
body[data-theme="dark"] .progress-fill {
    background: var(--dark-accent-green) !important;
    height: 100%;
    transition: width 0.3s ease;
}

body.dark-theme .occupancy-bar,
body[data-theme="dark"] .occupancy-bar {
    background: var(--dark-bg-tertiary) !important;
    border-radius: 4px;
    overflow: hidden;
}

body.dark-theme .occupancy-fill,
body[data-theme="dark"] .occupancy-fill {
    height: 100%;
    transition: width 0.3s ease;
}

body.dark-theme .occupancy-fill.low,
body[data-theme="dark"] .occupancy-fill.low { 
    background: var(--dark-accent-green) !important; 
}

body.dark-theme .occupancy-fill.medium,
body[data-theme="dark"] .occupancy-fill.medium { 
    background: var(--dark-accent-yellow) !important; 
}

body.dark-theme .occupancy-fill.high,
body[data-theme="dark"] .occupancy-fill.high { 
    background: var(--dark-accent-orange) !important; 
}

body.dark-theme .occupancy-fill.full,
body[data-theme="dark"] .occupancy-fill.full { 
    background: var(--dark-accent-red) !important; 
}

/* Input Fields Dark Theme */
body.dark-theme input[type="text"],
body.dark-theme input[type="email"],
body.dark-theme input[type="tel"],
body.dark-theme input[type="number"],
body.dark-theme input[type="date"],
body.dark-theme input[type="time"],
body.dark-theme input[type="password"],
body.dark-theme textarea,
body.dark-theme select,
body[data-theme="dark"] input[type="text"],
body[data-theme="dark"] input[type="email"],
body[data-theme="dark"] input[type="tel"],
body[data-theme="dark"] input[type="number"],
body[data-theme="dark"] input[type="date"],
body[data-theme="dark"] input[type="time"],
body[data-theme="dark"] input[type="password"],
body[data-theme="dark"] textarea,
body[data-theme="dark"] select {
    background: var(--dark-bg-tertiary) !important;
    border: 1px solid var(--dark-border) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme input[type="text"]:focus,
body.dark-theme input[type="email"]:focus,
body.dark-theme input[type="tel"]:focus,
body.dark-theme input[type="number"]:focus,
body.dark-theme input[type="date"]:focus,
body.dark-theme input[type="time"]:focus,
body.dark-theme input[type="password"]:focus,
body.dark-theme textarea:focus,
body.dark-theme select:focus,
body[data-theme="dark"] input[type="text"]:focus,
body[data-theme="dark"] input[type="email"]:focus,
body[data-theme="dark"] input[type="tel"]:focus,
body[data-theme="dark"] input[type="number"]:focus,
body[data-theme="dark"] input[type="date"]:focus,
body[data-theme="dark"] input[type="time"]:focus,
body[data-theme="dark"] input[type="password"]:focus,
body[data-theme="dark"] textarea:focus,
body[data-theme="dark"] select:focus {
    border-color: var(--dark-accent-blue) !important;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1) !important;
    outline: none;
}

/* Alerts Dark Theme */
body.dark-theme .alert,
body[data-theme="dark"] .alert {
    border-color: var(--dark-border) !important;
    background: var(--dark-bg-tertiary) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .alert-success,
body[data-theme="dark"] .alert-success {
    background: rgba(76, 175, 80, 0.1) !important;
    color: var(--dark-accent-green) !important;
    border-color: rgba(76, 175, 80, 0.3) !important;
}

body.dark-theme .alert-error,
body[data-theme="dark"] .alert-error {
    background: rgba(244, 67, 54, 0.1) !important;
    color: var(--dark-accent-red) !important;
    border-color: rgba(244, 67, 54, 0.3) !important;
}

body.dark-theme .alert-warning,
body[data-theme="dark"] .alert-warning {
    background: rgba(255, 152, 0, 0.1) !important;
    color: var(--dark-accent-orange) !important;
    border-color: rgba(255, 152, 0, 0.3) !important;
}

body.dark-theme .alert-info,
body[data-theme="dark"] .alert-info {
    background: rgba(33, 150, 243, 0.1) !important;
    color: var(--dark-accent-blue) !important;
    border-color: rgba(33, 150, 243, 0.3) !important;
}

/* Empty State Dark Theme */
body.dark-theme .empty-state,
body[data-theme="dark"] .empty-state {
    color: var(--dark-text-muted) !important;
}

body.dark-theme .empty-state i,
body[data-theme="dark"] .empty-state i {
    color: var(--dark-accent-blue) !important;
}

body.dark-theme .empty-state h3,
body[data-theme="dark"] .empty-state h3 {
    color: var(--dark-text-secondary) !important;
}

/* Stats Cards Dark Theme */
body.dark-theme .stat-card,
body[data-theme="dark"] .stat-card {
    background: var(--dark-bg-card) !important;
    border-color: var(--dark-border) !important;
}

body.dark-theme .stat-card:hover,
body[data-theme="dark"] .stat-card:hover {
    border-color: var(--dark-border-light) !important;
}

body.dark-theme .stat-icon,
body[data-theme="dark"] .stat-icon {
    background: var(--dark-bg-tertiary) !important;
    color: var(--dark-accent-blue) !important;
}

body.dark-theme .stat-content h3,
body[data-theme="dark"] .stat-content h3 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .stat-content p,
body[data-theme="dark"] .stat-content p {
    color: var(--dark-text-muted) !important;
}

/* Action Buttons Dark Theme */
body.dark-theme .action-buttons .btn,
body[data-theme="dark"] .action-buttons .btn {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .action-buttons .btn:hover,
body[data-theme="dark"] .action-buttons .btn:hover {
    background: var(--dark-accent-blue) !important;
    color: var(--dark-text-primary) !important;
    border-color: var(--dark-accent-blue) !important;
}

/* Checkbox and Radio Dark Theme */
body.dark-theme input[type="checkbox"],
body.dark-theme input[type="radio"],
body[data-theme="dark"] input[type="checkbox"],
body[data-theme="dark"] input[type="radio"] {
    accent-color: var(--dark-accent-blue);
}

body.dark-theme .checkbox-label,
body.dark-theme .radio-label,
body[data-theme="dark"] .checkbox-label,
body[data-theme="dark"] .radio-label {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .checkbox-label:hover,
body.dark-theme .radio-label:hover,
body[data-theme="dark"] .checkbox-label:hover,
body[data-theme="dark"] .radio-label:hover {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-accent-blue) !important;
}

body.dark-theme .checkbox-label:has(input:checked),
body.dark-theme .radio-label:has(input:checked),
body[data-theme="dark"] .checkbox-label:has(input:checked),
body[data-theme="dark"] .radio-label:has(input:checked) {
    background: rgba(33, 150, 243, 0.1) !important;
    border-color: var(--dark-accent-blue) !important;
    color: var(--dark-accent-blue) !important;
}

/* Links Dark Theme */
body.dark-theme a,
body[data-theme="dark"] a {
    color: var(--dark-accent-blue) !important;
}

body.dark-theme a:hover,
body[data-theme="dark"] a:hover {
    color: var(--dark-text-primary) !important;
}

/* Text Colors Dark Theme */
body.dark-theme .text-muted,
body[data-theme="dark"] .text-muted {
    color: var(--dark-text-muted) !important;
}

body.dark-theme .text-primary,
body[data-theme="dark"] .text-primary {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .text-secondary,
body[data-theme="dark"] .text-secondary {
    color: var(--dark-text-secondary) !important;
}

/* Utility Classes Dark Theme */
body.dark-theme .bg-light,
body[data-theme="dark"] .bg-light {
    background: var(--dark-bg-card) !important;
}

body.dark-theme .bg-white,
body[data-theme="dark"] .bg-white {
    background: var(--dark-bg-card) !important;
}

body.dark-theme .text-dark,
body[data-theme="dark"] .text-dark {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .border,
body[data-theme="dark"] .border {
    border-color: var(--dark-border) !important;
}

body.dark-theme .border-light,
body[data-theme="dark"] .border-light {
    border-color: var(--dark-border-light) !important;
}

/* Modal Dark Theme */
body.dark-theme .modal-backdrop,
body[data-theme="dark"] .modal-backdrop {
    background: rgba(0, 0, 0, 0.7) !important;
}

body.dark-theme .modal-content,
body[data-theme="dark"] .modal-content {
    background: var(--dark-bg-card) !important;
    border-color: var(--dark-border) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .modal-header,
body[data-theme="dark"] .modal-header {
    background: var(--dark-bg-tertiary) !important;
    border-bottom-color: var(--dark-border) !important;
}

body.dark-theme .modal-title,
body[data-theme="dark"] .modal-title {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .modal-body,
body[data-theme="dark"] .modal-body {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .modal-footer,
body[data-theme="dark"] .modal-footer {
    background: var(--dark-bg-tertiary) !important;
    border-top-color: var(--dark-border) !important;
}

/* Dropdown Dark Theme */
body.dark-theme .dropdown-menu,
body[data-theme="dark"] .dropdown-menu {
    background: var(--dark-bg-card) !important;
    border-color: var(--dark-border) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

body.dark-theme .dropdown-item,
body[data-theme="dark"] .dropdown-item {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .dropdown-item:hover,
body[data-theme="dark"] .dropdown-item:hover {
    background: var(--dark-bg-tertiary) !important;
    color: var(--dark-text-primary) !important;
}

/* Pagination Dark Theme */
body.dark-theme .pagination .page-link,
body[data-theme="dark"] .pagination .page-link {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .pagination .page-link:hover,
body[data-theme="dark"] .pagination .page-link:hover {
    background: var(--dark-accent-blue) !important;
    color: var(--dark-text-primary) !important;
    border-color: var(--dark-accent-blue) !important;
}

body.dark-theme .pagination .page-item.active .page-link,
body[data-theme="dark"] .pagination .page-item.active .page-link {
    background: var(--dark-accent-blue) !important;
    border-color: var(--dark-accent-blue) !important;
    color: var(--dark-text-primary) !important;
}

/* Dashboard Cards Dark Theme - Fix for white areas */
body.dark-theme .content-card,
body.dark-theme .stat-card,
body.dark-theme .quick-actions,
body.dark-theme .action-card,
body[data-theme="dark"] .content-card,
body[data-theme="dark"] .stat-card,
body[data-theme="dark"] .quick-actions,
body[data-theme="dark"] .action-card {
    background: var(--dark-bg-card) !important;
    border-color: var(--dark-border) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .content-card:hover,
body.dark-theme .stat-card:hover,
body[data-theme="dark"] .content-card:hover,
body[data-theme="dark"] .stat-card:hover {
    border-color: var(--dark-border-light) !important;
}

body.dark-theme .card-header,
body[data-theme="dark"] .card-header {
    background: var(--dark-bg-tertiary) !important;
    border-bottom-color: var(--dark-border) !important;
}

body.dark-theme .card-header h3,
body[data-theme="dark"] .card-header h3 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .card-content,
body[data-theme="dark"] .card-content {
    color: var(--dark-text-secondary) !important;
}

/* Appointment Items Dark Theme */
body.dark-theme .appointment-item {
    background: var(--dark-bg-tertiary) !important;
    border-left-color: var(--dark-accent-blue) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .appointment-item:hover {
    background: var(--dark-bg-card) !important;
}

body.dark-theme .appointment-info h4 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .appointment-info p {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .appointment-time {
    color: var(--dark-text-muted) !important;
}

/* Event Items Dark Theme */
body.dark-theme .event-item {
    background: var(--dark-bg-tertiary) !important;
    border-left-color: var(--dark-accent-blue) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .event-item:hover {
    background: var(--dark-bg-card) !important;
}

body.dark-theme .event-info h4 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .event-info p {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .event-time {
    color: var(--dark-text-muted) !important;
}

body.dark-theme .stat-number {
    color: var(--dark-accent-blue) !important;
}

body.dark-theme .stat-label {
    color: var(--dark-text-muted) !important;
}

/* Quick Actions Dark Theme */
body.dark-theme .quick-actions h3 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .action-card {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .action-card:hover {
    background: var(--dark-accent-blue) !important;
    color: var(--dark-text-primary) !important;
    border-color: var(--dark-accent-blue) !important;
}

/* System Administration Cards Dark Theme */
body.dark-theme .system-management {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .system-management h3 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .management-card {
    background: var(--dark-bg-card) !important;
    border-color: var(--dark-border) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .management-card:hover {
    border-color: var(--dark-border-light) !important;
    background: var(--dark-bg-tertiary) !important;
}

body.dark-theme .management-card h4 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .management-card p {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .management-card .card-link {
    color: var(--dark-accent-blue) !important;
}

body.dark-theme .management-card:hover .card-link {
    color: var(--dark-text-primary) !important;
}

/* User Menu Dark Theme */
body.dark-theme .nav-user-section,
body[data-theme="dark"] .nav-user-section {
    border-top-color: var(--dark-border) !important;
}

body.dark-theme .user-menu-toggle,
body[data-theme="dark"] .user-menu-toggle {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .user-menu-toggle:hover,
body[data-theme="dark"] .user-menu-toggle:hover {
    background: var(--dark-bg-tertiary) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .user-dropdown,
body[data-theme="dark"] .user-dropdown {
    background: var(--dark-bg-card) !important;
    border-color: var(--dark-border) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}

body.dark-theme .user-dropdown-item,
body[data-theme="dark"] .user-dropdown-item {
    color: var(--dark-text-secondary) !important;
    border-bottom-color: var(--dark-border) !important;
}

body.dark-theme .user-dropdown-item:hover,
body[data-theme="dark"] .user-dropdown-item:hover {
    background: var(--dark-bg-tertiary) !important;
    color: var(--dark-accent-blue) !important;
}

body.dark-theme .user-dropdown-item.logout:hover,
body[data-theme="dark"] .user-dropdown-item.logout:hover {
    color: var(--dark-accent-red) !important;
}

body.dark-theme .user-dropdown-divider,
body[data-theme="dark"] .user-dropdown-divider {
    background: var(--dark-border) !important;
}

/* Autohaus Info Dark Theme */
body.dark-theme .autohaus-info,
body[data-theme="dark"] .autohaus-info {
    background: rgba(33, 150, 243, 0.1) !important;
    color: var(--dark-accent-blue) !important;
    border: 1px solid rgba(33, 150, 243, 0.2) !important;
}

/* Autohaus Badge Dark Theme */
body.dark-theme .autohaus-badge,
body[data-theme="dark"] .autohaus-badge {
    background: rgba(33, 150, 243, 0.2) !important;
    color: var(--dark-accent-blue) !important;
    border: 1px solid rgba(33, 150, 243, 0.3) !important;
}

body.dark-theme .autohaus-badge i,
body[data-theme="dark"] .autohaus-badge i {
    color: var(--dark-accent-blue) !important;
}

/* Theme Toggle Dark Theme */
body.dark-theme .theme-toggle-section,
body[data-theme="dark"] .theme-toggle-section {
    margin: 1rem 0;
    padding: 1rem;
    border-top: 1px solid var(--dark-border) !important;
    border-bottom: 1px solid var(--dark-border) !important;
}

body.dark-theme .theme-toggle-btn,
body[data-theme="dark"] .theme-toggle-btn {
    background: var(--dark-bg-tertiary) !important;
    color: var(--dark-text-secondary) !important;
    border: 1px solid var(--dark-border) !important;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

body.dark-theme .theme-toggle-btn:hover,
body[data-theme="dark"] .theme-toggle-btn:hover {
    background: var(--dark-accent-blue) !important;
    color: var(--dark-text-primary) !important;
    border-color: var(--dark-accent-blue) !important;
}

/* Modal Dark Theme - Fix for white areas */
body.dark-theme .modal-content,
body[data-theme="dark"] .modal-content {
    background: var(--dark-bg-card) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .modal-header,
body[data-theme="dark"] .modal-header {
    background: var(--dark-bg-tertiary) !important;
    border-bottom-color: var(--dark-border) !important;
}

body.dark-theme .modal-header h3,
body[data-theme="dark"] .modal-header h3 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .modal-close,
body[data-theme="dark"] .modal-close {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .modal-close:hover,
body[data-theme="dark"] .modal-close:hover {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .modal-body,
body[data-theme="dark"] .modal-body {
    color: var(--dark-text-secondary) !important;
}

/* Appointment Details Modal Dark Theme */
body.dark-theme .appointment-details-professional,
body[data-theme="dark"] .appointment-details-professional {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .detail-header,
body[data-theme="dark"] .detail-header {
    background: var(--dark-bg-tertiary) !important;
    border-bottom-color: var(--dark-border) !important;
}

body.dark-theme .customer-info h3,
body[data-theme="dark"] .customer-info h3 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .customer-subtitle,
body[data-theme="dark"] .customer-subtitle {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .customer-subtitle a,
body[data-theme="dark"] .customer-subtitle a {
    color: var(--dark-accent-blue) !important;
}

body.dark-theme .status-badge-large,
body[data-theme="dark"] .status-badge-large {
    background: var(--dark-bg-card) !important;
    border-color: var(--dark-border) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .status-badge-large.status-success,
body[data-theme="dark"] .status-badge-large.status-success {
    background: rgba(76, 175, 80, 0.2) !important;
    color: var(--dark-accent-green) !important;
    border-color: rgba(76, 175, 80, 0.3) !important;
}

body.dark-theme .status-badge-large.status-primary,
body[data-theme="dark"] .status-badge-large.status-primary {
    background: rgba(33, 150, 243, 0.2) !important;
    color: var(--dark-accent-blue) !important;
    border-color: rgba(33, 150, 243, 0.3) !important;
}

body.dark-theme .status-badge-large.status-warning,
body[data-theme="dark"] .status-badge-large.status-warning {
    background: rgba(255, 152, 0, 0.2) !important;
    color: var(--dark-accent-orange) !important;
    border-color: rgba(255, 152, 0, 0.3) !important;
}

body.dark-theme .status-badge-large.status-danger,
body[data-theme="dark"] .status-badge-large.status-danger {
    background: rgba(244, 67, 54, 0.2) !important;
    color: var(--dark-accent-red) !important;
    border-color: rgba(244, 67, 54, 0.3) !important;
}

/* Detail Content Grid Dark Theme */
body.dark-theme .detail-content-grid,
body[data-theme="dark"] .detail-content-grid {
    background: var(--dark-bg-primary) !important;
}

body.dark-theme .detail-section,
body[data-theme="dark"] .detail-section {
    background: var(--dark-bg-card) !important;
    border-color: var(--dark-border) !important;
}

body.dark-theme .section-header h4,
body[data-theme="dark"] .section-header h4 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .section-content,
body[data-theme="dark"] .section-content {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .info-item,
body[data-theme="dark"] .info-item {
    background: var(--dark-bg-tertiary) !important;
    border-left-color: var(--dark-accent-blue) !important;
}

body.dark-theme .info-label,
body[data-theme="dark"] .info-label {
    color: var(--dark-text-muted) !important;
}

body.dark-theme .info-label i,
body[data-theme="dark"] .info-label i {
    color: var(--dark-accent-blue) !important;
}

body.dark-theme .info-value,
body[data-theme="dark"] .info-value {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .info-text,
body[data-theme="dark"] .info-text {
    color: var(--dark-text-secondary) !important;
}

/* Professional Category Dark Theme */
body.dark-theme .professional-category,
body[data-theme="dark"] .professional-category {
    background: var(--dark-bg-card) !important;
    border-left-color: var(--dark-accent-blue) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3) !important;
}

body.dark-theme .professional-category:hover,
body[data-theme="dark"] .professional-category:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.4) !important;
}

body.dark-theme .category-header,
body[data-theme="dark"] .category-header {
    background: var(--dark-bg-tertiary) !important;
    border-bottom-color: var(--dark-border) !important;
}

body.dark-theme .category-header h6,
body[data-theme="dark"] .category-header h6 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .category-header i,
body[data-theme="dark"] .category-header i {
    color: var(--dark-accent-blue) !important;
}

body.dark-theme .professional-item,
body[data-theme="dark"] .professional-item {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .professional-item:hover,
body[data-theme="dark"] .professional-item:hover {
    background: var(--dark-bg-card) !important;
    border-color: var(--dark-accent-blue) !important;
}

body.dark-theme .professional-item::before,
body[data-theme="dark"] .professional-item::before {
    background: linear-gradient(135deg, var(--dark-accent-blue) 0%, var(--dark-accent-purple) 100%) !important;
}

body.dark-theme .professional-item.priority-high,
body[data-theme="dark"] .professional-item.priority-high {
    border-left-color: var(--dark-accent-red) !important;
    background: rgba(244, 67, 54, 0.1) !important;
}

body.dark-theme .professional-item.priority-medium,
body[data-theme="dark"] .professional-item.priority-medium {
    border-left-color: var(--dark-accent-orange) !important;
    background: rgba(255, 152, 0, 0.1) !important;
}

body.dark-theme .professional-item.priority-low,
body[data-theme="dark"] .professional-item.priority-low {
    border-left-color: var(--dark-text-muted) !important;
    background: var(--dark-bg-tertiary) !important;
}

body.dark-theme .item-icon,
body[data-theme="dark"] .item-icon {
    background: linear-gradient(135deg, var(--dark-accent-blue) 0%, var(--dark-accent-purple) 100%) !important;
}

body.dark-theme .item-label,
body[data-theme="dark"] .item-label {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .item-value,
body[data-theme="dark"] .item-value {
    color: var(--dark-text-primary) !important;
}

/* Tire Status Section Dark Theme */
body.dark-theme .tire-status-section,
body[data-theme="dark"] .tire-status-section {
    background: var(--dark-bg-card) !important;
    border-color: var(--dark-border) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

body.dark-theme .tire-status-section h6,
body[data-theme="dark"] .tire-status-section h6 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .tire-status-section h6 i,
body[data-theme="dark"] .tire-status-section h6 i {
    color: var(--dark-accent-blue) !important;
}

body.dark-theme .info-item.modern,
body[data-theme="dark"] .info-item.modern {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
}

body.dark-theme .info-item.modern:hover,
body[data-theme="dark"] .info-item.modern:hover {
    background: var(--dark-bg-card) !important;
    border-color: var(--dark-accent-blue) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
}

body.dark-theme .info-item.modern::before,
body[data-theme="dark"] .info-item.modern::before {
    background: linear-gradient(135deg, var(--dark-accent-blue) 0%, var(--dark-accent-purple) 100%) !important;
}

body.dark-theme .info-item.modern .info-label,
body[data-theme="dark"] .info-item.modern .info-label {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .info-item.modern .info-label i,
body[data-theme="dark"] .info-item.modern .info-label i {
    color: var(--dark-accent-blue) !important;
}

body.dark-theme .info-item.modern .info-value,
body[data-theme="dark"] .info-item.modern .info-value {
    color: var(--dark-text-primary) !important;
}

/* Recommendation Card Dark Theme */
body.dark-theme .recommendation-card,
body[data-theme="dark"] .recommendation-card {
    background: rgba(255, 193, 7, 0.1) !important;
    border-color: var(--dark-accent-yellow) !important;
}

body.dark-theme .recommendation-card::before,
body[data-theme="dark"] .recommendation-card::before {
    background: var(--dark-accent-yellow) !important;
}

/* No Data Message Dark Theme */
body.dark-theme .no-data-message,
body[data-theme="dark"] .no-data-message {
    color: var(--dark-text-muted) !important;
}

body.dark-theme .no-data-message i,
body[data-theme="dark"] .no-data-message i {
    color: var(--dark-accent-yellow) !important;
}

body.dark-theme .no-data-message h3,
body[data-theme="dark"] .no-data-message h3 {
    color: var(--dark-text-secondary) !important;
}

/* Edit Appointment Modal Dark Theme */
body.dark-theme #edit-appointment-modal .modal-content,
body[data-theme="dark"] #edit-appointment-modal .modal-content {
    background: var(--dark-bg-card) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .form-sections,
body[data-theme="dark"] .form-sections {
    background: var(--dark-bg-primary) !important;
}

body.dark-theme .form-section,
body[data-theme="dark"] .form-section {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
}

body.dark-theme .section-title,
body[data-theme="dark"] .section-title {
    color: var(--dark-accent-blue) !important;
    border-bottom-color: var(--dark-accent-blue) !important;
}

body.dark-theme .section-title i,
body[data-theme="dark"] .section-title i {
    color: var(--dark-accent-blue) !important;
}

body.dark-theme .form-group label,
body[data-theme="dark"] .form-group label {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .form-group label::after,
body[data-theme="dark"] .form-group label::after {
    background: linear-gradient(to right, var(--dark-border), transparent) !important;
}

body.dark-theme .form-group input,
body.dark-theme .form-group select,
body.dark-theme .form-group textarea,
body[data-theme="dark"] .form-group input,
body[data-theme="dark"] .form-group select,
body[data-theme="dark"] .form-group textarea {
    background: var(--dark-bg-card) !important;
    border-color: var(--dark-border) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .form-group input:focus,
body.dark-theme .form-group select:focus,
body.dark-theme .form-group textarea:focus,
body[data-theme="dark"] .form-group input:focus,
body[data-theme="dark"] .form-group select:focus,
body[data-theme="dark"] .form-group textarea:focus {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-accent-blue) !important;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1) !important;
}

body.dark-theme .form-group input:hover,
body.dark-theme .form-group select:hover,
body.dark-theme .form-group textarea:hover,
body[data-theme="dark"] .form-group input:hover,
body[data-theme="dark"] .form-group select:hover,
body[data-theme="dark"] .form-group textarea:hover {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border-light) !important;
}

body.dark-theme .modal-actions,
body[data-theme="dark"] .modal-actions {
    background: var(--dark-bg-tertiary) !important;
    border-top-color: var(--dark-border) !important;
}

/* Tire Order Modal Dark Theme */
body.dark-theme .tire-order-modal,
body[data-theme="dark"] .tire-order-modal {
    background: var(--dark-bg-card) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .tire-order-confirmation,
body[data-theme="dark"] .tire-order-confirmation {
    background: var(--dark-bg-card) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .order-header,
body[data-theme="dark"] .order-header {
    background: var(--dark-bg-tertiary) !important;
    border-bottom-color: var(--dark-border) !important;
}

body.dark-theme .order-header h4,
body[data-theme="dark"] .order-header h4 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .order-header i,
body[data-theme="dark"] .order-header i {
    color: var(--dark-accent-blue) !important;
}

body.dark-theme .order-details,
body[data-theme="dark"] .order-details {
    background: var(--dark-bg-primary) !important;
}

body.dark-theme .appointments-list,
body[data-theme="dark"] .appointments-list {
    background: var(--dark-bg-primary) !important;
}

body.dark-theme .appointment-summary,
body[data-theme="dark"] .appointment-summary {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .appointment-summary:hover,
body[data-theme="dark"] .appointment-summary:hover {
    background: var(--dark-bg-card) !important;
    border-color: var(--dark-border-light) !important;
}

body.dark-theme .appointment-summary h5,
body[data-theme="dark"] .appointment-summary h5 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .appointment-summary p,
body[data-theme="dark"] .appointment-summary p {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .tire-info,
body[data-theme="dark"] .tire-info {
    background: var(--dark-bg-card) !important;
    border-color: var(--dark-border) !important;
}

body.dark-theme .tire-info h6,
body[data-theme="dark"] .tire-info h6 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .tire-info p,
body[data-theme="dark"] .tire-info p {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .tire-info .tire-specs,
body[data-theme="dark"] .tire-info .tire-specs {
    color: var(--dark-text-muted) !important;
}

body.dark-theme .order-summary,
body[data-theme="dark"] .order-summary {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
}

body.dark-theme .order-summary h5,
body[data-theme="dark"] .order-summary h5 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .order-summary .summary-item,
body[data-theme="dark"] .order-summary .summary-item {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .order-summary .summary-total,
body[data-theme="dark"] .order-summary .summary-total {
    color: var(--dark-text-primary) !important;
    border-top-color: var(--dark-border) !important;
}

body.dark-theme .order-actions,
body[data-theme="dark"] .order-actions {
    background: var(--dark-bg-tertiary) !important;
    border-top-color: var(--dark-border) !important;
}

/* Radio Groups Dark Theme */
body.dark-theme .radio-group,
body[data-theme="dark"] .radio-group {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
}

body.dark-theme .radio-label,
body[data-theme="dark"] .radio-label {
    background: var(--dark-bg-card) !important;
    border-color: var(--dark-border) !important;
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .radio-label:hover,
body[data-theme="dark"] .radio-label:hover {
    background: rgba(33, 150, 243, 0.1) !important;
    border-color: var(--dark-accent-blue) !important;
}

body.dark-theme .radio-label:has(input:checked),
body[data-theme="dark"] .radio-label:has(input:checked) {
    background: rgba(33, 150, 243, 0.2) !important;
    border-color: var(--dark-accent-blue) !important;
    color: var(--dark-accent-blue) !important;
}

body.dark-theme .radio-text,
body[data-theme="dark"] .radio-text {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .radio-label:has(input:checked) .radio-text,
body[data-theme="dark"] .radio-label:has(input:checked) .radio-text {
    color: var(--dark-accent-blue) !important;
}

/* Checkbox Groups Dark Theme */
body.dark-theme .checkbox-group,
body[data-theme="dark"] .checkbox-group {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
}

body.dark-theme .checkbox-label,
body[data-theme="dark"] .checkbox-label {
    background: var(--dark-bg-card) !important;
    border-color: var(--dark-border) !important;
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .checkbox-label:hover,
body[data-theme="dark"] .checkbox-label:hover {
    background: rgba(33, 150, 243, 0.1) !important;
    border-color: var(--dark-accent-blue) !important;
}

body.dark-theme .checkbox-label:has(input:checked),
body[data-theme="dark"] .checkbox-label:has(input:checked) {
    background: rgba(33, 150, 243, 0.2) !important;
    border-color: var(--dark-accent-blue) !important;
    color: var(--dark-accent-blue) !important;
}

body.dark-theme .checkbox-text,
body[data-theme="dark"] .checkbox-text {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .checkbox-label:has(input:checked) .checkbox-text,
body[data-theme="dark"] .checkbox-label:has(input:checked) .checkbox-text {
    color: var(--dark-accent-blue) !important;
}

/* Time Slots Dark Theme */
body.dark-theme .time-slots,
body[data-theme="dark"] .time-slots {
    background: var(--dark-bg-primary) !important;
}

body.dark-theme .time-slot,
body[data-theme="dark"] .time-slot {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .time-slot:hover,
body[data-theme="dark"] .time-slot:hover {
    background: var(--dark-bg-card) !important;
    border-color: var(--dark-accent-blue) !important;
}

body.dark-theme .time-slot.selected,
body[data-theme="dark"] .time-slot.selected {
    background: var(--dark-accent-blue) !important;
    color: var(--dark-text-primary) !important;
    border-color: var(--dark-accent-blue) !important;
}

body.dark-theme .time-slot.unavailable,
body[data-theme="dark"] .time-slot.unavailable {
    background: var(--dark-bg-tertiary) !important;
    color: var(--dark-text-muted) !important;
    opacity: 0.6;
}

body.dark-theme .time-slot .time,
body[data-theme="dark"] .time-slot .time {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .time-slot .availability,
body[data-theme="dark"] .time-slot .availability {
    color: var(--dark-text-muted) !important;
}

/* Form Validation Dark Theme */
body.dark-theme .form-group.error input,
body.dark-theme .form-group.error select,
body.dark-theme .form-group.error textarea,
body[data-theme="dark"] .form-group.error input,
body[data-theme="dark"] .form-group.error select,
body[data-theme="dark"] .form-group.error textarea {
    border-color: var(--dark-accent-red) !important;
    background: rgba(244, 67, 54, 0.1) !important;
}

body.dark-theme .form-group.success input,
body.dark-theme .form-group.success select,
body.dark-theme .form-group.success textarea,
body[data-theme="dark"] .form-group.success input,
body[data-theme="dark"] .form-group.success select,
body[data-theme="dark"] .form-group.success textarea {
    border-color: var(--dark-accent-green) !important;
    background: rgba(76, 175, 80, 0.1) !important;
}

body.dark-theme .form-error,
body[data-theme="dark"] .form-error {
    color: var(--dark-accent-red) !important;
}

body.dark-theme .form-success,
body[data-theme="dark"] .form-success {
    color: var(--dark-accent-green) !important;
}

/* Tire Order Modal Specific Dark Theme Fixes */
body.dark-theme .tire-order-modal .modal-content,
body[data-theme="dark"] .tire-order-modal .modal-content {
    max-width: 800px !important; /* Make modal wider */
    width: 95% !important;
}

body.dark-theme .order-header,
body[data-theme="dark"] .order-header {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
}

body.dark-theme .customer-info h4,
body.dark-theme .appointment-info h4,
body[data-theme="dark"] .customer-info h4,
body[data-theme="dark"] .appointment-info h4 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .customer-details,
body.dark-theme .appointment-details,
body[data-theme="dark"] .customer-details,
body[data-theme="dark"] .appointment-details {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .customer-details i,
body.dark-theme .appointment-details i,
body[data-theme="dark"] .customer-details i,
body[data-theme="dark"] .appointment-details i {
    color: var(--dark-accent-blue) !important;
}

/* Order Summary Dark Theme - Improved text visibility */
body.dark-theme .order-summary,
body[data-theme="dark"] .order-summary {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
    padding: 1.5rem !important;
}

body.dark-theme .order-summary h4,
body[data-theme="dark"] .order-summary h4 {
    color: var(--dark-text-primary) !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
}

body.dark-theme .order-summary h4 i,
body[data-theme="dark"] .order-summary h4 i {
    color: var(--dark-accent-blue) !important;
}

body.dark-theme .order-summary .summary-item,
body[data-theme="dark"] .order-summary .summary-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid var(--dark-border) !important;
}

body.dark-theme .order-summary .summary-item:last-child,
body[data-theme="dark"] .order-summary .summary-item:last-child {
    border-bottom: none !important;
}

body.dark-theme .order-summary .summary-item .label,
body[data-theme="dark"] .order-summary .summary-item .label {
    font-weight: 500 !important;
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .order-summary .summary-item .value,
body[data-theme="dark"] .order-summary .summary-item .value {
    font-weight: 600 !important;
    color: var(--dark-text-primary) !important; /* High contrast white text */
    background: rgba(33, 150, 243, 0.1) !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 6px !important;
    border: 1px solid var(--dark-accent-blue) !important;
}

body.dark-theme .order-summary .summary-total,
body[data-theme="dark"] .order-summary .summary-total {
    color: var(--dark-text-primary) !important;
    border-top-color: var(--dark-border) !important;
}

/* Autohaus Selection Dark Theme - Professional Design */
body.dark-theme .autohaus-selection,
body[data-theme="dark"] .autohaus-selection {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
    padding: 1.5rem !important;
}

body.dark-theme .autohaus-selection h4,
body[data-theme="dark"] .autohaus-selection h4 {
    color: var(--dark-text-primary) !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
}

body.dark-theme .autohaus-selection h4 i,
body[data-theme="dark"] .autohaus-selection h4 i {
    color: var(--dark-accent-blue) !important;
}

body.dark-theme .autohaus-selection .selection-info,
body[data-theme="dark"] .autohaus-selection .selection-info {
    color: var(--dark-text-secondary) !important;
    margin-bottom: 1rem !important;
    font-size: 0.9rem !important;
}

body.dark-theme .autohaus-options,
body[data-theme="dark"] .autohaus-options {
    background: var(--dark-bg-primary) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}

body.dark-theme .autohaus-option,
body[data-theme="dark"] .autohaus-option {
    background: var(--dark-bg-card) !important;
    border: 2px solid var(--dark-border) !important;
    border-radius: 12px !important;
    padding: 1rem !important;
    color: var(--dark-text-primary) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

body.dark-theme .autohaus-option:hover,
body[data-theme="dark"] .autohaus-option:hover {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-accent-blue) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15) !important;
}

body.dark-theme .autohaus-option.selected,
body[data-theme="dark"] .autohaus-option.selected {
    background: rgba(33, 150, 243, 0.1) !important;
    border-color: var(--dark-accent-blue) !important;
    border-width: 2px !important;
}

body.dark-theme .autohaus-option.selected::before,
body[data-theme="dark"] .autohaus-option.selected::before {
    content: "✓" !important;
    position: absolute !important;
    top: 0.75rem !important;
    right: 0.75rem !important;
    background: var(--dark-accent-blue) !important;
    color: var(--dark-text-primary) !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.8rem !important;
    font-weight: bold !important;
}

body.dark-theme .autohaus-option-header,
body[data-theme="dark"] .autohaus-option-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 0.5rem !important;
}

body.dark-theme .autohaus-option-header h5,
body[data-theme="dark"] .autohaus-option-header h5 {
    color: var(--dark-text-primary) !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

body.dark-theme .autohaus-short,
body[data-theme="dark"] .autohaus-short {
    background: var(--dark-accent-blue) !important;
    color: var(--dark-text-primary) !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 6px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
}

body.dark-theme .autohaus-option-details,
body[data-theme="dark"] .autohaus-option-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
}

body.dark-theme .autohaus-option-details p,
body[data-theme="dark"] .autohaus-option-details p {
    color: var(--dark-text-secondary) !important;
    margin: 0 !important;
    font-size: 0.85rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

body.dark-theme .autohaus-option-details i,
body[data-theme="dark"] .autohaus-option-details i {
    color: var(--dark-accent-blue) !important;
    width: 14px !important;
    text-align: center !important;
}

/* Remove the old confirmation display */
body.dark-theme .autohaus-selection-confirmed,
body[data-theme="dark"] .autohaus-selection-confirmed {
    display: none !important;
}

/* Tire Order Confirmation Modal Dark Theme */
body.dark-theme .tire-order-result,
body[data-theme="dark"] .tire-order-result {
    background: var(--dark-bg-card) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .tire-order-result.success .result-header,
body[data-theme="dark"] .tire-order-result.success .result-header {
    background: rgba(40, 167, 69, 0.1) !important;
    border-color: rgba(40, 167, 69, 0.3) !important;
}

body.dark-theme .tire-order-result.success .result-header h4,
body[data-theme="dark"] .tire-order-result.success .result-header h4 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .success-icon,
body[data-theme="dark"] .success-icon {
    color: var(--dark-accent-green) !important;
}

body.dark-theme .result-message,
body[data-theme="dark"] .result-message {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .result-message p,
body[data-theme="dark"] .result-message p {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .result-details,
body[data-theme="dark"] .result-details {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
}

body.dark-theme .tire-order-result .result-details,
body[data-theme="dark"] .tire-order-result .result-details {
    background: var(--dark-bg-tertiary) !important;
    border: 1px solid var(--dark-border) !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
}

body.dark-theme .detail-item,
body[data-theme="dark"] .detail-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid var(--dark-border) !important;
    background: transparent !important;
}

body.dark-theme .detail-item:last-child,
body[data-theme="dark"] .detail-item:last-child {
    border-bottom: none !important;
}

body.dark-theme .detail-item .label,
body[data-theme="dark"] .detail-item .label {
    font-weight: 500 !important;
    color: var(--dark-text-secondary) !important;
    background: transparent !important;
}

body.dark-theme .detail-item .value,
body[data-theme="dark"] .detail-item .value {
    font-weight: 600 !important;
    color: var(--dark-text-primary) !important;
    background: rgba(33, 150, 243, 0.1) !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 6px !important;
    border: 1px solid var(--dark-accent-blue) !important;
}

/* Force override for any white backgrounds */
body.dark-theme .tire-order-result *,
body[data-theme="dark"] .tire-order-result * {
    background-color: transparent !important;
}

body.dark-theme .tire-order-result .result-details,
body[data-theme="dark"] .tire-order-result .result-details,
body.dark-theme .tire-order-result .detail-item,
body[data-theme="dark"] .tire-order-result .detail-item {
    background: var(--dark-bg-tertiary) !important;
}

body.dark-theme .tire-order-result .detail-item .label,
body[data-theme="dark"] .tire-order-result .detail-item .label {
    background: transparent !important;
}

body.dark-theme .tire-order-result .detail-item .value,
body[data-theme="dark"] .tire-order-result .detail-item .value {
    background: rgba(33, 150, 243, 0.1) !important;
}

body.dark-theme .warning-info,
body[data-theme="dark"] .warning-info {
    background: rgba(255, 193, 7, 0.1) !important;
    border-color: rgba(255, 193, 7, 0.3) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .warning-info i,
body[data-theme="dark"] .warning-info i {
    color: #ffc107 !important;
}

body.dark-theme .result-actions,
body[data-theme="dark"] .result-actions {
    background: var(--dark-bg-tertiary) !important;
    border-top-color: var(--dark-border) !important;
    padding-top: 1rem !important;
}

body.dark-theme .result-actions .btn,
body[data-theme="dark"] .result-actions .btn {
    background: var(--dark-accent-blue) !important;
    border-color: var(--dark-accent-blue) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .result-actions .btn:hover,
body[data-theme="dark"] .result-actions .btn:hover {
    background: var(--dark-accent-blue-hover) !important;
    border-color: var(--dark-accent-blue-hover) !important;
}

/* Settings Page Dark Theme */
body.dark-theme .settings-tabs,
body[data-theme="dark"] .settings-tabs {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
}

body.dark-theme .tab-button,
body[data-theme="dark"] .tab-button {
    background: transparent !important;
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .tab-button:hover,
body[data-theme="dark"] .tab-button:hover {
    background: var(--dark-bg-card) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .tab-button.active,
body[data-theme="dark"] .tab-button.active {
    background: var(--dark-bg-card) !important;
    color: var(--dark-accent-blue) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
}

body.dark-theme .tab-button i,
body[data-theme="dark"] .tab-button i {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .tab-button.active i,
body[data-theme="dark"] .tab-button.active i {
    color: var(--dark-accent-blue) !important;
}

/* Settings Sections Dark Theme */
body.dark-theme .settings-section,
body[data-theme="dark"] .settings-section {
    background: var(--dark-bg-card) !important;
    border-color: var(--dark-border) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .section-header,
body[data-theme="dark"] .section-header {
    border-bottom-color: var(--dark-border) !important;
}

body.dark-theme .section-header h2,
body[data-theme="dark"] .section-header h2 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .section-header h2 i,
body[data-theme="dark"] .section-header h2 i {
    color: var(--dark-accent-blue) !important;
}

/* Form Elements Dark Theme */
body.dark-theme .form-group label,
body[data-theme="dark"] .form-group label {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .form-group input,
body[data-theme="dark"] .form-group input,
body.dark-theme .form-group select,
body[data-theme="dark"] .form-group select,
body.dark-theme .form-group textarea,
body[data-theme="dark"] .form-group textarea {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .form-group input:focus,
body[data-theme="dark"] .form-group input:focus,
body.dark-theme .form-group select:focus,
body[data-theme="dark"] .form-group select:focus,
body.dark-theme .form-group textarea:focus,
body[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--dark-accent-blue) !important;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1) !important;
}

body.dark-theme .checkbox-label,
body[data-theme="dark"] .checkbox-label {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .checkbox-text,
body[data-theme="dark"] .checkbox-text {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .text-muted,
body[data-theme="dark"] .text-muted {
    color: var(--dark-text-muted) !important;
}

body.dark-theme .text-muted a,
body[data-theme="dark"] .text-muted a {
    color: var(--dark-accent-blue) !important;
}

/* Current Logo Dark Theme */
body.dark-theme .current-logo,
body[data-theme="dark"] .current-logo {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
}

/* Autohaus Cards Dark Theme */
body.dark-theme .autohaus-card,
body[data-theme="dark"] .autohaus-card {
    background: var(--dark-bg-card) !important;
    border-color: var(--dark-border) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .autohaus-card:hover,
body[data-theme="dark"] .autohaus-card:hover {
    border-color: var(--dark-accent-blue) !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3) !important;
}

body.dark-theme .autohaus-header h4,
body[data-theme="dark"] .autohaus-header h4 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .autohaus-info,
body[data-theme="dark"] .autohaus-info {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
}

body.dark-theme .info-item,
body[data-theme="dark"] .info-item {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .info-item:hover,
body[data-theme="dark"] .info-item:hover {
    color: var(--dark-accent-blue) !important;
}

body.dark-theme .info-item i,
body[data-theme="dark"] .info-item i {
    color: var(--dark-accent-blue) !important;
    background: rgba(33, 150, 243, 0.1) !important;
}

/* Autohaus Prices Dark Theme */
body.dark-theme .autohaus-prices,
body[data-theme="dark"] .autohaus-prices {
    border-top-color: var(--dark-border) !important;
}

body.dark-theme .autohaus-prices h5,
body[data-theme="dark"] .autohaus-prices h5 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .autohaus-prices h5 i,
body[data-theme="dark"] .autohaus-prices h5 i {
    color: var(--dark-accent-green) !important;
    background: rgba(40, 167, 69, 0.1) !important;
}

body.dark-theme .price-item,
body[data-theme="dark"] .price-item {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
}

body.dark-theme .price-item:hover,
body[data-theme="dark"] .price-item:hover {
    background: var(--dark-bg-card) !important;
    border-color: var(--dark-accent-green) !important;
}

body.dark-theme .price-label,
body[data-theme="dark"] .price-label {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .price-value,
body[data-theme="dark"] .price-value {
    color: var(--dark-accent-green) !important;
}

/* Autohaus Services Dark Theme */
body.dark-theme .autohaus-services,
body[data-theme="dark"] .autohaus-services {
    border-top-color: var(--dark-border) !important;
}

body.dark-theme .autohaus-services h5,
body[data-theme="dark"] .autohaus-services h5 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .autohaus-services h5 i,
body[data-theme="dark"] .autohaus-services h5 i {
    color: var(--dark-accent-blue) !important;
    background: rgba(33, 150, 243, 0.1) !important;
}

body.dark-theme .service-item,
body[data-theme="dark"] .service-item {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
}

body.dark-theme .service-item:hover,
body[data-theme="dark"] .service-item:hover {
    background: var(--dark-bg-card) !important;
    border-color: var(--dark-accent-blue) !important;
}

body.dark-theme .service-name,
body[data-theme="dark"] .service-name {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .service-description,
body[data-theme="dark"] .service-description {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .service-price .price-value,
body[data-theme="dark"] .service-price .price-value {
    color: var(--dark-accent-green) !important;
}

body.dark-theme .service-price .price-on-request,
body[data-theme="dark"] .service-price .price-on-request {
    color: var(--dark-text-muted) !important;
}

/* Status Badges Dark Theme */
body.dark-theme .status-active,
body[data-theme="dark"] .status-active {
    background: var(--dark-accent-green) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .status-inactive,
body[data-theme="dark"] .status-inactive {
    background: var(--dark-accent-red) !important;
    color: var(--dark-text-primary) !important;
}

/* Service Cards Dark Theme */
body.dark-theme .service-card,
body[data-theme="dark"] .service-card {
    background: var(--dark-bg-card) !important;
    border-color: var(--dark-border) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .service-card:hover,
body[data-theme="dark"] .service-card:hover {
    border-color: var(--dark-accent-blue) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}

body.dark-theme .service-info h3,
body[data-theme="dark"] .service-info h3 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .service-description,
body[data-theme="dark"] .service-description {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .service-price,
body[data-theme="dark"] .service-price {
    color: var(--dark-accent-green) !important;
}

body.dark-theme .service-status.active,
body[data-theme="dark"] .service-status.active {
    background: rgba(40, 167, 69, 0.1) !important;
    color: var(--dark-accent-green) !important;
}

body.dark-theme .service-status.inactive,
body[data-theme="dark"] .service-status.inactive {
    background: rgba(220, 53, 69, 0.1) !important;
    color: var(--dark-accent-red) !important;
}

/* Service Form Dark Theme */
body.dark-theme .service-form,
body[data-theme="dark"] .service-form {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
}

body.dark-theme .service-form h3,
body[data-theme="dark"] .service-form h3 {
    color: var(--dark-text-primary) !important;
}

/* Modal Dark Theme */
body.dark-theme .modal-container,
body[data-theme="dark"] .modal-container {
    background: var(--dark-bg-card) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .modal-header,
body[data-theme="dark"] .modal-header {
    background: var(--dark-bg-tertiary) !important;
    border-bottom-color: var(--dark-border) !important;
}

body.dark-theme .modal-header h3,
body[data-theme="dark"] .modal-header h3 {
    color: var(--dark-text-primary) !important;
}

body.dark-theme .modal-close,
body[data-theme="dark"] .modal-close {
    color: var(--dark-text-secondary) !important;
}

body.dark-theme .modal-close:hover,
body[data-theme="dark"] .modal-close:hover {
    background: var(--dark-bg-card) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .modal-footer,
body[data-theme="dark"] .modal-footer {
    background: var(--dark-bg-tertiary) !important;
    border-top-color: var(--dark-border) !important;
}

/* List Header Dark Theme */
body.dark-theme .list-header,
body[data-theme="dark"] .list-header {
    border-bottom-color: var(--dark-border) !important;
}

body.dark-theme .list-header h3,
body[data-theme="dark"] .list-header h3 {
    color: var(--dark-text-primary) !important;
}

/* Alert Dark Theme */
body.dark-theme .alert,
body[data-theme="dark"] .alert {
    background: var(--dark-bg-tertiary) !important;
    border-color: var(--dark-border) !important;
    color: var(--dark-text-primary) !important;
}

body.dark-theme .alert.alert-success,
body[data-theme="dark"] .alert.alert-success {
    background: rgba(40, 167, 69, 0.1) !important;
    border-color: var(--dark-accent-green) !important;
    color: var(--dark-accent-green) !important;
}

body.dark-theme .alert.alert-error,
body[data-theme="dark"] .alert.alert-error {
    background: rgba(220, 53, 69, 0.1) !important;
    border-color: var(--dark-accent-red) !important;
    color: var(--dark-accent-red) !important;
}

body.dark-theme .alert.alert-info,
body[data-theme="dark"] .alert.alert-info {
    background: rgba(33, 150, 243, 0.1) !important;
    border-color: var(--dark-accent-blue) !important;
    color: var(--dark-accent-blue) !important;
}

body.dark-theme .selection-confirmed,
body[data-theme="dark"] .selection-confirmed {
    color: var(--dark-accent-green) !important;
}

body.dark-theme .selection-confirmed i,
body[data-theme="dark"] .selection-confirmed i {
    color: var(--dark-accent-green) !important;
}

body.dark-theme .loading-autohaus,
body[data-theme="dark"] .loading-autohaus {
    color: var(--dark-text-muted) !important;
}

body.dark-theme .autohaus-error,
body[data-theme="dark"] .autohaus-error {
    background: rgba(244, 67, 54, 0.1) !important;
    border-color: rgba(244, 67, 54, 0.2) !important;
    color: var(--dark-accent-red) !important;
}

/* Responsive Dark Theme */
@media (max-width: 768px) {
body.dark-theme .admin-sidebar,
body[data-theme="dark"] .admin-sidebar {
    background: var(--dark-bg-secondary);
}
    
    body.dark-theme .admin-main,
    body[data-theme="dark"] .admin-main {
        background: var(--dark-bg-primary);
    }
}


