
:root {
    --primary: #255D46;         /* Vert principal */
    --primary-dark: #1A3E2E;    /* Vert plus foncé */
    --primary-light: #4CAF80;   /* Vert plus clair */
    
    --secondary: #DBA79B;       /* Rose */
    --secondary-dark: #C48B7A;  /* Rose foncé */
    --secondary-light: #E8C2B5; /* Rose clair */
    
    --light: #FFFFFF;           /* Blanc */
    --dark: #000000;             /* Noir */
    
    --text: #1A3E2E;             /* Vert foncé pour texte principal */
    --text-light: #4A4A4A;       /* Gris pour texte secondaire */
    --text-light-bis: #FFFFFF;       /* Gris pour texte secondaire bis */
    
    --border-radius: 8px;        /* Coins arrondis standard */
    --section-spacing: 80px;     /* Espacement des sections */
}

* {
    font-family: 'Avenir', Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 10px;
}

.mb-4 {
    margin-bottom: 20px;
}

.mb-6 {
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 93, 70, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 93, 70, 0.3);
}

.btn-secondary {
    background-color: white;
    color: var(--text);
    border: 2px solid #eee;
}

.btn-secondary:hover {
    background-color: #f9f9f9;
    border-color: #ddd;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn i {
    margin-right: 8px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 990; /* Réduit de 1000 à 990 pour être sous la bannière restaurant */
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 8px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    transition: all 0.3s ease;
}

header.scrolled .logo img {
    height: 50px;
}

.nav-desktop {
    display: flex;
}

.nav-desktop ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-desktop ul li {
    margin-left: 40px;
    position: relative;
}

.nav-desktop ul li a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    padding: 5px 0;
    position: relative;
}

.nav-desktop ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-desktop ul li a:hover::after,
.nav-desktop ul li a.active::after {
    width: 100%;
}

.nav-desktop ul li a i {
    margin-right: 8px;
}

.nav-desktop ul li a:hover {
    color: var(--primary);
}

.header-buttons {
    display: flex;
    align-items: center;
}

.btn-order {
    margin-left: 15px;
}

.nav-mobile {
    display: none;
}

.nav-mobile-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text);
    cursor: pointer;
    display: none;
}

/* Restaurant Selector */
.restaurant-selector {
    background-color: var(--primary);
    color: white;
    padding: 12px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.restaurant-selector.show {
    transform: translateY(0);
}

.selector-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.selector-container i {
    margin-right: 10px;
}

.selector-container select {
    margin-left: 15px;
    padding: 8px 16px;
    border-radius: 50px;
    border: none;
    font-weight: 500;
    outline: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-color: #F9F0ED;
    overflow: hidden;
    margin-top: 90px; /* Header height */
    padding-top: 40px; /* Ajout de padding pour compenser la bannière */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/img/pattern.svg');
    background-size: 400px;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text);
}

.hero-title span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--primary-light);
    z-index: -1;
    border-radius: 10px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.hero-image {
    position: relative;
    z-index: 2;
    border-radius: 30px; /* Ajoute des coins arrondis au conteneur entier */
    overflow: hidden; /* Important pour que l'image respecte les coins arrondis */
}

.hero-burger {
    width: 100%;
    max-width: 500px;
    height: auto;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    border-radius: 30px; /* Ajoute des coins arrondis à l'image */
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero-badge {
    position: absolute;
    top: 30px;
    right: 40px;
    width: 120px;
    height: 120px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(37, 93, 70, 0.3);
    animation: pulse 2s infinite;
}

.hero-badge p:first-child {
    font-size: 14px;
    margin-bottom: 5px;
}

.hero-badge p:last-child {
    font-size: 24px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Popular Menu Section */
.popular-menu {
    background-color: white;
    padding-top: var(--section-spacing);
    padding-bottom: var(--section-spacing);
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: var(--text-light);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.menu-item {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.menu-item-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-item:hover .menu-item-image img {
    transform: scale(1.1);
}

.menu-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
}

.menu-item-content {
    padding: 20px;
}

.menu-item-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.menu-item-description {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.menu-item-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.menu-item-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-item-btn:hover {
    background-color: var(--primary);
    color: white;
}

.view-menu-btn {
    text-align: center;
    margin-top: 50px;
}
        
        /* Features Section */
        .features {
            background-color: var(--gray);
            padding-top: var(--section-spacing);
            padding-bottom: var(--section-spacing);
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-top: 50px;
        }
        
        .feature-card {
            background-color: white;
            border-radius: var(--border-radius);
            padding: 40px 30px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
            transition: all 0.3s ease;
        }
        
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
        }
        
        .feature-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background-color: var(--primary-light);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
        }
        
        .feature-icon i {
            font-size: 32px;
            color: var(--primary);
        }
        
        .feature-title {
            font-size: 22px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 15px;
        }
        
        .feature-description {
            color: var(--text-light);
            font-size: 16px;
        }
        
        /* Testimonials Section */
        .testimonials {
            background-color: white;
            padding-top: var(--section-spacing);
            padding-bottom: var(--section-spacing);
            position: relative;
            overflow: hidden;
        }
        
        .testimonials::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('assets/img/pattern.svg');
            background-size: 400px;
            opacity: 0.03;
            z-index: 1;
        }
        
        .testimonials-container {
            position: relative;
            z-index: 2;
        }
        
        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-top: 50px;
        }
        
        .testimonial-card {
            background-color: white;
            border-radius: var(--border-radius);
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        }
        
        .testimonial-rating {
            margin-bottom: 20px;
            color: #FFD700;
        }
        
        .testimonial-text {
            font-size: 16px;
            color: var(--text);
            margin-bottom: 20px;
            line-height: 1.7;
        }
        
        .testimonial-author {
            display: flex;
            align-items: center;
        }
        
        .testimonial-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            overflow: hidden;
            margin-right: 15px;
        }
        
        .testimonial-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .testimonial-info h4 {
            font-size: 16px;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 5px;
        }
        
        .testimonial-info p {
            font-size: 14px;
            color: var(--text-light);
        }
        
        /* App Download Section */
