/*!
 * Soft UI Landing Page Styles
 * Service Optimization Platform
 * 
 * UI Design inspired by Soft UI Dashboard Pro by Creative Tim
 * Original theme license: Commercial License
 * https://www.creative-tim.com/product/soft-ui-dashboard-pro
 * 
 * Adapted for Django Service Optimization Platform
 * Custom implementation with Bootstrap 5 and original styling
 */

:root {
    /* Bootstrap Color Variables */
    --bs-blue: #63B3ED;
    --bs-indigo: #596CFF;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #F56565;
    --bs-orange: #fd7e14;
    --bs-yellow: #FBD38D;
    --bs-green: #81E6D9;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #e9ecef;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #141728;
    --bs-primary: #FF7300;
    --bs-secondary: #8392AB;
    --bs-success: #82d616;
    --bs-info: #17c1e8;
    --bs-warning: #fbcf33;
    --bs-danger: #ea0606;
    --bs-light: #e9ecef;
    --bs-dark: #344767;
    --bs-primary-rgb: 255, 115, 0;
    --bs-secondary-rgb: 131, 146, 171;
    --bs-success-rgb: 130, 214, 22;
    --bs-info-rgb: 23, 193, 232;
    --bs-warning-rgb: 251, 207, 51;
    --bs-danger-rgb: 234, 6, 6;
    --bs-light-rgb: 233, 236, 239;
    --bs-dark-rgb: 52, 71, 103;
    --bs-white-rgb: 255, 255, 255;
    --bs-black-rgb: 0, 0, 0;
    --bs-body-color-rgb: 103, 116, 142;
    --bs-body-bg-rgb: 255, 255, 255;
    --bs-font-sans-serif: "Open Sans", "Inter", sans-serif;
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-color: #67748e;
    --bs-body-bg: #fff;
    
    /* Custom Soft UI Variables */
    --soft-primary: var(--bs-primary);
    --soft-secondary: var(--bs-secondary);
    --soft-success: var(--bs-success);
    --soft-info: var(--bs-info);
    --soft-warning: var(--bs-warning);
    --soft-danger: var(--bs-danger);
    --soft-light: var(--bs-light);
    --soft-dark: var(--bs-dark);
    --soft-gradient-primary: linear-gradient(310deg, var(--bs-primary) 0%, var(--bs-pink) 100%);
    --soft-gradient-success: linear-gradient(310deg, var(--bs-success) 0%, var(--bs-green) 100%);
    --soft-gradient-info: linear-gradient(310deg, var(--bs-info) 0%, var(--bs-blue) 100%);
    --soft-gradient-warning: linear-gradient(310deg, var(--bs-warning) 0%, var(--bs-orange) 100%);
    --soft-gradient-danger: linear-gradient(310deg, var(--bs-danger) 0%, var(--bs-red) 100%);
}

body {
    font-family: var(--bs-font-sans-serif);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Default Dark Theme */
body, body.theme-dark {
    background-color: var(--bs-gray-900);
    color: var(--bs-light);
}

/* Light Theme */
body.theme-light {
    background-color: #f8f9fa;
    color: var(--bs-dark);
}

.navbar {
    background: rgba(20, 23, 40, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 1px 25px -5px rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
}

.theme-light .navbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 25px -5px rgba(0, 0, 0, 0.1);
}

.navbar-brand,
.nav-link {
    color: var(--bs-light) !important;
    transition: color 0.3s ease;
}

.theme-light .navbar-brand,
.theme-light .nav-link {
    color: var(--bs-dark) !important;
}

.nav-link:hover {
    color: var(--bs-primary) !important;
}

/* Navbar Toggler Button Styling */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    transition: border-color 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 115, 0, 0.25);
    border-color: var(--bs-primary);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5rem;
    height: 1.5rem;
}

