/* Apply Poppins font to all elements */
* {
    font-family: 'Poppins', sans-serif !important;
}

/* Existing styles with unique prefix and !important */
.menu-resto-container h1 {
    font-weight: bold !important;
    font-size: 45px !important;
    text-align: center !important;
    color: #000 !important;
}

.menu-resto-container .sous-titre-h {
    font-weight: 500 !important;
    font-size: 20px !important;
    text-align: center !important;
    color: #bfbfbf !important;
}

.menu-resto-container #firstForm .date-picker p {
    font-weight: normal !important;
    font-size: 16px !important;
    line-height: 30px !important;
    text-align: left !important;
    color: #000 !important;
    margin-bottom: 0 !important;
    font-family: 'Poppins';

}
.date-picker small{
    font-family: 'Poppins';
font-weight: normal;
font-size: 18px;
line-height: 30px;
text-align: left;
color: #bfbfbf;

}
#menuSection .text-two {
        font-family: 'Poppins';
font-weight: normal;
font-size: 18px;
line-height: 30px;
text-align: left;
color: #bfbfbf;
}
.menu-resto-container #firstForm .date-picker label {
    font-weight: 600 !important;
    font-size: 25px !important;
    line-height: 30px !important;
    text-align: left !important;
    color: #000 !important;
}

.menu-resto-container #firstForm .date-picker {
    background: #9999991f !important;
    padding: 20px !important;
}

.menu-resto-container .two-button {
    display: flex !important;
    justify-content: space-between !important;
}

.menu-resto-container .price-tag {
    background: #fac616 !important;
    padding: 0px 10px !important;
    border-radius: 5px !important;
    display: inline-block !important;
    height: 40px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-align: center !important;
    color: #333 !important;
}

.menu-resto-container .menu-card .btn-warning {
    border: 1px solid #fac616 !important;
    background-color: transparent !important;
    padding: 5px 10px !important;
    height: 40px !important;
    font-weight: normal !important;
    font-size: 16px !important;
    text-align: center !important;
    color: #333 !important;
    letter-spacing: normal !important;
}

.menu-resto-container #menuSection {
    background: #9999991f !important;
    padding: 20px !important;
}

.menu-resto-container .menu-card .btn-warning:hover {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
}

.menu-resto-container .menu-cards {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
}

.menu-resto-container .menu-card {
    width: calc(25% - 20px) !important;
    background-color: transparent !important;
    padding: 10px !important;
    border-radius: 8px !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 300px !important;
}

.menu-resto-container .menu-card:hover {
    border-color: #ffc107 !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important;
}

.menu-resto-container .menu-card.selected {
    border-color: #ffc107 !important;
    background-color: #fffbe6 !important;
}

.menu-resto-container .menu-card img {
    width: 100% !important;
    height: 140px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    margin-bottom: 10px !important;
}

.menu-resto-container .menu-card h5 {
    font-weight: 500 !important;
    font-size: 20px !important;
    line-height: 30px !important;
    text-align: left !important;
    color: #000 !important;
    margin: 10px 0 5px !important;
}

.menu-resto-container #menuSection h3 {
    font-weight: 600 !important;
    font-size: 20px !important;
    line-height: 30px !important;
    text-align: left !important;
    color: #000 !important;
    letter-spacing: 0 !important;
}

.menu-resto-container #menuSection .text-two {
    font-weight: normal !important;
    font-size: 18px !important;
    line-height: 30px !important;
    text-align: left !important;
    color: #bfbfbf !important;
}

.menu-resto-container .modal-dialog {
    max-width: 1200px !important;
}

.menu-resto-container .modal-body {
    text-align: center !important;
}

.menu-resto-container .modal-image {
    object-fit: cover !important;
    margin-bottom: 10px !important;
    width: 100px !important;
    height: 400px !important;
}

.menu-resto-container #detailsPopup {
    margin-top: 50px !important;
}
.menu-resto-container #detailsPopup .btn-close {
    color:#000 !important;
    border: 1px solid #646464;
    border-radius: 50px;
        padding: 20px;
}
.menu-resto-container #detailsPopup .modal-content {
    background: #fff !important;
    backdrop-filter: blur(19px) !important;
    /* background-color: rgba(0, 0, 0, 0.39) !important; */
    border-radius: 0;
    border: none;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
}

.menu-resto-container #detailsPopup .modal-title {
    font-weight: 600 !important;
    font-size: 30px !important;
    line-height: 30px !important;
    text-align: left !important;
    color: #fff !important;
    padding: 20px 20px 0 !important;
}

.menu-resto-container #detailsPopup .modal-header {
    align-self: start;
        border: none;
}
#detailsPopup .modal-dialog {
    margin-top: 5%;
}
/* .modal-backdrop {
  display: none !important;
} */