.app-download {
    background-color: var(--primary);
    padding-top: 80px;
    padding-bottom: 80px;
    color: white;
    position: relative;
    overflow: hidden;
}
        
        .app-download::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 50%;
            height: 100%;
            background-image: url('assets/img/burger-pattern.png');
            background-size: cover;
            opacity: 0.1;
            z-index: 1;
        }
        
        .app-content {
            position: relative;
            z-index: 2;
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            gap: 50px;
        }
        
        .app-text h2 {
            font-size: 40px;
            font-weight: 800;
            margin-bottom: 20px;
        }
        
        .app-text p {
            font-size: 18px;
            margin-bottom: 30px;
            opacity: 0.9;
        }
        
        .app-buttons {
            display: flex;
            gap: 15px;
        }
        
        .app-btn {
            display: flex;
            align-items: center;
            background-color: white;
            color: var(--text);
            padding: 12px 20px;
            border-radius: 12px;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .app-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        
        .app-btn i {
            font-size: 30px;
            margin-right: 10px;
        }
        
        .app-btn-text {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }
        
        .app-btn-text span:first-child {
            font-size: 12px;
        }
        
        .app-btn-text span:last-child {
            font-size: 16px;
            font-weight: 600;
        }
        
        .app-image {
            text-align: center;
        }
        
        .app-image img {
            max-width: 100%;
            height: auto;
            filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
        }
        
        /* Contact Section */
        .contact {
            padding-top: var(--section-spacing);
            padding-bottom: var(--section-spacing);
            background-color: white;
        }
        
        .contact-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 50px;
            margin-top: 50px;
        }
        
        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        
        .contact-card {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            background-color: var(--gray);
            padding: 25px;
            border-radius: var(--border-radius);
            transition: all 0.3s ease;
        }
        
        .contact-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        }
        
        .contact-card i {
            font-size: 24px;
            color: var(--primary);
            background-color: var(--primary-light);
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }
        
        .contact-card-info h3 {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--text);
        }
        
        .contact-card-info p, .contact-card-info a {
            color: var(--text-light);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .contact-card-info a:hover {
            color: var(--primary);
        }
        
        .contact-form {
            background-color: var(--gray);
            padding: 40px;
            border-radius: var(--border-radius);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--text);
        }
        
        .form-control {
            width: 100%;
            padding: 12px 15px;
            background-color: white;
            border: 1px solid #eee;
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.3s ease;
        }
        
        .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
            outline: none;
        }
        
        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }
        
        .form-btn {
            width: 100%;
        }
        
        /* Footer */
        footer {
            background-color: var(--secondary);
            color: white;
            padding-top: 80px;
        }
        
        .footer-top {
            display: grid;
            grid-template-columns: 2fr repeat(3, 1fr);
            gap: 50px;
            padding-bottom: 50px;
        }
        
        .footer-logo {
            margin-bottom: 20px;
        }
        
        .footer-logo img {
            height: 60px;
        }
        
        .footer-about p {
            color: #fff;
            margin-bottom: 25px;
            font-size: 16px;
            max-width: 300px;
        }
        
        .social-icons {
            display: flex;
            gap: 15px;
        }
        
        .social-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .social-icon:hover {
            background-color: var(--primary);
            transform: translateY(-5px);
        }
        
        .footer-links h3, .footer-contact h3 {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 25px;
            color: white;
        }
        
        .footer-links ul {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 15px;
        }
        
        .footer-links a {
            color: #fff;
            text-decoration: none;
            transition: color 0.3s ease;
            display: inline-flex;
            align-items: center;
        }
        
        .footer-links a i {
            margin-right: 8px;
            font-size: 12px;
        }
        
        .footer-links a:hover {
            color: var(--primary);
        }
        
        .footer-contact p {
            color: #fff;
            margin-bottom: 15px;
            display: flex;
            align-items: flex-start;
        }
        
        .footer-contact i {
            margin-right: 10px;
            margin-top: 5px;
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: 20px 0;
            text-align: center;
            color: #999;
            font-size: 14px;
        }
        
        .restaurants-title {
            color: white;
            margin-bottom: 20px;
            font-size: 20px;
            font-weight: 600;
        }
        
        .restaurant-info {
            background-color: rgba(255, 255, 255, 0.05);
            padding: 15px;
            border-radius: 10px;
            margin-bottom: 15px;
        }
        
        .restaurant-info h4 {
            font-size: 16px;
            margin-bottom: 8px;
            color: var(--primary);
        }
        
        .restaurant-info p {
            color: #fff;
            margin-bottom: 5px;
            font-size: 14px;
        }
        
        .restaurant-info p i {
            margin-right: 8px;
            font-size: 14px;
        }
        
        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background-color: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 999;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .back-to-top.show {
            opacity: 1;
            visibility: visible;
        }
        
        .back-to-top:hover {
            background-color: var(--primary-dark);
            transform: translateY(-5px);
        }
        
        /* Mobile Menu */
        .mobile-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .mobile-menu.open {
            opacity: 1;
            visibility: visible;
        }
        
        .mobile-menu-content {
            position: absolute;
            top: 0;
            right: -300px;
            width: 300px;
            height: 100%;
            background-color: white;
            padding: 50px 30px;
            transition: all 0.3s ease;
            overflow-y: auto;
        }
        
        .mobile-menu.open .mobile-menu-content {
            right: 0;
        }
        
        .mobile-menu-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            font-size: 24px;
            color: var(--text);
            cursor: pointer;
        }
        
        .mobile-menu-logo {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .mobile-menu-logo img {
            height: 50px;
        }
        
        .mobile-menu-nav ul {
            list-style: none;
        }
        
        .mobile-menu-nav li {
            margin-bottom: 20px;
        }
        
        .mobile-menu-nav a {
            display: flex;
            align-items: center;
            color: var(--text);
            text-decoration: none;
            font-weight: 500;
            font-size: 18px;
            transition: color 0.3s ease;
        }
        
        .mobile-menu-nav a i {
            margin-right: 15px;
            width: 20px;
            text-align: center;
        }
        
        .mobile-menu-nav a:hover {
            color: var(--primary);
        }
        
        .mobile-menu-bottom {
            margin-top: 50px;
        }
        
        .mobile-menu-bottom .btn {
            width: 100%;
            margin-bottom: 15px;
        }
        
        .mobile-contact {
            margin-top: 30px;
        }
        
        .mobile-contact p {
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            color: var(--text-light);
        }
        
        .mobile-contact i {
            margin-right: 10px;
            color: var(--primary);
        }

        /* DÉBUT DES STYLES DU PANIER */
        
        /* Bouton du panier avec compteur */
.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-left: 15px;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text);
    font-size: 22px;
    transition: color 0.3s ease;
}