.theme-light .navbar-toggler {
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.theme-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hero-section {
    background: var(--bs-gray-900);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.theme-light .hero-section {
    background: #f8f9fa;
}

/* Hero section text colors */
.hero-section .text-white {
    transition: color 0.3s ease;
}

.theme-light .hero-section .text-white {
    color: var(--bs-dark) !important;
}

.hero-section .text-light {
    transition: color 0.3s ease;
}

.theme-light .hero-section .text-light {
    color: var(--bs-gray-600) !important;
}

.hero-section .lead {
    transition: color 0.3s ease;
}

.theme-light .hero-section .lead {
    color: var(--bs-gray-700) !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23FF7300" opacity="0.4"><polygon points="0,20 50,40 100,35 150,50 200,48 250,60 300,40 350,52 400,49 450,61 500,45 550,55 600,47 650,58 700,44 750,56 800,48 850,59 900,46 950,57 1000,49 1000,100 0,100"/></svg>') repeat-x;
    animation: wave 20s linear infinite;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.theme-light .feature-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--bs-dark);
}

.theme-light .feature-card h5 {
    color: var(--bs-dark) !important;
}

.theme-light .feature-card p {
    color: var(--bs-gray-700) !important;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(52, 71, 103, 0.15);
}

.stats-card {
    background: rgba(20, 23, 40, 0.8);
    border: 1px solid rgba(255, 115, 0, 0.1);
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, background 0.3s ease;
    color: var(--bs-light);
}

.theme-light .stats-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 115, 0, 0.2);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    color: var(--bs-dark);
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(255, 115, 0, 0.2);
    border-color: rgba(255, 115, 0, 0.3);
}

.icon-shape {
    width: 56px;
    height: 56px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-gradient-primary { background: var(--soft-gradient-primary); }
.bg-gradient-success { background: var(--soft-gradient-success); }
.bg-gradient-info { background: var(--soft-gradient-info); }
.bg-gradient-warning { background: var(--soft-gradient-warning); }
.bg-gradient-danger { background: var(--soft-gradient-danger); }

/* Gradient Button Classes */
.btn-gradient-primary {
    background: var(--soft-gradient-primary);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gradient-success {
    background: var(--soft-gradient-success);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gradient-info {
    background: var(--soft-gradient-info);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gradient-warning {
    background: var(--soft-gradient-warning);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gradient-danger {
    background: var(--soft-gradient-danger);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gradient-primary:hover,
.btn-gradient-success:hover,
.btn-gradient-info:hover,
.btn-gradient-warning:hover,
.btn-gradient-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    color: white;
}

.btn-soft {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.theme-light .btn-soft {
    background: rgba(52, 71, 103, 0.1);
    border: 1px solid rgba(52, 71, 103, 0.3);
    color: var(--bs-dark);
}

.btn-soft:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px -5px rgba(255, 255, 255, 0.2);
}

.theme-light .btn-soft:hover {
    background: rgba(52, 71, 103, 0.2);
    color: var(--bs-dark);
    box-shadow: 0 8px 25px -5px rgba(52, 71, 103, 0.2);
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.language-switcher a {
    color: var(--bs-light);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.theme-light .language-switcher a {
    color: var(--bs-dark);
}

.language-switcher a:hover,
.language-switcher a.active {
    background: var(--soft-gradient-primary);
    color: white;
    transform: scale(1.05);
}

.section-padding {
    padding: 5rem 0;
}

.bg-light {
    background-color: rgba(20, 23, 40, 0.6) !important;
    transition: background-color 0.3s ease;
}

.theme-light .bg-light {
    background-color: rgba(248, 249, 250, 0.9) !important;
}

.text-muted {
    color: rgba(233, 236, 239, 0.7) !important;
    transition: color 0.3s ease;
}

.theme-light .text-muted {
    color: rgba(73, 80, 87, 0.9) !important;
}

.text-gradient-primary {
    background: var(--soft-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.progress-bar {
    border-radius: 0.5rem;
}

.badge {
    font-weight: 500;
    border-radius: 0.5rem;
}

.btn-outline-primary {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

.btn-outline-primary:hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

.text-primary { color: var(--bs-primary) !important; }
.text-success { color: var(--bs-success) !important; }
.text-info { color: var(--bs-info) !important; }
.text-warning { color: var(--bs-warning) !important; }
.text-danger { color: var(--bs-danger) !important; }

.bg-success { background-color: var(--bs-success) !important; }
.bg-warning { background-color: var(--bs-warning) !important; }
.bg-secondary { background-color: var(--bs-secondary) !important; }

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #141728;
}

.theme-light ::-webkit-scrollbar-track {
    background: #f8f9fa;
}

::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff8c1a;
}

/* Dark theme adjustments */
.text-dark {
    color: var(--bs-light) !important;
    transition: color 0.3s ease;
}

.theme-light .text-dark {
    color: var(--bs-dark) !important;
}

.alert-light {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
    border: none;
}

.alert-light .btn-close {
    filter: brightness(0) invert(1);
}

/* Footer enhancement */
.bg-dark {
    background-color: #141728 !important;
    transition: background-color 0.3s ease;
}

.theme-light .bg-dark {
    background-color: #f8f9fa !important;
}

/* Footer text color fix */
footer .text-white {
    transition: color 0.3s ease;
}

.theme-light footer .text-white {
    color: var(--bs-dark) !important;
}

.theme-light footer p {
    color: var(--bs-dark) !important;
}

/* Progress section styling fixes */
.theme-light .stats-card .text-white {
    color: var(--bs-dark) !important;
}

.theme-light .stats-card .text-light {
    color: var(--bs-gray-600) !important;
}

/* Fix for dark background inside stats-card in light mode */
.theme-light .stats-card div[style*="background-color: #2c3e50"] {
    background-color: rgba(52, 71, 103, 0.1) !important;
}

.theme-light .stats-card div[style*="border-radius: 8px"] {
    background-color: rgba(52, 71, 103, 0.1) !important;
}

/* Theme Toggle Button */
#theme-toggle {
    border: 1px solid var(--bs-primary);
    color: var(--bs-primary);
    background: transparent;
    transition: all 0.3s ease;
}

#theme-toggle:hover {
    background-color: var(--bs-primary);
    color: white;
    transform: scale(1.05);
}

.theme-light #theme-toggle {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

/* ============================================================
   WAITING LIST POPUP STYLES
   ============================================================ */

/* Modal Backdrop */
.modal-backdrop {
    background-color: rgba(20, 23, 40, 0.8);
    backdrop-filter: blur(8px);
}

/* Modal Content */
#waitingListModal .modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

/* Modal Header with Gradient */
#waitingListModal .modal-header {
    background: linear-gradient(135deg, #ff7b00 0%, #ff4d4d 100%);
    border-radius: 20px 20px 0 0;
    padding: 2rem 2rem 1rem;
    position: relative;
}

/* Icon Shape */
#waitingListModal .icon-shape {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin: 0 auto 1rem;
    border: 2px solid rgba(255, 123, 0, 0.3);
}

#waitingListModal .icon-shape i {
    font-size: 2rem;
    color: #ff7b00;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

#waitingListModal .icon-shape:hover i {
    transform: scale(1.1);
    color: #ff4d4d;
}

/* Close Button */
#waitingListModal .btn-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#waitingListModal .btn-close:hover {
    opacity: 1;
}

/* Form Styling */
#waitingListForm .form-label {
    font-weight: 600;
    color: var(--bs-gray-700);
    margin-bottom: 0.5rem;
}

#waitingListForm .input-group {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

#waitingListForm .input-group:focus-within {
    box-shadow: 0 4px 20px rgba(255, 123, 0, 0.15);
}

#waitingListForm .input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-right: none;
    padding: 0.75rem 1rem;
}

