/* ✅ Assurer que le footer reste en bas */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

@media (max-width: 767.98px) {
  #sidebar { display: none !important; }
}

/* ✅ La classe main-container prendra tout l’espace disponible */
/* ✅ Permet au contenu de pousser le footer vers le bas */
.main-container {
    flex: 1;
    padding-bottom: 50px; /* ✅ Ajoute un espace en bas pour éviter le chevauchement */
}

/* ✅ Ajuster l'input et le bouton GO pour un alignement parfait */
.input-group {
    display: flex;
    align-items: center;
    max-width: 500px;
    margin: auto;
}

.input-group .form-control {
    flex-grow: 1;
    border-radius: 5px;
    border-right: none;
}

.order-option {
    text-align: center;
    margin-top: 15px;
}

/* ✅ Assurer que le bouton GO reste bien aligné */
#orderBtn {
    display: block;
    margin: 15px auto;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    background-color: #28a745;
    color: white;
    border: none;
    cursor: pointer;
}

#orderBtn:hover {
    background-color: #218838;
}

/* ✅ Assurer que l'input et la liste déroulante aient la même taille */
.form-control {
    height: 45px;
    font-size: 16px;
    border-radius: 5px;
}

/* ✅ Ajuster l'alignement des champs et du bouton "GO!" */
.input-group {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin: auto;
}

/* ✅ Assurer que le bouton "GO!" soit bien à droite */
.input-group button {
    height: 60px;
    font-size: 16px;
    padding: 0 20px;
    margin-left: 5px;
    white-space: nowrap;
}

/* ✅ Style du bouton */
#orderBtn, #orderBtnPickup {
    background-color: #28a745;
    color: white;
    border: none;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

#orderBtn:hover, #orderBtnPickup:hover {
    background-color: #218838;
}


/* ✅ Section Catégories */
.categories, .top-dishes, .testimonials, .location {
    text-align: center;
    margin-top: 50px;
}

.category-container, .dishes-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.category, .dish {
    text-align: center;
    width: 200px;
}

.category img, .dish img {
    width: 100%;
    border-radius: 10px;
}



/*Bannière heure d'ouverture restaurant*/
.alert {
    padding: 15px;
    margin-bottom: 0;
    border: 1px solid transparent;
    border-radius: 0;
    background: linear-gradient( 120deg , #1a6f28 40%, #000 100%);
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255,255,255,.2);
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05);
  }
  .closebtn {
    margin-left: 15px;
    color: #fff;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
  }

  .resto-cepanel{background-color: rgb(253 93 13) !important;}

/* ✅ Le conteneur principal occupe tout l’espace disponible */
main {
    margin-bottom: 60px;
}

/* ✅ Footer toujours en bas */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 15px 0;
    width: 100%;
    margin-top: auto;
    position: static !important;
    bottom: auto !important;
    inset: auto !important;
}