.cart-btn:hover {
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
}
        
        .cart-count.empty {
            opacity: 0;
            transform: scale(0.8);
        }
        
        /* Panier overlay */
        .cart-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }
        
        .cart-overlay.open {
            opacity: 1;
            visibility: visible;
        }
        
        .cart-sidebar {
            position: fixed;
            top: 0;
            right: -400px;
            width: 380px;
            height: 100%;
            background-color: white;
            box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
            z-index: 2001;
            padding: 20px 0;
            transition: right 0.3s ease;
            display: flex;
            flex-direction: column;
        }
        
        .cart-overlay.open .cart-sidebar {
            right: 0;
        }
        
        .cart-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 20px 15px;
            border-bottom: 1px solid #eee;
        }
        
        .cart-title {
            font-size: 22px;
            font-weight: 700;
            color: var(--text);
            display: flex;
            align-items: center;
        }
        
        .cart-title i {
            margin-right: 10px;
            color: var(--primary);
        }
        
        .cart-close {
            background: none;
            border: none;
            font-size: 22px;
            color: var(--text);
            cursor: pointer;
            transition: color 0.3s ease;
        }
        
        .cart-close:hover {
            color: var(--primary);
        }
        
        .cart-items {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
        }
        
        .cart-empty {
            text-align: center;
            padding: 40px 20px;
            color: var(--text-light);
        }
        
        .cart-empty i {
            font-size: 60px;
            color: #ddd;
            margin-bottom: 20px;
        }
        
        .cart-empty p {
            margin-bottom: 20px;
        }
        
        .cart-item {
            display: flex;
            padding: 15px 0;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .cart-item-image {
            width: 80px;
            height: 80px;
            border-radius: 8px;
            overflow: hidden;
            margin-right: 15px;
            flex-shrink: 0;
        }
        
        .cart-item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .cart-item-content {
            flex: 1;
        }
        
        .cart-item-name {
            font-weight: 600;
            margin-bottom: 5px;
            color: var(--text);
        }
        
        .cart-item-price {
            font-size: 14px;
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 10px;
        }
        
        .cart-item-actions {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .cart-item-quantity {
            display: flex;
            align-items: center;
            background-color: var(--gray);
            border-radius: 30px;
            padding: 5px;
        }
        
        .cart-quantity-btn {
            width: 25px;
            height: 25px;
            border-radius: 50%;
            border: none;
            background-color: white;
            color: var(--text);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 14px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            transition: all 0.2s ease;
        }
        
        .cart-quantity-btn:hover {
            background-color: var(--primary);
            color: white;
        }
        
        .cart-quantity-value {
            margin: 0 10px;
            font-weight: 600;
            font-size: 14px;
        }
        
        .cart-item-remove {
            color: #f44336;
            background: none;
            border: none;
            cursor: pointer;
            font-size: 14px;
            transition: opacity 0.3s ease;
        }
        
        .cart-item-remove:hover {
            opacity: 0.8;
        }
        
        .cart-summary {
            padding: 20px;
            border-top: 1px solid #eee;
        }
        
        .cart-summary-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }
        
        .cart-summary-label {
            color: var(--text-light);
        }
        
        .cart-summary-value {
            font-weight: 600;
            color: var(--text);
        }
        
        .cart-total {
            font-size: 18px;
            font-weight: 700;
            margin-top: 10px;
            padding-top: 10px;
            border-top: 2px solid #f0f0f0;
        }
        
        .cart-checkout {
            margin-top: 20px;
        }
        
        .cart-checkout .btn {
            width: 100%;
            padding: 15px;
            font-size: 16px;
        }
        
        /* Notification toast pour ajout au panier */
        .toast-notification {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background-color: white;
            border-radius: 8px;
            padding: 15px 20px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
            display: flex;
            align-items: center;
            z-index: 2100;
            transform: translateY(100px);
            opacity: 0;
            transition: all 0.3s ease;
        }
        
        .toast-notification.show {
            transform: translateY(0);
            opacity: 1;
        }
        
        .toast-notification i {
            color: #4CAF50;
            font-size: 20px;
            margin-right: 10px;
        }
        
        /* Responsive pour le panier */
        @media (max-width: 768px) {
            .cart-sidebar {
                width: 320px;
            }
        }
        
        @media (max-width: 480px) {
            .cart-sidebar {
                width: 100%;
                right: -100%;
            }
        }
        /* FIN DES STYLES DU PANIER */
        
        /* Responsive Design */
        @media (max-width: 1200px) {
            .hero-title {
                font-size: 48px;
            }
        }
        
        @media (max-width: 992px) {
            .header-content {
                padding: 10px 0;
            }
            
            .nav-desktop {
                display: none;
            }
            
            .nav-mobile-btn {
                display: block;
            }
            
            .hero-content {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 40px;
            }
            
            .hero-text {
                margin: 0 auto;
                order: 2;
            }
            
            .hero-description {
                margin: 0 auto 40px;
            }
            
            .hero-buttons {
                justify-content: center;
            }
            
            .hero-image {
                order: 1;
                margin: 0 auto;
                max-width: 400px;
            }
            
            .features-grid, .testimonials-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .app-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
            
            .app-text {
                order: 2;
            }
            
            .app-buttons {
                justify-content: center;
            }
            
            .app-image {
                order: 1;
                margin-bottom: 40px;
            }
            
            .contact-grid, .footer-top {
                grid-template-columns: 1fr;
            }
            
            .footer-about p {
                max-width: 100%;
            }
        }
        
        @media (max-width: 768px) {
            .hero {
                min-height: auto;
                padding: 100px 0;
                height: auto;
            }
            
            .hero-title {
                font-size: 36px;
            }
            
            .hero-description {
                font-size: 16px;
            }
            
            .hero-buttons {
                flex-direction: column;
                width: 100%;
                max-width: 300px;
                margin: 20px auto 0;
            }
            
            .section-title {
                font-size: 32px;
            }
            
            .menu-grid, .features-grid, .testimonials-grid {
                grid-template-columns: 1fr;
            }
            
            .app-buttons {
                flex-direction: column;
                align-items: center;
            }
        }
        
        @media (max-width: 576px) {
            .container {
                padding: 0 15px;
            }
            
            .hero-title {
                font-size: 32px;
            }
            
            .section-title {
                font-size: 28px;
            }
            
            .hero-badge {
                width: 90px;
                height: 90px;
                top: 20px;
                right: 20px;
            }
            
            .hero-badge p:first-child {
                font-size: 12px;
            }
            
            .hero-badge p:last-child {
                font-size: 20px;
            }
        }
/* CSS pour l'espace membre client - Daily Burger */

/* Styles spécifiques à l'espace client qui ne sont pas déjà dans daily2.html */

/* Structure de l'espace client */
.client-dashboard {
    padding-top: 120px;
    padding-bottom: 80px;
    background-color: var(--gray);
    min-height: calc(100vh - 360px);
}

.dashboard-header {
    text-align: center;
    margin-bottom: 40px;
}

.dashboard-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 10px;
}

