/* SAFARI EMERGENCY FIX - Must be first */
@media not all and (min-resolution:.001dpcm) { 
    @supports (-webkit-appearance:none) {
        /* Keep error containers and other elements that should be hidden */
        .global-errors-compact[style*="display: none"],
        .group-errors-compact[style*="display: none"],
        [style*="display: none"] {
            display: none !important;
        }
        
        /* Preserve normal layout for social inputs and multi-select */
        .at-input {
            display: flex !important;
        }
        
        .multi-select-display .placeholder {
            display: none !important;
        }
        
        /* Preserve flex layout for form actions */
        .form-actions {
            display: flex !important;
        }
        
        /* Preserve inline display for buttons and form elements */
    .form-actions button,
    .btn-primary,
    .btn-secondary,
    .btn-danger,
    button {
            display: inline-block !important;
        }
        
        .navbar { position: fixed !important; top: 0 !important; }
        section, nav, footer { display: block !important; }
    }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #111827 !important;
    background-color: #ffffff !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Safari-specific overrides */
body.safari-compatible * {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    -webkit-transform: none !important;
}

body.safari-compatible .navbar,
body.safari-compatible .hero-section,
body.safari-compatible .features-section, 
body.safari-compatible .how-it-works-section,
body.safari-compatible .cta-section,
body.safari-compatible .footer {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    -webkit-transform: none !important;
}

/* Ensure all major sections are always visible */
section,
nav,
footer,
.container,
.hero-section,
.features-section,
.how-it-works-section,
.cta-section,
.footer {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Social accounts selector */
.social-accounts { margin-top: 8px; }
.social-selector { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.social-btn { 
    border: 1.5px solid #CBD5E1; 
    background: #fff; 
    color: #1F2937; 
    border-radius: 8px; 
    height: 36px; 
    width: 36px; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    transition: all .2s ease; 
    padding: 0;
}
.social-btn:hover { border-color: #94A3B8; background: #F8FAFC; }
.social-btn[aria-pressed="true"], .social-btn.selected { background: #111827; color: #fff; border-color: #111827; }
.social-btn .social-svg { width: 18px; height: 18px; display: block; }
.social-btn.selected .social-svg { filter: invert(1); }
.social-inputs { display: grid; gap: 8px; }
.at-input { display: flex; align-items: center; border: 1.5px solid #CBD5E1; border-radius: 8px; padding: 8px 10px; background: #fff; }
.at-input .social-inline-icon { width: 16px; height: 16px; margin-right: 6px; display: block; }
.at-input .at-prefix { color: #9CA3AF; margin-right: 6px; }
.at-input input { border: none; outline: none; width: 100%; font: inherit; color: #111827; background: transparent; }
.at-input input::placeholder { color: #9CA3AF; }

/* Ensure social inputs are always visible */
#social-inputs .at-input {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

#social-inputs .at-input input {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Password Toggle Styles */
.password-field-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: #6B7280;
    transition: color 0.2s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    line-height: 0; /* remove inline baseline spacing so SVG centers precisely */
}

.password-toggle-btn:hover {
    color: #374151;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.password-toggle-btn:focus {
    outline: none;
    color: #1F2937;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.password-field-container input[type="password"],
.password-field-container input[type="text"] {
    padding-right: 45px !important;
}

/* Eye icon SVG styles */
.eye-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
    display: block; /* ensure SVG doesn't sit on text baseline */
    transform: translateY(-1px); /* small nudge to correct visual vertical alignment */
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Typography */
.text-accent {
    color: #1A2634;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #1A2634 0%, #0F1419 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    border: none;
    font-weight: 500;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0F1419 0%, #0A0E13 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 38, 52, 0.3);
}

.btn-secondary {
    border: 2px solid #1A2634;
    color: #1A2634;
    background: transparent;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-style: normal;
}

.btn-secondary:hover {
    background: #E8EBF0;
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-secondary:focus {
    text-decoration: none;
}

.btn-cta-primary {
    background: white;
    color: #1A2634;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    border: none;
    font-weight: 500;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.btn-cta-primary:hover {
    background: #F5F6F8;
    transform: translateY(-2px);
}

.btn-cta-secondary {
    border: 2px solid white;
    color: white;
    background: transparent;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cta-secondary:hover {
    background: white;
    color: #1A2634;
    transform: translateY(-2px);
}

/* Danger Button (confirm deletion) */
.btn-danger {
    background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    border: none;
    font-weight: 500;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #B91C1C 0%, #7F1D1D 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.25);
}

.btn-danger:disabled,
.btn-danger[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Navigation */
.navbar {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 50 !important;
    border-bottom: 1px solid #f3f4f6 !important;
    opacity: 1 !important;
    transform: none !important;
    display: block !important;
    visibility: visible !important;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

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

.logo-icon {
    width: 2rem;
    height: 2rem;
    background: white;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    border: 2px solid #1A2634;
}

.logo-icon span {
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: bold;
    color: #111827;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #1A2634;
}

.nav-button {
    background: #1A2634;
    color: white;
    padding: 0.5rem 1rem; /* match login button width */
    border-radius: 0.375rem; /* match login button radius */
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-button:hover {
    background: #0F1419;
    transform: scale(1.05);
}

.nav-login-btn {
    color: #1A2634;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #1A2634;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.nav-login-btn:hover {
    background: #1A2634;
    color: white;
}

.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    color: #111827;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu {
    display: none;
    padding: 1rem 0;
    border-top: 1px solid #f3f4f6;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.mobile-nav-link:hover {
    color: #1A2634;
}

.mobile-nav-button {
    background: #1A2634;
    color: white;
    padding: 0.5rem 1rem; /* match mobile login button */
    border-radius: 0.375rem; /* match mobile login button */
    border: none;
    font-weight: 500;
    cursor: pointer;
    text-align: center; /* align with mobile login button */
    transition: background 0.2s ease;
}

.mobile-nav-button:hover {
    background: #0F1419;
}

.mobile-nav-login {
    color: #1A2634;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #1A2634;
    border-radius: 0.375rem;
    text-align: center;
    transition: all 0.2s ease;
}

.mobile-nav-login:hover {
    background: #1A2634;
    color: white;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.25rem;
    margin-right: 1rem;
}

.language-btn {
    background: transparent;
    border: 1px solid #d1d5db;
    color: #6b7280;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.language-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

.language-btn.active {
    background: #1A2634;
    border-color: #1A2634;
    color: white;
}

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

.mobile-language-switcher .language-btn {
    flex: 1;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Hero Section */
.hero-section {
    padding: 8rem 0 4rem !important;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%) !important;
    display: block !important;
    visibility: visible !important;
}

.hero-grid {
    display: grid !important;
    gap: 3rem;
    align-items: center;
    opacity: 1 !important;
    transform: none !important;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 3rem;
    }
}

.hero-content {
    text-align: center;
    opacity: 1 !important;
    transform: none !important;
    display: block !important;
    visibility: visible !important;
}

@media (min-width: 1024px) {
    .hero-content {
        text-align: left;
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-description {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .hero-description {
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

.hero-features {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    color: #4b5563;
}

@media (min-width: 1024px) {
    .hero-features {
        justify-content: flex-start;
    }
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.hero-visual {
    position: relative;
}

.hero-card {
    position: relative;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    border: 1px solid #f3f4f6;
}

.hero-card-bg-1 {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 6rem;
    height: 6rem;
    background: #E8EBF0;
    border-radius: 50%;
    opacity: 0.5;
}

.hero-card-bg-2 {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    width: 8rem;
    height: 8rem;
    background: #F5F6F8;
    border-radius: 50%;
    opacity: 0.3;
}

/* Center the CTA button in the Features section */
.features-cta { 
    text-align: center; /* center inline/inline-flex children */
}
.features-cta .btn-primary {
    display: inline-flex; /* allows centering via text-align */
    margin: 0 auto;      /* fallback for block contexts */
}

.hero-card-content {
    position: relative;
    z-index: 10;
}

.hero-card-demo {
    background: #f3f4f6;
    border-radius: 0.5rem;
    height: 12rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.hero-card-icon {
    width: 4rem;
    height: 4rem;
    background: #1A2634;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
}

.hero-card-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-card-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-dot {
    width: 0.75rem;
    height: 0.75rem;
    background: #1A2634;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Features Section */
.features-section {
    padding: 5rem 0 !important;
    background: white !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-description {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 48rem;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    background: white;
}

.feature-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: #E8EBF0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #1A2634;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: #4b5563;
    line-height: 1.6;
}

.features-cta {
    background: linear-gradient(135deg, #F5F6F8 0%, #E8EBF0 100%);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .features-cta {
        padding: 3rem;
    }
}

.features-cta-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .features-cta-title {
        font-size: 1.875rem;
    }
}

.features-cta-description {
    font-size: 1.125rem;
    color: #374151;
    margin-bottom: 1.5rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

/* How It Works Section */
.how-it-works-section {
    padding: 5rem 0 !important;
    background: #f9fafb !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.steps-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step-card {
    text-align: center;
    position: relative;
}

.step-connector {
    display: none;
    position: absolute;
    top: 2rem;
    left: 100%;
    width: 100%;
    height: 2px;
    background: #E8EBF0;
    transform: translateX(1rem);
}

.step-connector::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 8px;
    height: 8px;
    background: #5eead4;
    border-radius: 50%;
    transform: translate(4px, -3px);
}

@media (min-width: 1024px) {
    .step-card:not(:last-child) .step-connector {
        display: block;
    }
}

.step-content {
    position: relative;
    z-index: 10;
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
}

.step-icon {
    width: 4rem;
    height: 4rem;
    background: #1A2634;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
}

.step-number {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 2rem;
    height: 2rem;
    background: #E8EBF0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1A2634;
    font-weight: bold;
    font-size: 0.875rem;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.step-description {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.6;
}

.stats-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    display: grid;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-card {
        padding: 3rem;
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #1A2634;
    margin-bottom: 0.5rem;
}

.stat-description {
    color: #4b5563;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0 !important;
    background: linear-gradient(135deg, #1A2634 0%, #0F1419 100%) !important;
    color: white !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.cta-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .cta-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.cta-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 3rem;
    }
}

.cta-description {
    font-size: 1.25rem;
    color: #E8EBF0;
    margin-bottom: 2rem;
}

.cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #F5F6F8;
}

.cta-benefit i {
    color: #E8EBF0;
    flex-shrink: 0;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.cta-visual {
    position: relative;
}

.cta-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.cta-card-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.cta-card-header p {
    color: #E8EBF0;
}

.cta-card-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cta-step {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cta-step-title {
    font-weight: 500;
}

.cta-step-time {
    color: #E8EBF0;
    font-size: 0.875rem;
}

.cta-card-footer {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.cta-card-footer p {
    color: #E8EBF0;
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: #111827 !important;
    color: white !important;
    padding: 4rem 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-brand {
    grid-column: span 2;
}

@media (min-width: 768px) {
    .footer-brand {
        grid-column: span 1;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.footer-tagline {
    color: #6b7280;
    font-size: 0.875rem;
}

.footer-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #5eead4;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-contact-item i {
    color: #5eead4;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: #6b7280;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-bottom-link:hover {
    color: #5eead4;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out forwards;
}

/* Intersection Observer Animation Classes */
.animations-ready .fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
    animation: fallbackFadeIn 0.1s ease-out 3s forwards;
}

.animations-ready .fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease-out;
    animation: fallbackFadeIn 0.1s ease-out 3s forwards;
}

.animations-ready .fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease-out;
    animation: fallbackFadeIn 0.1s ease-out 3s forwards;
}

.fade-in-up,
.fade-in-left,
.fade-in-right {
    opacity: 1 !important;
    transform: none !important;
}

.animations-ready .fade-in-up.visible,
.animations-ready .fade-in-left.visible,
.animations-ready .fade-in-right.visible {
    opacity: 1 !important;
    transform: translate(0) !important;
}

/* Fallback animation in case JavaScript doesn't load */
@keyframes fallbackFadeIn {
    to {
        opacity: 1 !important;
        transform: translate(0) !important;
    }
}

/* Safari-specific fixes */
@supports (-webkit-appearance: none) {
    .fade-in-up,
    .fade-in-left,
    .fade-in-right {
        opacity: 1 !important;
        transform: none !important;
        -webkit-transform: none !important;
    }
}

/* Responsive Utilities */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
}

/* Safari Desktop Fix - Ensure everything stays visible */
@media screen and (-webkit-min-device-pixel-ratio: 1) {
    * {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .navbar,
    .hero-section,
    .features-section,
    .how-it-works-section,
    .cta-section,
    .footer,
    body,
    html {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        -webkit-transform: none !important;
    }
    
    .fade-in-up,
    .fade-in-left,
    .fade-in-right {
        opacity: 1 !important;
        transform: none !important;
        -webkit-transform: none !important;
    }
}

/* Additional Safari-only fixes */
@supports (-webkit-appearance: none) {
    body {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
    
    * {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        -webkit-transform: none !important;
    }
    
    .navbar {
        position: fixed !important;
        top: 0 !important;
        width: 100% !important;
        z-index: 50 !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    section {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 38, 52, 0.8);
    backdrop-filter: blur(4px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #E8EBF0;
}

.modal-header h2 {
    color: #1A2634;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6B7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.modal-close:hover {
    background-color: #F3F4F6;
    color: #1A2634;
}

/* Form Styles */
.restaurant-form {
    padding: 2rem;
}

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

.form-section h3 {
    color: #1A2634;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #E8EBF0;
}

.form-section h4 {
    color: #1A2634;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    color: #374151;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.2s;
    background-color: #ffffff;
    color: #374151;
    line-height: 1.5;
}

/* Custom select styling */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 16px;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1A2634;
    box-shadow: 0 0 0 3px rgba(26, 38, 52, 0.1);
}

/* Select hover state */
.form-group select:hover {
    border-color: #D1D5DB;
}

/* Opening Hours Styles */
.opening-hours-container {
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    padding: 1rem;
    background-color: #F9FAFB;
}

.day-schedule {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background-color: #ffffff;
    border-radius: 6px;
    border: 1px solid #E5E7EB;
}

.day-schedule:last-child {
    margin-bottom: 0;
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.day-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #374151;
    margin: 0;
}

.day-checkbox input[type="checkbox"] {
    margin-right: 0.5rem;
    accent-color: #1A2634;
}

.add-time-slot {
    background-color: #1A2634;
    color: #ffffff;
    border: none;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.add-time-slot:hover {
    background-color: #0F1419;
}

.time-slots {
    margin-top: 0.5rem;
}

.time-slots.hidden {
    display: none;
}

.time-slot {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background-color: #F9FAFB;
    border-radius: 4px;
    border: 1px solid #E5E7EB;
}

.time-slot:last-child {
    margin-bottom: 0;
}

.time-slot input[type="time"] {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    font-size: 0.875rem;
    background-color: #ffffff;
    max-width: 120px;
}

.time-slot input[type="time"]:focus {
    outline: none;
    border-color: #1A2634;
    box-shadow: 0 0 0 2px rgba(26, 38, 52, 0.1);
}

.time-slot span {
    color: #6B7280;
    font-weight: 500;
}

.remove-time-slot {
    background-color: #ef4444;
    color: #ffffff;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}

.remove-time-slot:hover {
    background-color: #dc2626;
}

.day-schedule.disabled {
    opacity: 0.5;
}

.day-schedule.disabled .time-slots {
    display: none;
}

.day-schedule.disabled .add-time-slot {
    opacity: 0.5;
    cursor: not-allowed;
}

.day-schedule.disabled .add-time-slot:hover {
    background-color: #1A2634;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Multi-select dropdown styles */
.multi-select-wrapper {
    position: relative;
}

.multi-select-container {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.multi-select-display {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem 2.5rem 0.75rem 0.75rem;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 1rem;
    color: #374151;
    min-height: 48px;
    max-height: 120px;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    overflow-y: auto;
}

/* Styles pour la barre de défilement */
.multi-select-display::-webkit-scrollbar {
    width: 4px;
}

.multi-select-display::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.multi-select-display::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.multi-select-display::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.multi-select-display:hover {
    border-color: #D1D5DB;
}

.multi-select-display.focused {
    border-color: #1A2634;
    box-shadow: 0 0 0 3px rgba(26, 38, 52, 0.1);
}

.multi-select-display.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.multi-select-display .placeholder {
    color: #9CA3AF;
    font-style: italic;
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    display: flex;
    align-items: center;
    pointer-events: none;
    margin: 0;
    line-height: 1;
    z-index: 1;
}

/* Hide placeholder when there are tags */
.multi-select-display:has(.selected-tags .multi-select-tag) .placeholder,
.multi-select-display .selected-tags:not(:empty) ~ .placeholder {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Force hide placeholder when explicitly hidden */
.multi-select-display .placeholder[hidden],
.multi-select-display .placeholder[style*="display: none"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    width: 100%;
    padding-right: 1.5rem;
    align-items: flex-start;
    max-height: inherit;
    overflow-y: auto;
}

.multi-select-tag {
    background-color: #1A2634;
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    animation: tagAppear 0.2s ease-out;
    margin: 0.125rem 0;
}

@keyframes tagAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.multi-select-tag .remove {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    font-weight: bold;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.multi-select-tag .remove:hover {
    background: rgba(255, 255, 255, 0.3);
}

.multi-select-arrow {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    position: absolute;
    right: 0.75rem;
    top: 16px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
    pointer-events: none;
}

.multi-select-container.open .multi-select-arrow {
    transform: rotate(180deg);
}

.multi-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border: 2px solid #E5E7EB;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.multi-select-container.open .multi-select-dropdown {
    display: block;
}

.multi-select-search {
    padding: 0.5rem;
    border-bottom: 1px solid #E5E7EB;
    background-color: #F9FAFB;
}

.multi-select-search .search-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 0.875rem;
    background-color: #ffffff;
    color: #374151;
    outline: none;
    transition: border-color 0.2s ease;
}

.multi-select-search .search-input:focus {
    border-color: #1A2634;
    box-shadow: 0 0 0 2px rgba(26, 38, 52, 0.1);
}

.multi-select-search .search-input::placeholder {
    color: #9CA3AF;
}

.multi-select-options {
    max-height: 150px;
    overflow-y: auto;
}

.multi-select-option {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #F3F4F6;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    color: #374151;
}

.multi-select-option:hover {
    background-color: #F9FAFB;
    color: #1A2634;
}

.multi-select-option:last-child {
    border-bottom: none;
}

.multi-select-option.selected {
    background-color: #E5E7EB;
    color: #6B7280;
    cursor: default;
    position: relative;
}

.multi-select-option.selected::after {
    content: "✓";
    position: absolute;
    right: 1rem;
    color: #1A2634;
    font-weight: bold;
}

.multi-select-option.selected:hover {
    background-color: #E5E7EB;
    color: #6B7280;
}

/* Multi-select search with integrated control buttons */
.multi-select-search-wrapper {
    position: relative;
    margin-bottom: 8px;
}

.multi-select-search-wrapper input {
    width: 100%;
    padding: 8px 80px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.4;
}

.multi-select-controls {
    position: absolute;
    right: 8px;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.multi-select-control-btn {
    padding: 2px 6px;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 500;
    transition: all 0.2s ease;
    line-height: 1;
    white-space: nowrap;
}

.multi-select-control-btn:hover {
    background: rgba(0,0,0,0.06);
}

.multi-select-control-btn.select-all {
    color: #1a73e8;
}

.multi-select-control-btn.select-all:hover {
    background: rgba(26, 115, 232, 0.08);
}

.multi-select-control-btn.clear-all {
    color: #ea4335;
}

.multi-select-control-btn.clear-all:hover {
    background: rgba(234, 67, 53, 0.08);
}

/* Responsive adjustments for multi-select */
@media (max-width: 768px) {
    .multi-select-dropdown {
        max-height: 150px;
    }
    
    .multi-select-tag {
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
    }
}

.form-checkbox-group {
    margin-top: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    cursor: pointer;
    color: #374151;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    accent-color: #1A2634;
}

/* Terms and Conditions Specific Styling */
.terms-conditions {
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.terms-conditions .checkbox-label {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.terms-conditions .checkbox-label.required {
    font-weight: 500;
}

.terms-conditions .terms-link {
    color: #1A2634;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.terms-conditions .terms-link:hover {
    color: #0F1419;
    text-decoration: none;
}

.terms-conditions .checkbox-label:last-child {
    margin-bottom: 0;
}

/* Policy Section Styling */
.policy-section {
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.policy-section h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1F2937;
}

.policy-section .checkbox-label {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
}

.policy-section .checkbox-label:last-child {
    margin-bottom: 0;
}
label a {
    margin: 0 0.25ch;
}
.policy-section .checkbox-label a {
    color: #1A2634;
    text-decoration: underline;
    transition: color 0.2s;
}

.policy-section .checkbox-label a:hover {
    color: #0F1419;
    text-decoration: none;
}

/* Custom checkmark styling for policy checkboxes */
.policy-section .checkmark {
    /* This span acts as a visual indicator, but we'll use the native checkbox for now */
    display: none;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #E8EBF0;
}

.form-actions .btn-secondary {
    background-color: #F3F4F6;
    color: #374151;
    border: 2px solid #E5E7EB;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.form-actions .btn-secondary:hover {
    background-color: #E5E7EB;
    border-color: #D1D5DB;
}

.form-actions .btn-primary {
    background: linear-gradient(135deg, #1A2634 0%, #0F1419 100%);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.form-actions .btn-primary:hover {
    background: linear-gradient(135deg, #0F1419 0%, #0A0E13 100%);
    transform: translateY(-1px);
}

/* Header buttons size normalization */
.nav-button,
.nav-login-btn {
    font-size: 1rem;
    line-height: 1.25rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem; /* consistent height (40px) */
}

/* Responsive Design for Modal */
@media (max-width: 768px) {
    .modal {
        padding: 0.5rem;
    }
    
    .modal-content {
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .restaurant-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    /* Opening hours responsive */
    .day-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .add-time-slot {
        align-self: flex-end;
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    .time-slot {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .time-slot input[type="time"] {
        max-width: 100px;
    }
}

/* Form Messages */
.form-success-message {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 12px;
    margin: 1rem 0;
}

.form-success-message .success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.form-success-message h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.form-success-message p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

.form-error-message {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border-radius: 12px;
    margin: 1rem 0;
}

.form-error-message .error-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-error-message p {
    font-size: 0.9rem;
    margin: 0.25rem 0;
    opacity: 0.9;
}

/* Loading state for submit button */
button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #6b7280;
}

button[type="submit"]:disabled:hover {
    background: #6b7280;
    transform: none;
}

/* Advanced Schedule Builder Styles */
.schedule-builder {
    padding: 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    background: #f9fafb;
}

.schedule-groups {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.schedule-group {
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
}

.group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #E5E7EB;
}

.group-header h4 {
    margin: 0;
    color: #1f2937;
    font-weight: 600;
    font-size: 1.1rem;
}

.group-actions {
    display: flex;
    gap: 0.5rem;
}

.duplicate-group,
.remove-group {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 0.375rem 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.duplicate-group:hover {
    background: #e5e7eb;
}

.remove-group:hover {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fca5a5;
}

/* Time Slots Container */
.time-slots-container {
    margin-bottom: 1.5rem;
}

.time-slot-row {
    margin-bottom: 0.75rem;
}

.time-slot {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f9fafb;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
}

.time-slot input[type="time"] {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.875rem;
    font-family: 'Courier New', monospace;
}

.time-slot span {
    color: #6b7280;
    font-weight: 500;
}

.remove-time-slot {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s;
    margin-left: auto;
}

.remove-time-slot:hover {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fca5a5;
}

.add-time-slot {
    padding: 0.5rem 0.75rem;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.add-time-slot:hover {
    background: #2563eb;
}

/* Days Selection */
.days-selection h5 {
    margin: 0 0 0.75rem 0;
    color: #1f2937;
    font-weight: 600;
    font-size: 0.875rem;
}

.days-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.day-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
    border: 1px solid #E5E7EB;
}

.day-checkbox:hover {
    background: #f3f4f6;
}

.day-checkbox.disabled {
    background: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
    border-color: #f3f4f6;
}

.day-checkbox.disabled input {
    cursor: not-allowed;
}

.day-checkbox input[type="checkbox"] {
    margin: 0;
}

.day-checkbox input[type="checkbox"]:disabled {
    opacity: 0.5;
}

.day-checkbox span {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Quick Select Buttons */
.quick-select {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.quick-select-btn {
    padding: 0.375rem 0.75rem;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s;
}

.quick-select-btn:hover {
    background: #e5e7eb;
}

.quick-select-btn[data-action="none"]:hover {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fca5a5;
}

/* Add Schedule Group Button */
.add-schedule-group {
    width: 100%;
    padding: 1rem;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    margin-bottom: 1rem;
}

.add-schedule-group:hover {
    background: #059669;
}

/* Error Messages */
.group-errors,
.global-errors {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 4px;
}

.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.error-message:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .schedule-builder {
        padding: 0.75rem;
    }
    
    .schedule-group {
        padding: 1rem;
    }
    
    .group-header {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .time-slot {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    .days-checkboxes {
        grid-template-columns: 1fr;
    }
    
    .quick-select {
        flex-direction: column;
    }
}

/* ===== SCHEDULE BUILDER COMPACT ===== */
.schedule-builder-compact {
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-top: 8px;
}

.schedule-group-compact {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin-bottom: 12px;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.group-header-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.group-number {
    background: #007bff;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.time-slots-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}

.time-slot-compact {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    transition: all 0.2s;
}

.time-slot-compact.time-slot-error {
    background: #f8d7da;
    border-color: #f5c6cb;
    animation: pulse-error 1s ease-in-out;
}

@keyframes pulse-error {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.time-slot-compact input[type="time"] {
    border: none;
    background: transparent;
    font-size: 13px;
    padding: 2px;
    width: 70px;
}

.time-slot-compact span {
    color: #6c757d;
    font-size: 12px;
}

.remove-time-slot-compact {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 10px;
    line-height: 1;
}

.add-time-slot-compact {
    background: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;
}

.group-actions-compact {
    display: flex;
    gap: 4px;
    align-items: center;
}

.duplicate-group-compact, .remove-group-compact {
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
}

.remove-group-compact {
    background: #dc3545;
}

.days-selection-compact {
    margin-top: 8px;
}

.days-row {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
}

.day-compact {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    min-width: 36px;
    height: 28px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.2s;
}

.day-compact:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.day-compact.selected {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.day-compact.disabled {
    background: #f8f9fa;
    color: #adb5bd;
    border-color: #e9ecef;
    cursor: not-allowed;
    opacity: 0.6;
}

.day-compact.disabled:hover {
    background: #f8f9fa;
    border-color: #e9ecef;
}

.quick-actions-compact {
    display: flex;
    gap: 4px;
}

.quick-btn-compact {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    padding: 2px 8px;
    font-size: 10px;
    cursor: pointer;
    color: #495057;
    transition: all 0.2s;
    white-space: nowrap;
}

.quick-btn-compact:hover {
    background: #e9ecef;
}

.add-schedule-group-compact {
    width: 100%;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}

.add-schedule-group-compact:hover {
    background: #0056b3;
}

.group-errors-compact, .global-errors-compact {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 8px;
    margin-top: 8px;
    font-size: 12px;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .group-header-compact {
        flex-direction: column;
        align-items: stretch;
    }
    
    .time-slots-inline {
        justify-content: flex-start;
    }
    
    .days-row {
        justify-content: space-between;
    }
    
    .day-compact {
        min-width: 32px;
        height: 24px;
        font-size: 10px;
        padding: 0 2px;
    }
}

/* Photo Upload Styles */
.file-upload-container {
    position: relative;
    margin-bottom: 15px;
}

.file-input {
    display: none;
}

.file-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #64748b;
    font-weight: 500;
    width: 100%;
    justify-content: center;
}

.file-label:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #475569;
}

.file-label.has-file {
    background: #ecfdf5;
    border-color: #22c55e;
    color: #16a34a;
}

/* Disabled state when max files reached */
.file-label.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.upload-icon {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.file-preview {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.preview-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.preview-info {
    padding: 8px;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.preview-name {
    font-size: 12px;
    color: #64748b;
    word-break: break-all;
    line-height: 1.3;
}

.preview-size {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}

.remove-file {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
}

.remove-file:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* Dish Photos Specific Styles */
.dish-photos-container {
    display: grid;
    gap: 20px;
}

.dish-photo-item {
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fafafa;
}

.dish-names {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.dish-name-input {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.dish-name-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.dish-name-input::placeholder {
    color: #9ca3af;
}

/* Photo Section Spacing */
.form-section:has(.dish-photos-container) {
    border-top: 2px solid #f1f5f9;
    padding-top: 30px;
    margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
   
    .dish-names {
        grid-template-columns: 1fr;
    }
    
    .file-preview {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .preview-image {
        height: 100px;
    }
    
    .dish-photo-item {
        padding: 15px;
    }
}

/* RESET-PASSWORD PAGE STYLES */
.auth-body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  min-height: 100vh;
}

.auth-wrapper {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  padding: 40px;
  max-width: 420px;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.logo img { width: 48px; height: 48px; margin-right: 12px; }
.logo-text { font-size: 24px; font-weight: 700; color: #1a2634; }

h1 { font-size: 22px; font-weight: 600; color: #1a2634; text-align: center; margin-bottom: 8px; }
p.subtitle { color: #6b7280; text-align: center; margin-bottom: 24px; }

label { display: block; font-weight: 500; color: #374151; margin-bottom: 8px; font-size: 14px; }

input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  background: #fff;
}

input[type="password"]:focus {
  outline: none;
  border-color: #1A2634;
  box-shadow: 0 0 0 3px rgba(26,38,52,0.1);
}

.error { background:#fef2f2; border:1px solid #fecaca; color:#dc2626; padding:12px 16px; border-radius:8px; margin-bottom:16px; display:none; font-size:14px; }

.auth-card .btn-primary { width: 100%; }

.info { font-size: 13px; color: #6b7280; margin-top: 8px; }

.password-requirements { margin-top: 8px; font-size: 13px; color: #6b7280; }
.requirement { display: flex; align-items: center; margin-bottom: 4px; }
.req-icon { width: 16px; height: 16px; margin-right: 8px; font-weight: bold; text-align: center; line-height: 16px; font-size: 12px; }
.requirement.valid { color: #059669; }
.requirement.valid .req-icon { color: #059669; }
.requirement.invalid { color: #dc2626; }
.requirement.invalid .req-icon { color: #dc2626; }

/* Simple spacing utility to replace inline style */
.mt-12 { margin-top: 12px; }

/* Language switch */
.lang-switch {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.lang-switch button {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
}
.lang-switch button + button { margin-left: 8px; }
.lang-switch button.active {
  background: #1A2634;
  color: #fff;
  border-color: #1A2634;
}

/* ===== COOKIE CONSENT STYLES ===== */

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid #E5E7EB;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-banner-text {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
}

.cookie-icon {
    font-size: 1.5rem;
    color: #1A2634;
    margin-top: 0.25rem;
}

.cookie-text h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1A2634;
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: #6B7280;
    line-height: 1.5;
    margin: 0;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-cookie-customize {
    background: transparent;
    border: 2px solid #1A2634;
    color: #1A2634;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.btn-cookie-customize:hover {
    background: #F8FAFC;
}

.btn-cookie-reject {
    background: #F3F4F6;
    border: 1px solid #D1D5DB;
    color: #4B5563;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.btn-cookie-reject:hover {
    background: #E5E7EB;
}

.btn-cookie-accept {
    background: linear-gradient(135deg, #1A2634 0%, #0F1419 100%);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.btn-cookie-accept:hover {
    background: linear-gradient(135deg, #0F1419 0%, #0A0E13 100%);
    transform: translateY(-1px);
}

/* Cookie Preferences Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.cookie-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 90vw;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #E5E7EB;
}

.cookie-modal-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1A2634;
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    color: #6B7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.cookie-modal-close:hover {
    background: #F3F4F6;
}

.cookie-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.cookie-modal-body > p {
    color: #6B7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #F8FAFC;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.cookie-category-info {
    flex: 1;
}

.cookie-category-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1A2634;
    margin-bottom: 0.5rem;
}

.cookie-category-info p {
    color: #6B7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-toggle {
    flex-shrink: 0;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: #CBD5E1;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.toggle-switch.active {
    background: #1A2634;
}

.toggle-switch.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(20px);
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #E5E7EB;
    background: #F8FAFC;
}

.cookie-policy-link {
    color: #1A2634;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    display: block;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

.cookie-policy-link:hover {
    color: #0F1419;
}

.cookie-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.btn-cookie-cancel {
    background: transparent;
    border: 1px solid #D1D5DB;
    color: #6B7280;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.btn-cookie-cancel:hover {
    background: #F3F4F6;
}

.btn-cookie-save {
    background: linear-gradient(135deg, #1A2634 0%, #0F1419 100%);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.btn-cookie-save:hover {
    background: linear-gradient(135deg, #0F1419 0%, #0A0E13 100%);
    transform: translateY(-1px);
}

/* Cookie Notification */
.cookie-notification {
    position: fixed;
    top: 100px;
    right: 1rem;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 1500;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.cookie-notification.show {
    transform: translateX(0);
}

.cookie-notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cookie-notification-content i {
    color: #10B981;
    font-size: 1.25rem;
}

.cookie-notification-content span {
    color: #1A2634;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-banner-text {
        text-align: left;
    }
    
    .cookie-banner-actions {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .cookie-banner-actions button {
        flex: 1;
        min-width: 100px;
    }
    
    .cookie-modal-content {
        width: 95vw;
        margin: 1rem;
    }
    
    .cookie-category-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cookie-modal-actions {
        flex-direction: column;
    }
    
    .cookie-notification {
        right: 0.5rem;
        max-width: calc(100vw - 1rem);
    }
}

/* =====================================================
   HOW-IT-WORKS — FORCE EQUAL HEIGHTS FOR STEP CARDS
   This makes all step cards in the How it Works section
   the same height across the row, regardless of content.
   ===================================================== */

/* Ensure the steps container stretches items to equal height */
.how-it-works-section .steps-grid,
.how-it-works-section .how-grid,
.how-it-works-section .steps,
.how-it-works-section .cards-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch; /* key for equal heights */
}

@media (min-width: 768px) {
  .how-it-works-section .steps-grid,
  .how-it-works-section .how-grid,
  .how-it-works-section .steps,
  .how-it-works-section .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .how-it-works-section .steps-grid,
  .how-it-works-section .how-grid,
  .how-it-works-section .steps,
  .how-it-works-section .cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Make each card fill the available track height */
.how-it-works-section .step-card,
.how-it-works-section .how-card,
.how-it-works-section .card,
.how-it-works-section .steps-grid > *,
.how-it-works-section .how-grid > *,
.how-it-works-section .steps > *,
.how-it-works-section .cards-grid > * {
  height: 100%;
  display: flex;           /* allows inner content to stretch */
  flex-direction: column;
}

/* Optional: let body/content area expand so footers/CTAs align */
.how-it-works-section .step-body,
.how-it-works-section .card-body,
.how-it-works-section [class*="card"] [class*="body"],
.how-it-works-section [class*="step"] [class*="body"] {
  flex: 1 1 auto;
}
/* Hide Terms/Privacy on dashboard modal for authenticated users (Safari first paint) */
.feen-authed #registration-modal .terms-conditions,
.feen-authed #registration-modal .policy-section {
    display: none !important;
}
/* --- File upload label alignment fixes --- */
/* Ensure all file upload labels are left-aligned like other photo fields */
#restaurant-form .file-upload-container .file-label {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* left alignment */
  text-align: left;
  width: 100%;
}

/* Stronger selector specifically for the Menu photos field */
#restaurant-form #menuPhoto + .file-label {
  justify-content: flex-start !important;
  text-align: left !important;
}

/* Keep a small gap between the icon and text */
#restaurant-form .file-label .upload-icon {
  margin-right: 8px;
}