.menu-resto-container #popupDescription {
    font-weight: normal !important;
    font-size: 16px !important;
    line-height: 30px !important;
    text-align: left !important;
    color: #000 !important;
}

.menu-resto-container #quantitySection {
    background: #9999991f !important;
    margin-top: 0 !important;
    padding: 20px !important;
}

.menu-resto-container #quantitySection h5 {
    font-weight: 600 !important;
    font-size: 20px !important;
    line-height: 30px !important;
    text-align: left !important;
    color: #000 !important;
}

.menu-resto-container #quantitySection p {
    font-weight: normal !important;
    font-size: 18px !important;
    line-height: 30px !important;
    text-align: left !important;
    color: #bfbfbf !important;
}

.menu-resto-container .quantity-display {
    font-size: 20px !important;
    font-weight: bold !important;
    padding: 5px 10px !important;
    width: 100% !important;
    text-align: center !important;
    background-color: #fff !important;
}
.total-box h5 {
    color: #000 !important;
}
.menu-resto-container #quantitySection button {
    background: #fac616 !important;
    border: none !important;
    width: 50px !important;
    height: 46px !important;
    border-radius: 0 !important;
}

.menu-resto-container #quantitySection .buttonmoin {
    background: #fac51646 !important;
    border: none !important;
    width: 50px !important;
    height: 46px !important;
    border-radius: 0 !important;
}

.menu-resto-container .second-form h5 {
    font-weight: 600 !important;
    font-size: 20px !important;
    line-height: 30px !important;
    text-align: left !important;
    color: #000 !important;
}

.menu-resto-container .crad-img-text h6 {
font-weight: normal !important;
    font-size: 14px !important;
    line-height: 24px !important;
    text-align: left !important;
    color: #000 !important;
    height: 110px;
}

.menu-resto-container .second-form label {
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 30px !important;
    text-align: left !important;
    color: #000 !important;
}

.menu-resto-container .second-form input {
    border: none !important;
    height: 40px !important;
}

.menu-resto-container .first-btn {
    background: #fac616 !important;
    opacity: 0.5 !important;
}

.menu-resto-container .second-form .form-check-input {
    height: 10px !important;
    width: 10px !important;
}

.menu-resto-container .price {
    font-weight: normal !important;
    font-size: 16px !important;
    line-height: 30px !important;
    text-align: left !important;
    color: #bfbfbf !important;
}

.menu-resto-container .second-form .quantity-controls button {
    background: #fac616 !important;
    border: none !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 0 !important;
   padding: 0px 15px !important;
   color: #fff !important;

}

.menu-resto-container .second-form .quantity-controls .buttonmoin {
    background: #fac51646 !important;
    border: none !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 0 !important;
        padding: 0px 15px !important;
}

.menu-resto-container .instructions {
    text-align: center !important;
    color: #777 !important;
    font-size: 14px !important;
    margin-bottom: 20px !important;
}

.menu-resto-container .date-picker {
    margin-bottom: 30px !important;
}

.menu-resto-container .date-picker label {
    display: block !important;
    margin-bottom: 5px !important;
}

.menu-resto-container .date-picker input {
    width: 100% !important;
    padding: 10px !important;
    border: 1px solid #ddd !important;
    border-radius: 5px !important;
}

.menu-resto-container .hint {
    color: #777 !important;
    font-size: 12px !important;
    margin-top: 5px !important;
}

.menu-resto-container .second-form h6 {
    font-weight: normal !important;
    font-size: 12px !important;
    line-height: 20px !important;
    text-align: left !important;
    color: #000 !important;
    height: 120px;
}

.menu-resto-container .total-box p {
    font-weight: normal !important;
    font-size: 16px !important;
    line-height: 30px !important;
    text-align: left !important;
    color: #000 !important;
}

.menu-resto-container .style-btn button {
    width: 100% !important;
    margin: 0 5px !important;
    padding: 10px !important;
}

.menu-resto-container .section-title {
    font-size: 2rem !important;
    font-weight: bold !important;
}

.menu-resto-container .form-section {
    background: #9999991f !important;
    padding: 1.5rem !important;
    margin-bottom: 1rem !important;
}
.menu-resto-container .form-section label {
    font-family: 'Poppins';
font-weight: normal;
font-size: 16px;
line-height: 20px;
text-align: left;
color: #000;

}

.menu-resto-container .option-card {
    background-color: white !important;
    border: 1px solid #eee !important;
    text-align: center !important;
    padding: 1rem !important;
    border-radius: 0.5rem !important;
    margin-bottom: 1rem !important;
}

.menu-resto-container .option-card img {
    width: 40px !important;
    height: 100px !important;
    margin-bottom: 1rem !important;
}