.dashboard-welcome {
    color: var(--text-light);
    font-size: 18px;
}

.dashboard-welcome span {
    color: var(--primary);
    font-weight: 600;
}

/* Navigation par onglets */
.dashboard-nav {
    margin-bottom: 30px;
}

.dashboard-tabs {
    display: flex;
    list-style: none;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
    max-width: 800px;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 15px 10px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-item i {
    margin-right: 8px;
    font-size: 16px;
}

.tab-item:hover {
    color: var(--primary);
    background-color: var(--primary-light);
    opacity: 0.8;
}

.tab-item.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background-color: var(--primary-light);
}

/* Conteneur principal des onglets */
.dashboard-content {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.dashboard-tab {
    display: none;
    padding: 30px;
}

.dashboard-tab.active {
    display: block;
}

/* Profil client */
.profile-card {
    background-color: white;
    border-radius: var(--border-radius);
}

.profile-header {
    display: flex;
    align-items: center;
    padding: 30px;
    background-color: var(--primary-light);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 30px;
}

.profile-info {
    flex: 1;
}

.profile-info h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text);
}

.profile-info p {
    color: var(--text-light);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.profile-info p i {
    margin-right: 8px;
    color: var(--primary);
}

.profile-edit {
    margin-left: 20px;
}

.profile-details {
    padding: 30px;
}

.profile-section {
    margin-bottom: 40px;
}

.profile-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: var(--text);
}