#waitingListForm .form-control,
#waitingListForm .form-select {
    border: 1px solid #e9ecef;
    border-left: none;
    padding: 0.75rem 1rem 0.75rem 1.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Only input fields get text-indent, not select */
#waitingListForm .form-control {
    text-indent: 1rem; /* Only for text inputs */
}

#waitingListForm .form-control::placeholder {
    padding-left: 0.5rem; /* Keep placeholder padding */
    text-indent: 0.5rem; /* Keep placeholder text-indent */
}

#waitingListForm .form-control:focus,
#waitingListForm .form-select:focus {
    border-color: #ff7b00;
    box-shadow: none;
}

/* Enhanced dropdown styling */
#waitingListForm .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ff7b00' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    cursor: pointer;
    appearance: none;
    font-weight: 500;
}

#waitingListForm .form-select:hover {
    border-color: #ff8c1a;
    box-shadow: 0 2px 8px rgba(255, 123, 0, 0.1);
}

/* Dropdown options styling (limited support) */
#waitingListForm .form-select option {
    padding: 0.75rem 1rem;
    font-weight: 500;
    background-color: #ffffff;
    color: #495057;
}

#waitingListForm .form-select option:checked,
#waitingListForm .form-select option:hover {
    background-color: #fff3e0;
    color: #ff7b00;
}

#waitingListForm .form-control.is-invalid,
#waitingListForm .form-select.is-invalid {
    border-color: #dc3545;
}

#waitingListForm .form-control.is-invalid:focus,
#waitingListForm .form-select.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Textarea */
#waitingListForm textarea.form-control {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    resize: vertical;
    min-height: 100px;
    padding: 0.75rem 1rem;
    text-indent: 0 !important; /* Override general form-control rule */
}

#waitingListForm textarea.form-control::placeholder {
    padding-left: 0 !important; /* Override general placeholder rule */
    text-indent: 0 !important; /* Override general placeholder rule */
}

