html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fefefe;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    text-align: center;
    flex: 1;
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    font-family: "Arial";
    box-sizing: border-box;
}

.header { 
    width: 100%;
    height: 80px;
    background-color: #1190CB;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
}

h1 {
    font-size: 2.5em;
    color: #fefefe;
    background-color: #1190CB;
    text-align: center;
}

p {
    color: #000;
}

.store-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px; 
    margin-top: 20px;
    padding: 20px;
}

.store-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease; 
    text-align: center;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); 
}

.store-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

.store-card h3 {
    font-size: 1.2em;
    color: #333;
    margin: 10px 0;
}

.store-card p {
    color: #666;
    margin-bottom: 10px;
}

.store-card .btn {
    display: inline-block;
    background-color: #1447a7;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.store-card .btn:hover {
    background-color: #1190cb;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px; 
    margin-top: 20px;
}

.product-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 15px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.product-item img {
    width: 100%;
    height: 150px;
    object-fit: cover; 
    margin-bottom: 10px;
}

.product-item h4 {
    font-size: 1.2em;
    margin: 10px 0;
    color: #333;
}

.product-item p {
    color: #666;
    margin: 10px 0;
    font-size: 1.1em;
}

.product-item button {
    background-color: #1998ff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.9em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-item button:hover {
    background-color: #1447a7;
}

.navbar {
    background-color: #1447a7;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 60px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-logo {
    width: 100px; 
    height: 100px; 
    object-fit: cover; 
    display: inline-block;
    margin: 0; 
    padding: 0; 
}