.profile-data {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.data-row {
    display: flex;
    padding: 10px 0;
}

.data-label {
    width: 150px;
    font-weight: 600;
    color: var(--text-light);
}

.data-value {
    flex: 1;
    color: var(--text);
}

/* Adresses */
.address-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.address-card {
    background-color: var(--gray);
    border-radius: var(--border-radius);
    padding: 20px;
    position: relative;
}

.address-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.address-card-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.address-badge {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.address-actions {
    display: flex;
    gap: 5px;
}

.btn-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: var(--text-light);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

.address-details p {
    margin-bottom: 5px;
    color: var(--text-light);
}

.address-card.add-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 2px dashed #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 180px;
}

.address-card.add-new:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.address-card.add-new i {
    font-size: 30px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.address-card.add-new p {
    color: var(--text-light);
    font-weight: 600;
}

/* Restaurant favori */
.favorite-restaurant {
    display: flex;
    align-items: center;
    background-color: var(--gray);
    border-radius: var(--border-radius);
    padding: 20px;
}

.restaurant-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    margin-right: 20px;
}

.restaurant-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
}

.restaurant-info p {
    color: var(--text-light);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.restaurant-info p i {
    margin-right: 8px;
    color: var(--primary);
}

/* Tab Commandes */
.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.orders-filters {
    display: flex;
    gap: 15px;
}

.search-bar {
    position: relative;
}

.search-bar input {
    padding: 10px 15px 10px 40px;
    border-radius: 30px;
    border: 1px solid #eee;
    width: 250px;
    font-size: 14px;
}

.search-bar i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.order-card {
    background-color: var(--gray);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.02);
}

.order-card:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.order-card.active {
    border-left: 5px solid var(--primary);
}

.order-status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.order-status-badge i {
    margin-right: 5px;
}

.order-status-badge.in-progress {
    background-color: var(--warning-light);
    color: var(--warning);
}

.order-status-badge.completed {
    background-color: var(--success-light);
    color: var(--success);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.order-number h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
}

.order-date {
    color: var(--text-light);
    font-size: 14px;
}

.order-restaurant {
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.order-restaurant i {
    margin-right: 5px;
}

.order-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.order-progress {
    padding: 15px 20px;
    background-color: white;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #eee;
    z-index: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 10px;
    position: relative;
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 5px;
}

.step-time {
    font-size: 12px;
    color: var(--text-light);
}

.progress-step.completed .step-icon {
    background-color: var(--success-light);
    color: var(--success);
}

.progress-step.active .step-icon {
    background-color: var(--primary-light);
    color: var(--primary);
}

.progress-step.active .step-label {
    color: var(--primary);
}

.order-items {
    padding: 20px;
    background-color: white;
    border-bottom: 1px solid #eee;
}

.order-items.collapsed {
    max-height: 60px;
    overflow: hidden;
    position: relative;
}

.order-items.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}

.order-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.order-item:last-child {
    margin-bottom: 0;
}

.item-quantity {
    width: 30px;
    font-weight: 600;
    color: var(--primary);
}

.item-name {
    flex: 1;
    color: var(--text);
}

.item-price {
    font-weight: 600;
    color: var(--text);
}