/* Checkboxes */
#waitingListForm .form-check {
    padding-left: 1.5rem;
}

#waitingListForm .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    border-radius: 0.375rem;
    border: 2px solid #dee2e6;
}

#waitingListForm .form-check-input:checked {
    background-color: #ff7b00;
    border-color: #ff7b00;
}

#waitingListForm .form-check-input:focus {
    border-color: #ff7b00;
    box-shadow: 0 0 0 0.2rem rgba(255, 123, 0, 0.25);
}

/* Submit Button */
#waitingListForm button[type="submit"] {
    background: linear-gradient(135deg, #82d616 0%, #81E6D9 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#waitingListForm button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(130, 214, 22, 0.4);
}

#waitingListForm button[type="submit"]:disabled {
    opacity: 0.7;
    transform: none;
    cursor: not-allowed;
}

/* Cancel Button */
#waitingListForm .btn-light {
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    border: 2px solid #e9ecef;
    color: var(--bs-gray-600);
    transition: all 0.3s ease;
}

#waitingListForm .btn-light:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    transform: translateY(-1px);
}

/* Success Alert */
#waitingListSuccess {
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left: 4px solid #28a745;
    padding: 1.5rem;
}

#waitingListSuccess .alert-heading {
    color: #155724;
    font-weight: 700;
}

#waitingListSuccess p {
    color: #155724;
    margin: 0;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Form Validation Feedback */
.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
    font-weight: 500;
}

/* Dark Theme Overrides */
.theme-dark #waitingListModal .modal-content {
    background-color: #1a1d29;
    color: #ffffff;
}

.theme-dark #waitingListForm .form-label {
    color: #ffffff;
}

.theme-dark #waitingListForm .input-group-text {
    background-color: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
}

.theme-dark #waitingListForm .form-control,
.theme-dark #waitingListForm .form-select {
    background-color: #2d3748;
    border-color: #4a5568;
    color: #ffffff;
    padding: 0.75rem 1rem 0.75rem 1.5rem;
}

/* Only input fields get text-indent in dark theme, not select */
.theme-dark #waitingListForm .form-control {
    text-indent: 1rem; /* Only for text inputs */
}

.theme-dark #waitingListForm .form-control::placeholder {
    color: #a0aec0;
    padding-left: 0.5rem; /* Keep placeholder padding */
    text-indent: 0.5rem; /* Keep placeholder text-indent */
}

.theme-dark #waitingListForm .form-control:focus,
.theme-dark #waitingListForm .form-select:focus {
    background-color: #2d3748;
    border-color: #ff7b00;
    color: #ffffff;
}

/* Dark theme enhanced dropdown styling */
.theme-dark #waitingListForm .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ff7b00' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    cursor: pointer;
    appearance: none;
    font-weight: 500;
}

.theme-dark #waitingListForm .form-select:hover {
    border-color: #ff8c1a;
    box-shadow: 0 2px 8px rgba(255, 123, 0, 0.2);
}

.theme-dark #waitingListForm .form-select option {
    padding: 0.75rem 1rem;
    font-weight: 500;
    background-color: #2d3748;
    color: #ffffff;
}

.theme-dark #waitingListForm .form-select option:checked,
.theme-dark #waitingListForm .form-select option:hover {
    background-color: #4a5568;
    color: #ff8c1a;
}

/* Dark theme textarea overrides */
.theme-dark #waitingListForm textarea.form-control {
    text-indent: 0 !important;
    padding: 0.75rem 1rem;
}

.theme-dark #waitingListForm textarea.form-control::placeholder {
    padding-left: 0 !important;
    text-indent: 0 !important;
}

.theme-dark #waitingListForm .btn-light {
    background-color: #4a5568;
    border-color: #4a5568;
    color: #e2e8f0;
}

.theme-dark #waitingListForm .btn-light:hover {
    background-color: #2d3748;
    border-color: #2d3748;
}

.theme-dark #waitingListForm .form-check-label {
    color: #e2e8f0;
}

.theme-dark #waitingListForm .text-muted {
    color: #a0aec0 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    #waitingListModal .modal-dialog {
        margin: 0.5rem;
    }
    
    #waitingListModal .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    #waitingListModal .modal-body {
        padding: 1.5rem;
    }
    
    #waitingListModal .icon-shape {
        width: 60px;
        height: 60px;
    }
}

/* Animation for form submission */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

#waitingListForm button[type="submit"]:disabled .loading-text {
    animation: pulse 1.5s ease-in-out infinite;
}