.menu-resto-container .total-box {
    background: #9999991f  !important;
    padding: 1.5rem !important;
}

.menu-resto-container .btn-yellow {
    background-color: #f9be00 !important;
    border: none !important;
    color: white !important;
    letter-spacing: normal !important;
}

.menu-resto-container .btn-grey {
    background-color: #f5f5f5 !important;
    color: #333 !important;
    border: 1px solid #ccc !important;
}

.menu-resto-container .form-check-input {
    margin-top: 0.6rem !important;
}

.menu-resto-container .product-card {
        position: relative;

    border: none !important;
    border-radius: 8px !important;
    margin-bottom: 20px;
}

.menu-resto-container .product-image {
    max-height: auto !important;
    object-fit: cover !important;
    margin-bottom: 16px !important;
    height: 220px !important;
}

.menu-resto-container .quantity-controls {
    display: flex !important;
    align-items: center !important;
    border: 1px solid rgba(191, 191, 191, 0.7);

}

.menu-resto-container .quantity-input {
    width: 100% !important;
    text-align: center !important;
    padding: 8px !important;
    border: none !important;
}

.menu-resto-container .quantity-btn {
    background-color: #ffcc00 !important;
    border: none !important;
    color: #333 !important;
    padding: 8px 16px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}
#secondForm h5{
   font-family: 'Poppins';
font-weight: bold;
font-size: 22px;
line-height: 30px;
text-align: left;
color: #999;

}
#secondForm input {
    background: #fff;
border: 1px solid rgba(191, 191, 191, 0.7);

}
.menu-resto-container .quantity-btn:hover {
    background-color: #e6b300 !important;
}

.menu-resto-container .top-css p {
    font-weight: 500 !important;
    font-size: 20px !important;
    line-height: 20px !important;
    text-align: center !important;
    color: #000 !important;
}

.menu-resto-container .tab-icon {
    transition: opacity 0.3s ease !important;
    width: 100px !important;
    padding-bottom: 20px;
}

.menu-resto-container body {
    background-color: #fff !important;
}

.menu-resto-container .total-box p {
    font-weight: normal !important;
    font-size: 16px !important;
    line-height: 30px !important;
    text-align: left !important;
    color: #000 !important;
    margin-bottom: 10px !important;
}

.menu-resto-container .style-btn button {
    width: 100% !important;
    margin: 0 5px !important;
}

.menu-resto-container .tab-icon {
    transition: opacity 0.3s ease !important;
}

/* Responsive Mobile Styles */
@media (max-width: 768px) {
    .menu-resto-container h1 {
        font-size: 30px !important;
    }

    .menu-resto-container .sous-titre-h {
        font-size: 14px !important;
    }

    .menu-resto-container #firstForm .date-picker p {
        font-size: 14px !important;
    }

    .menu-resto-container #firstForm .date-picker label {
        font-size: 20px !important;
    }

    .menu-resto-container .price-tag {
        font-size: 12px !important;
    }

    .menu-resto-container .menu-card {
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    .menu-resto-container .menu-card img {
        height: 200px !important;
    }

    .menu-resto-container .menu-card h5 {
        font-size: 16px !important;
    }

    .menu-resto-container .modal-dialog {
        max-width: 100% !important;
            background: transparent;
    margin-top: 10%;
    /* margin-bottom: 50px; */
    backdrop-filter: blur(19px);
    --webkit-backdrop-filter: blur(19px);
    background-color: rgba(0, 0, 0, 0.1);
    }

    .menu-resto-container .modal-image {
        width: 50px !important;
        height: 200px !important;
    }

    .menu-resto-container #detailsPopup .modal-title {
        font-size: 24px !important;
    }

    .menu-resto-container #popupDescription {
        font-size: 14px !important;
    }

    .menu-resto-container #quantitySection h5 {
        font-size: 16px !important;
    }

    .menu-resto-container #quantitySection p {
        font-size: 14px !important;
    }

    .menu-resto-container .quantity-display {
        font-size: 16px !important;
    }

    .menu-resto-container .second-form h5 {
        font-size: 16px !important;
    }

    .menu-resto-container .crad-img-text h6 {
        font-size: 14px !important;
    }

    .menu-resto-container .second-form label {
        font-size: 14px !important;
    }

    .menu-resto-container .second-form input {
        height: 40px !important;
    }

    .menu-resto-container .price {
        font-size: 16px !important;
    }

    .menu-resto-container .second-form .quantity-controls button {
        width: 40px !important;
        height: 40px !important;
    }

    .menu-resto-container .second-form .quantity-controls .buttonmoin {
        width: 40px !important;
        height: 40px !important;
    }

    .menu-resto-container .second-form h6 {
        font-size: 12px !important;
    }

    .menu-resto-container .total-box p {
        font-size: 18px !important;
    }

    .menu-resto-container .form-section {
        padding: 1rem !important;
    }

    .menu-resto-container .option-card {
        padding: 0.5rem !important;
    }

    .menu-resto-container .option-card img {
        width: 20px !important;
        height: 50px !important;
    }

    .menu-resto-container .quantity-input {
        padding: 4px !important;
    }

    .menu-resto-container .quantity-btn {
        padding: 4px 8px !important;
    }

    .menu-resto-container .top-css p {
        font-size: 14px !important;
    }

    .menu-resto-container #firstFormTabs img {
        width: 70px !important;
    }

    .menu-resto-container #secondFormTabs img {
        width: 70px !important;
    }
}