.order-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 15px 20px;
}

.load-more {
    text-align: center;
    margin-top: 30px;
}

/* Tab Favoris */
.favorites-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stats-card {
    background-color: var(--gray);
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    align-items: center;
}

.stats-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    margin-right: 15px;
}

.stats-info h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 5px;
}

.stats-info p {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.favorite-product {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.favorite-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 180px;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-badge.bestseller {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.product-info {
    padding: 15px;
}

.product-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
}

.product-description {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.product-rating {
    display: flex;
    align-items: center;
    color: #FFD700;
    font-size: 14px;
}

.product-rating span {
    margin-left: 5px;
    color: var(--text-light);
}

.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-top: 1px solid #eee;
}

.btn-icon.heart {
    width: 40px;
    height: 40px;
    background-color: white;
    color: #ddd;
    border: 1px solid #eee;
}

.btn-icon.heart.active {
    background-color: #FFEBEE;
    color: #F44336;
    border-color: #FFCDD2;
}

/* Tab Statistiques */
.stats-period {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.btn-period {
    padding: 8px 16px;
    border: 1px solid #eee;
    border-radius: 30px;
    background-color: white;
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-period.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.stats-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stats-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 5px;
}

.stats-label {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.stats-trend {
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.stats-trend i {
    margin-right: 5px;
}

.stats-trend.up {
    color: var(--success);
}

.stats-trend.down {
    color: var(--danger);
}

.stats-charts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stats-chart {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.chart-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 15px;
}

.chart-container {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--gray);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.chart-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.stats-insights {
    margin-top: 40px;
}

.insights-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.insight-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.insight-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.insight-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.insight-content p {
    color: var(--text-light);
    line-height: 1.5;
}

.insight-content strong {
    color: var(--primary);
    font-weight: 600;
}

/* Tab Paramètres */
.settings-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.settings-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.settings-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}

.settings-form {
    max-width: 800px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
    outline: none;
}

.form-actions {
    margin-top: 30px;
}

.settings-options {
    margin-bottom: 30px;
}

.option-group {
    display: grid;
    gap: 15px;
}

.option-toggle {
    display: flex;
    align-items: center;
    background-color: var(--gray);
    border-radius: var(--border-radius);
    padding: 15px;
}

.toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    margin-right: 15px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle input:checked + .toggle-slider {
    background-color: var(--primary);
}

.toggle input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.option-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 5px;
}

.option-text p {
    color: var(--text-light);
    font-size: 14px;
}

.delete-account {
    background-color: var(--danger-light);
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.warning-text {
    color: var(--danger);
    display: flex;
    align-items: center;
}

.warning-text i {
    margin-right: 10px;
    font-size: 20px;
}

.btn-danger {
    background-color: var(--danger);
    color: white;
}

.btn-danger:hover {
    background-color: #d32f2f;
}

/* Responsive pour l'espace client */
@media (max-width: 992px) {
    .dashboard-tabs {
        flex-wrap: wrap;
    }
    
    .tab-item {
        min-width: 33.333%;
    }
    
    .stats-overview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-charts {
        grid-template-columns: 1fr;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .profile-data {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .client-dashboard {
        padding-top: 100px;
    }
    
    .dashboard-title {
        font-size: 28px;
    }
    
    .dashboard-tab {
        padding: 20px 15px;
    }
    
    .tab-item {
        min-width: 50%;
    }
    
    .tab-item span {
        display: none;
    }
    
    .tab-item i {
        margin-right: 0;
        font-size: 20px;
    }
    
    .favorites-stats {
        grid-template-columns: 1fr;
    }
    
    .favorites-grid {
        grid-template-columns: 1fr;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-restaurant {
        margin: 10px 0;
    }
    
    .progress-step .step-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .progress-step .step-label {
        font-size: 10px;
    }
    
    .order-actions {
        flex-direction: column;
    }
    
    .order-actions .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .delete-account {
        flex-direction: column;
    }
    
    .warning-text {
        margin-bottom: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .stats-overview {
        grid-template-columns: 1fr;
    }
    
    .tab-item {
        min-width: 100%;
    }
    
    .tab-item span {
        display: inline;
    }
    
    .tab-item i {
        margin-right: 8px;
    }
    
    .progress-steps {
        flex-wrap: wrap;
    }
    
    .progress-step {
        width: 50%;
        margin-bottom: 20px;
    }
}
.form-container {
    background-color: #FFF8E1; /* Teinte très claire d'orange/jaune */
    border: 1px solid #FFE0B2; /* Bordure légèrement plus foncée */
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(255, 152, 0, 0.08);
}

.form-container h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 14px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: white;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.15);
    outline: none;
}

.form-control::placeholder {
    color: #aaa;
}

/* Labels au-dessus des champs */
.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text);
    font-size: 15px;
}

/* Animation subtile au focus */
.form-group.focused label {
    color: var(--primary);
}

/* Style pour les champs obligatoires */
.form-group.required label:after {
    content: " *";
    color: #f44336;
}

/* Style pour les champs invalides */
.form-control.is-invalid {
    border-color: #f44336;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23f44336'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 40px;
}

.invalid-feedback {
    display: block;
    color: #f44336;
    font-size: 14px;
    margin-top: 5px;
}

/* Bouton de soumission amélioré */
.form-submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    background-color: var(--primary);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 152, 0, 0.25);
    margin-top: 10px;
}

.form-submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 152, 0, 0.3);
}