.navbar-links {
    display: flex;
    align-items: center; 
    justify-content: center;
    gap: 50px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-links li a {
    text-decoration: none;
    color: white;
    font-size: 1.5em;
    font-weight: 100;
    transition: color 0.3s ease;
}

.navbar-links li a:hover {
    color: #d4f5d4;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
}

@media (max-width: 768px) {
    .navbar-links {
        flex-direction: column;
        position: absolute;
        top: 50px;
        right: 0;
        background-color: #1190cb;
        padding: 10px;
        display: none;
        width: 100%;
    }

    .navbar-links.active {
        display: flex;
    }

    .navbar-toggle {
        display: block;
    }
}

.payment-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.payment-form {
    width: 48%;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.payment-form h2 {
    margin-bottom: 20px;
    font-size: 1.5em;
}

.order-item {
    margin-bottom: 10px;
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
}

.order-total {
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.btn {
    background-color: #1190cb;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1em;
}

.btn:hover {
    background-color: #1190cb;
}

@media (max-width: 768px) {
    .payment-container {
        flex-direction: column;
    }

    .payment-form {
        width: 100%;
    }
}

.profile-image {
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    object-fit: cover; 
    display: inline-block;
    border: 2px solid #fff; 
    margin: 0; 
    padding: 0; 
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1; 
    width: 100%;
    background-color: #f3f3f3;
    padding: 40px 20px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.auth-box {
    background: white;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.auth-box h1 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
}

.auth-box p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.9em;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.9em;
    margin-bottom: 5px;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: #1190cb;
    outline: none;
    box-shadow: 0 0 3px rgba(0, 120, 215, 0.5);
}

.btn-primary {
    background-color: #1190cb;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.btn-primary:hover {
    background-color: #1190cb;
}

.auth-footer {
    margin-top: 15px;
    font-size: 0.85em;
    color: #666;
}

.auth-footer a {
    color: #1190cb;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.choice-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}

.choice-button {
    background-color: #1190cb;
    color: white;
    border: none;
    padding: 20px 40px;
    text-align: center;
    font-size: 1.5em;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.choice-button:hover {
    background-color: #fefefe;
}

.calendar-container {
    display: inline-block;
    background-color: #1190cb;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.calendar {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    margin-bottom: 20px;
}

.calendar th,
.calendar td {
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    text-align: center;
    vertical-align: middle;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar td.disabled {
    color: #bbb;
    background-color: #f3f3f3;
    cursor: not-allowed;
}

.calendar td.selectable:hover {
    background-color: #1447a7;
}

.calendar td.selected {
    background-color: #1190cb;
    color: white;
    font-weight: bold;
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 20px;
}

.navigation h2 {
    color: white;
    margin: 0;
}

.nav-arrow {
    background: none;
    border: none;
    font-size: 1.5em;
    color: white;
    cursor: pointer;
}

.nav-arrow:hover {
    color: #d4f5d4;
}
/* Styles pour le footer modernisé */
footer {
    background-color: #0e7aab; /* Couleur légèrement plus foncée pour plus de profondeur */
    color: #fefefe;
    padding: 40px 0; /* Plus d'espace en haut et en bas */
    width: 100%;
    margin-top: auto;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); /* Ombre subtile au-dessus */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Police moderne */
}

.footer-container {
    display: flex;
    justify-content: space-between; /* Espacement égal entre les colonnes */
    flex-wrap: wrap;
    max-width: 1100px; /* Largeur maximale pour le contenu */
    margin: 0 auto;
    padding: 0 20px; /* Espace sur les côtés sur petit écran */
    gap: 30px; /* Espace entre les colonnes */
}

.footer-section {
    flex: 1; /* Chaque section prend une part égale */
    min-width: 220px;
    display: flex;
    justify-content: center; /* Centre le contenu de la section */
}

.footer-box {
    /* background-color: #fefefe;  Supprimé pour un footer plus intégré */
    /* padding: 10px; Supprimé */
    width: 100%;
    max-width: 280px; /* Légèrement plus large */
    /* border-radius: 50px; Supprimé */
    text-align: left;
}

.footer-box h3 {
    font-size: 1.4em;
    margin-bottom: 20px;
    color: #ffffff; /* Titre en blanc pour le contraste */
    font-weight: 600;
    text-transform: uppercase; /* Titres en majuscules */
    letter-spacing: 1px;
    text-align: left; /* Alignement à gauche */
}

.footer-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-box ul li {
    margin-bottom: 12px; /* Espace entre les liens */
    text-align: left; /* Alignement à gauche */
}

.footer-box ul li a {
    text-decoration: none;
    color: #d4f5d4; /* Couleur claire pour les liens */
    font-size: 1em;
    transition: all 0.3s ease; /* Transition fluide */
    display: inline-block; /* Permet le padding et la transformation */
    padding: 5px 0;
    position: relative; /* Pour l'effet de soulignement éventuel */
}

.footer-box ul li a:hover {
    color: #ffffff; /* Blanc au survol */
    padding-left: 5px; /* Léger décalage à droite au survol */
    /* background-color: #fefefe; Supprimé */
    /* border: 1px solid #1190CB; Supprimé */
    /* border-radius: 50px; Supprimé */
    /* padding: 10px; Supprimé */
    /* font-size: 1.4em; Supprimé pour un effet plus subtil */
}

/* Ajout d'une barre de copyright */
.footer-copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Ligne de séparation subtile */
    font-size: 0.9em;
    color: #d4f5d4;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer-section {
        width: 100%;
        text-align: center;
    }
    
    .footer-box {
        text-align: center;
    }
    
    .footer-box h3, .footer-box ul li {
        text-align: center;
    }
}

.center-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

.delivery-container {
    width: 100%;
    max-width: 600px;
}

.delivery-box {
    background-color: #1190cb;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: rgb(0, 0, 0);
}

.delivery-box p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #000000;
}

.delivery-box h2 {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #fff9f9;
}

.delivery-input {
    width: 80%;
    padding: 10px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: none;
}

.delivery-input:focus {
    outline: none;
    box-shadow: 0 0 5px #fefefe;
}

.delivery-button {
    padding: 10px 20px;
    background-color: #1447a7;
    color: white;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.delivery-button:hover {
    background-color: #fefefe;
}

.suggestions {
    background: rgb(255, 255, 255);
    color: rgb(255, 255, 255);
    text-align: left;
    border: 1px solid #1190cb;
    border-radius: 5px;
    max-height: 150px;
    overflow-y: auto;
    margin-top: -10px;
}

.suggestions p {
    padding: 10px;
    margin: 0;
    cursor: pointer;
}

.suggestions p:hover {
    background: #999999;
}