.hr-css {
background: transparent;
border: 2px solid #fac616;
margin-bottom: 20px !important ;
}
.product-card .crad-img-text {
        background: #fff;
    padding: 10px 10px 0px 10px;
}
#nonAlcoholicDrinksContainer {
    justify-content: center;
}
#nonAlcoholicDrinksContainer  h6 {
    height: 70px !important;
}

#alcoholicDrinksContainer {
    justify-content: center;
}

/* Add this to your CSS */
.btn .spinner-border {
    margin-right: 8px;
    vertical-align: text-top;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
#popupTitle {
    color: #000 !important;
    text-align: left !important;
    font-size: 22px !important;
}
.btn-close-white{
    filter: none !important;
}

#adresse-livraison {
    transition: all 0.3s ease;
}
/* Checkbox styling */
.form-check-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px !important;
    height: 18px !important;
    border: 2px solid #fac616 !important;
    border-radius: 3px !important;
    outline: none;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    margin-right: 8px !important;
    margin-top: 0 !important;
}

.form-check-input:checked {
    background-color: #fac616 !important;
    border-color: #fac616 !important;
}

.form-check-input:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(250, 198, 22, 0.25) !important;
}

.form-check-label {
    cursor: pointer;
    user-select: none;
    font-family: 'Poppins', sans-serif;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    color: #000;
    vertical-align: middle;
}

/* Hover effect */
.form-check-input:hover {
    border-color: #e6b300 !important;
}

.form-check-input:checked:hover {
    background-color: #e6b300 !important;
    border-color: #e6b300 !important;
}

/* Add to your admin CSS */
tr.new-order {
    background-color: #fff8e1;
}
tr.new-order:hover {
    background-color: #ffecb3;
}

.bg-css {
 text-transform: capitalize;
    color: #000;
    font-size: 16px;
    FONT-WEIGHT: 500;   
}
.modal-css p {
    font-size: 18px !important;
}

/* Image popup container */
.product-image-container {
  position: relative;
  display: inline-block;
      display: flex
;
    justify-content: center;
}

/* Original product image */
.product-image {
  transition: transform 0.2s ease;
  cursor: pointer;
  max-width: 100%;
  height: auto;
}

.product-image:hover {
  transform: scale(1.03);
}

/* Popup image styles */
.image-popup {
  position: absolute;
  top: 0;
  left: calc(100% + 10px); /* Position to the right of the image */
  width: 300px; /* Fixed width for popup */
  z-index: 1000;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 8px;
  display: none;
  animation: fadeIn 0.2s ease;
}

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

.image-popup.active {
  display: block;
}

.image-popup img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

/* Adjust popup position for last items in row */
@media (max-width: 768px) {
  .image-popup {
    left: auto;
    right: calc(100% + 15px);
  }
}

@media (max-width: 768px) {
  #nonAlcoholicDrinksContainer,
  #alcoholicDrinksContainer,
  #optionsContainer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap:0px !important;
  }
  
  /* Adjust product card width */
  .product-card {
    width: 100%;
    margin: 0;
  }
  
  /* Adjust image popup position for mobile */
  .image-popup {
    left: auto;
    right: calc(100% + 10px);
    width: 250px;
    max-width: 90vw;
  }
  
  /* Ensure images don't overflow */
  .product-image {
    max-width: 100%;
    height: auto;
  }
}

/* Desktop View */
/* @media (min-width: 460px) {
  #nonAlcoholicDrinksContainer,
  #alcoholicDrinksContainer {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
  }
  
  #optionsContainer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }
} */

@media (max-width: 768px) {
  .image-popup {
    display: none !important;
  }

  .product-image-container:hover .image-popup {
    display: none !important;
  }
}
/* Hide mobile buttons on desktop */
.mobile-buttons {
  display: none !important;
}

/* Show mobile buttons on mobile */
@media (max-width: 768px) {
  .mobile-buttons {
    display: flex !important;
  }

  /* Hide original buttons on mobile */
  #backToFirstForm,
  #submitCommande {
    display: none;
  }
}