/* Style pour les séparateurs */
.form-divider {
    margin: 30px 0;
    text-align: center;
    position: relative;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
}

.form-divider span {
    position: relative;
    background-color: white;
    padding: 0 15px;
    color: var(--text-light);
    font-size: 14px;
}
/* Styles améliorés pour les inputs */
:root {
    --input-border-radius: 50px; /* Rayon de bordure très arrondi */
    --input-border-color: #e0e0e0;
    --input-focus-border-color: #FF9800; /* Couleur primaire de Daily Burger */
    --input-bg-color: white;
    --input-text-color: #333;
    --input-placeholder-color: #999;
}

.form-control {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--input-border-color);
    border-radius: var(--input-border-radius);
    background-color: var(--input-bg-color);
    color: var(--input-text-color);
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.form-control::placeholder {
    color: var(--input-placeholder-color);
    opacity: 1;
}

.form-control:focus {
    border-color: var(--input-focus-border-color);
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
}

.form-control.is-invalid {
    border-color: #f44336;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

/* Style pour les labels */
.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    padding-left: 20px; /* Alignement avec l'input */
    transition: color 0.3s ease;
}

.form-control:focus + label,
.form-control:not(:placeholder-shown) + label {
    color: var(--input-focus-border-color);
}

/* Style pour les groupes de formulaire */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group.required label::after {
    content: '*';
    color: #f44336;
    margin-left: 5px;
}

/* Style pour les inputs avec icônes */
.input-group {
    position: relative;
}

.input-group .form-control {
    padding-left: 50px; /* Espace pour l'icône */
}

.input-group-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--input-placeholder-color);
    transition: color 0.3s ease;
}

.form-control:focus + .input-group-icon {
    color: var(--input-focus-border-color);
}

/* Styles spécifiques pour les formulaires d'authentification */
.auth-form .form-container {
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.auth-form .form-submit-btn {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--input-border-radius);
    background-color: var(--primary);
    color: white;
    border: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.auth-form .form-submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-control {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .auth-form .form-container {
        padding: 30px 20px;
    }
}
/* Styles communs */
header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 990;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px;
    transition: all 0.3s ease;
}

/* Cache les éléments mobile par défaut */
.mobile-header-buttons {
    display: none;
}

/* Media queries pour mobile */
@media (max-width: 992px) {
    /* Cache les éléments desktop */
    .nav-desktop,
    .header-buttons {
        display: none;
    }
    
    /* Affiche les éléments mobiles */
    .mobile-header-buttons {
        display: flex;
        align-items: center;
    }
    
    /* Style du header simplifié */
    .header-content {
        padding: 10px 0;
    }
    
    .logo img {
        height: 50px;
    }
    
    /* Style des boutons mobiles */
    .nav-mobile-btn {
        background: none;
        border: none;
        font-size: 24px;
        color: var(--text);
        cursor: pointer;
        margin-left: 15px;
        padding: 5px;
    }
    
    /* Améliorations du menu mobile */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 2000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-menu.open {
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-content {
        position: absolute;
        top: 0;
        right: -300px;
        width: 85%;
        max-width: 300px;
        height: 100%;
        background-color: white;
        padding: 50px 25px;
        transition: all 0.3s ease;
        overflow-y: auto;
    }
    
    .mobile-menu.open .mobile-menu-content {
        right: 0;
    }
    
    .mobile-menu-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-menu-nav li {
        margin-bottom: 20px;
    }
    
    .mobile-menu-nav a {
        display: flex;
        align-items: center;
        color: var(--text);
        text-decoration: none;
        font-weight: 600;
        font-size: 16px;
        padding: 10px 0;
        transition: color 0.3s ease;
    }
    
    .mobile-menu-nav a i {
        margin-right: 15px;
        width: 20px;
        text-align: center;
    }
    
    .mobile-menu-nav a:hover,
    .mobile-menu-nav a.active {
        color: var(--primary);
    }
    
    .mobile-menu-bottom {
        margin-top: 30px;
    }
    
    .btn-block {
        display: block;
        width: 100%;
        margin-bottom: 15px;
        text-align: center;
    }
    
    /* Style amélioré du cart button */
    .cart-btn {
        position: relative;
        background: none;
        border: none;
        font-size: 24px;
        color: var(--text);
        cursor: pointer;
    }
    
    .cart-count {
        position: absolute;
        top: -8px;
        right: -8px;
        width: 20px;
        height: 20px;
        background-color: var(--primary);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: bold;
        transition: all 0.3s ease;
    }
    
    .cart-count.empty {
        transform: scale(0);
        opacity: 0;
    }
    
    /* Amélioration pour les petits écrans */
    @media (max-width: 576px) {
        .logo img {
            height: 40px;
        }
        
        .mobile-menu-content {
            width: 85%;
        }
        
        /* Cache le texte des boutons sur petit écran */
        .btn-text {
            display: none;
        }
    }
}

/* Styles supplémentaires pour améliorer l'expérience mobile */
@media (max-width: 992px) {
    /* Ajustement de l'espace pour le contenu sous le header */
    body {
        padding-top: 70px;
    }
    
    .mobile-contact {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }
    
    .mobile-contact p {
        margin-bottom: 10px;
        color: var(--text-light);
    }
    
    .mobile-contact i {
        margin-right: 10px;
        color: var(--primary);
    }
    
    /* Amélioration pour le sélecteur de restaurant sur mobile */
    .restaurant-selector.show {
        padding: 10px 0;
    }
    
    .selector-container {
        flex-wrap: wrap;
    }
    
    .selector-container select {
        margin-top: 5px;
        width: 100%;
    }
}
/* Correctifs pour l'affichage mobile/desktop */
.mobile-menu-toggle {
    display: none;
}

@media (max-width: 992px) {
    .nav-desktop, 
    .header-buttons {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background-color: white;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
    }
    
    .mobile-menu.open {
        right: 0;
    }
    
    .mobile-menu-content {
        padding: 20px;
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    
    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
    }
    
    .mobile-menu-logo {
        text-align: center;
        margin-bottom: 30px;
        margin-top: 10px;
    }
    
    .mobile-menu-logo img {
        height: 60px;
    }
    
    .mobile-menu-nav {
        margin-bottom: 30px;
    }
    
    .mobile-menu-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-menu-nav li {
        margin-bottom: 15px;
    }
    
    .mobile-menu-nav a {
        display: block;
        padding: 10px 0;
        font-weight: 600;
        color: var(--text);
        text-decoration: none;
        border-bottom: 1px solid #f0f0f0;
        transition: color 0.3s ease;
    }
    
    .mobile-menu-nav a i {
        margin-right: 10px;
        color: var(--primary);
    }
    
    .mobile-menu-nav a.active {
        color: var(--primary);
    }
    
    .mobile-menu-bottom {
        margin-top: auto;
    }
    
    .btn-block {
        display: block;
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .mobile-contact {
        margin-top: 20px;
        font-size: 14px;
        color: var(--text-light);
    }
    
    .mobile-contact p {
        margin-bottom: 5px;
    }
    
    /* Style pour le nombre d'articles dans le panier mobile */
    .mobile-cart-count {
        display: inline-block;
        background-color: var(--primary);
        color: white;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        text-align: center;
        line-height: 20px;
        font-size: 12px;
        margin-left: 5px;
    }
}
/* Menu mobile optimisé */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background-color: white;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-menu-logo {
    text-align: center;
    margin-bottom: 25px;
    padding-top: 10px;
}

.mobile-menu-logo img {
    height: 50px;
}

.mobile-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-light);
    transition: all 0.2s ease;
}

.mobile-menu-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.mobile-menu-nav {
    flex: 1;
    overflow-y: auto;
}

.mobile-menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-nav li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-nav li:last-child {
    border-bottom: none;
}

.mobile-menu-bottom {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.mobile-contact {
    margin-top: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.mobile-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text);
}

.mobile-contact p i {
    margin-right: 8px;
    color: var(--primary);
}

.mobile-contact p:last-child {
    margin-bottom: 0;
}
/* Styles pour le sélecteur de restaurant */
.restaurant-selector {
    background-color: var(--primary);
    color: white;
    padding: 10px 0;
    display: none;
    transition: all 0.3s ease;
}

.restaurant-selector.show {
    display: block;
}

.selector-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.selector-container select {
    padding: 8px;
    border-radius: 4px;
    border: none;
    outline: none;
    min-width: 200px;
}

.selector-container button {
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

#confirm-restaurant {
    padding: 8px 15px;
    background-color: var(--secondary);
    color: white;
    border-radius: 4px;
}

#confirm-restaurant:hover {
    background-color: var(--secondary-dark);
}

/* Ajustement pour le header lors de l'affichage du sélecteur */
.restaurant-selector.show + #header {
    margin-top: 0;
}
.view-all-reviews {
    text-align: center;
    margin-top: 30px;
}

.product-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.product-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}
.restaurant-card {
    margin-bottom: 1rem;
}

.restaurant-status-badge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
    z-index: 1;
}

.restaurant-status-badge.open {
    background-color: #10B981;
    color: white;
}

.restaurant-status-badge.closed {
    background-color: #EF4444;
    color: white;
}
