
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/******** HOME SECTION CSS STYLE ************/



.tabs {
    display: flex; /* Align tabs in a row */
    margin-bottom: 20px; /* Space below the tabs */
}

.tab-link {
    font-family: "Poppins", sans-serif;
    font-size: 1.4em !important;
    font-weight: bold !important;
    cursor: pointer; /* Change le curseur pour indiquer que c'est cliquable */
    color: rgb(194, 194, 194); /* Couleur par défaut pour les onglets inactifs */
    text-decoration: none; /* Supprime le soulignement par défaut */
    position: relative; /* Position relative pour le soulignement */
    padding: 10px; /* Ajoute un peu d'espace autour du texte */
    transition: color 0.3s; /* Transition douce pour la couleur */
}

.tab-link.active {
    color: black; /* Couleur pour l'onglet actif */
}

.tab-link::after {
    content: ''; /* Crée un pseudo-élément */
    position: absolute; /* Positionne le soulignement */
    left: 10px; /* Aligne à gauche */
    right: 0; /* Aligne à droite */
    bottom: -3px; /* Positionne le soulignement sous le texte */
    width: 100px;
    height: 3px; /* Épaisseur du soulignement */
    background-color: orange; /* Couleur du soulignement */
    transform: scaleX(0); /* Commence avec un scale de 0 */
    transition: transform 0.3s; /* Transition douce pour le soulignement */
}

.tab-link.active::after {
    transform: scaleX(1); /* Élargit le soulignement pour l'onglet actif */
}


.badge {
    display: inline-flex; /* Use flexbox for centering text */
    justify-content: center; /* Center the text horizontally */
    align-items: center; /* Center the text vertically */
    width: 24px; /* Set a fixed width */
    height: 24px; /* Set a fixed height to match the width */
    border-radius: 50%; /* Make it circular */
    background-color: #ff4757; /* Badge color */
    color: white; /* Text color */
    font-weight: bold; /* Bold text */
    font-size: 12px; /* Font size */
    position: absolute; /* Positioning context for absolute positioning */
    top: -5px; /* Position it slightly above the navicon */
    right: -10px; /* Position it to the right of the navicon */
    transition: transform 0.2s ease, background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

.badge:hover {
    background-color: #ff6b81; /* Lighter shade on hover */
    transform: scale(1.1); /* Slightly enlarge the badge */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Increase shadow on hover for depth */
}

.navicon {
    position: relative; /* Make sure the badge is positioned relative to the button */
}

/* Optional: Add a notification dot style for badges with no text */
.badge.empty {
    width: 10px; /* Fixed width for a dot */
    height: 10px; /* Fixed height for a dot */
    border-radius: 50%; /* Make it circular */
    background-color: #ff4757; /* Same color as the badge */
    position: absolute; /* Position it relative to the navicon */
    top: -5px; /* Align to the top */
    right: -10px; /* Align to the right */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1); /* Scale up in the middle of the animation */
    }
}

.badge.pulse {
    animation: pulse 1s infinite; /* Apply the pulse animation */
}


/******** HOME SECTION CSS STYLE ************/






/************* CONTENT SCROLL ANIMATION IN HOME SECTION ************/


/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px); /* Start slightly lower */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* End at original position */
    }
}

.fade-in {
    opacity: 0; /* Start hidden */
    animation: fadeIn 0.6s forwards; /* Apply the animation */
}



/************* CONTENT SCROLL ANIMATION IN HOME SECTION ************/





#chart-section, #orders-section, #favs-section {
    /*padding: 40px; /* Increased padding for the section */
    font-family: inherit;
    padding-left: 10%;
    padding-right: 10%;
    margin-top: 5% !important;
    animation: slideIn 0.5s ease-out;
    /*background-color: #f71313; /* Light background for contrast */
}




@media screen and (max-width: 768px) {

    .section-tabs-and-title {
        display: flex;
        flex-wrap: wrap;
        font-size: 11pt;
     /* background-color: #007BFF;*/
    }
}

#favs-section h2, #orders-section h2,
#chart-section h2, .section-tabs-and-title {
 /* Make the title bold */
    margin: 0; /* Remove default margin */
    margin-bottom: 3em;
    padding-top: 2rem;
    position: relative; /* Position for underliner */
  /*  background-color: #28a745;*/
}

#favs-section h2::after, #orders-section h2::after,
#chart-section h2:after, .section-tabs-and-title::after {
    content: ''; /* Create a pseudo-element for the underliner */
    display: block; /* Make it a block element */
    width: 100%; /* Width of the underliner */
    height: 1px; /* Height of the underliner */
    background: #e0e0e0; /* Color of the underliner */
    position: absolute; /* Position it absolutely */
    left: 0; /* Align to the left */
    bottom: -30px; /* Position it below the text */
   }

/*
   #favs-section .wishlist-container::before {
    border-bottom: 1px solid #e0e0e0;
}
*/

#favs-section h2::before, #orders-section h2::before,
#chart-section h2:before {
    content: ''; /* Create a pseudo-element for the underliner */
    display: block; /* Make it a block element */
    width: 50px; /* Width of the underliner */
    height: 3px; /* Height of the underliner */
    background: #ff7700; /* Color of the underliner */
    position: absolute; /* Position it absolutely */
    left: 0; /* Align to the left */
    bottom: -5px; /* Position it below the text */
}




/************ CONTENT FOR CHART SECTIONS ************/

h1 {
    text-align: center;
}

.cart-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 10px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex-wrap: nowrap;
}

.indicator {
    position: relative;
    top: 10px;
    right: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: red; /* Default color */
}

.indicator.active {
    background-color: green; /* Color when active */
}

.circular-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.item-title {
    margin: 0;
}

.item-description {
    font-size: 0.9em;
    color: #666;
}

.quantity-controls {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.quantity-controls button {
    border: none;
    background-color: white;
    color: #007BFF;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px; /* Add horizontal margin for spacing */
}
.quantity-controls button:hover {
    background-color: #f0f0f0;
}


/******************** FORT DELIVERY *************************/


.delivery-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 15px 0;
    padding-top: 25px;
    margin-bottom: 20px;
}

.delivery-switch {
    display: flex;
    align-items: center;
    gap: 15px;
}

.label-text {
    font-weight: 500;
    color: #333;
}

.switch-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-checkbox {
    opacity: 0;
    position: absolute;
    cursor: pointer;
    z-index: 1;
}

.deliv-slider {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.deliv-slider::before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle-checkbox:checked + .deliv-slider {
    background-color: #2196F3;
}

.toggle-checkbox:checked + .deliv-slider::before {
    transform: translateX(30px);
}

.mode-label {
    font-weight: 500;
    color: #666;
    margin-left: 10px;
}



.recipient-selection {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 500px;
}

.recipient-dropdown {
    min-width: 200px;
}

.phone-selection {
    display: flex;
    gap: 10px;
    align-items: center;
}

.phone-select, 
.recipient-select, 
.new-phone-input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9em;
}

.new-phone-input {
    flex-grow: 1;
    max-width: 200px;
}


/* Responsive */
@media (max-width: 895px) {
    
    .delivery-switch {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 10px;
    }
    
    .recipient-selection {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Responsive */
@media (max-width: 540px) {

    .delivery-toggle {
        flex-direction: column;
        align-items: flex-start;
    }
}


/******************** FOR DELIVERY *************************/


.delete-button {
    border: none;
    background-color: red;
    color: white;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-button:hover {
    background-color: darkred;
}



.phone-selection {
    width: 100%;
}

.phone-selection-row {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-start;
}

.phone-selection-column {
    flex: 1;
    min-width: 200px;
}

.new-phone-input-container {
    position: relative;
}

.error-message {
    color: red;
    font-size: 0.8em;
    position: absolute;
    bottom: -20px;
    left: 0;
}

/* Animations de transition */
.phone-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.phone-input {
    flex-grow: 1;
    padding: 10px 40px 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.phone-input:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.2);
}

.phone-input.input-valid {
    border-color: #4CAF50;
    background-color: #f0fff0;
}

.phone-input.input-error {
    border-color: #f44336;
    background-color: #fff0f0;
}

.input-icon-wrapper {
    position: absolute;
    right: 10px;
    display: flex;
    align-items: center;
}

.input-icon-wrapper i {
    font-style: normal;
    font-weight: bold;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.valid-icon {
    color: white;
    background-color: #4CAF50;
}

.error-icon {
    color: white;
    background-color: #f44336;
}

.error-message {
    color: #f44336;
    font-size: 0.8em;
    margin-top: 5px;
    display: block;
}

/* Transitions */
.slide-fade-enter-active,
.slide-fade-leave-active {
    transition: all 0.3s ease;
}

.slide-fade-enter,
.slide-fade-leave-to {
    opacity: 0;
    transform: translateY(-10px);
}

.error-fade-enter-active,
.error-fade-leave-active {
    transition: opacity 0.3s ease;
}

.error-fade-enter,
.error-fade-leave-to {
    opacity: 0;
}




.total-price {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.total-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(0, 123, 255, 0.1), transparent);
    transition: all 0.6s ease;
}

.total-price:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.total-price:hover::before {
    left: 100%;
}

.total-price-desktop {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 20px; /* Espace entre les éléments */
}

.price-detail {
    display: flex;
    align-items: center;
    gap: 10px; /* Espace entre le label et la valeur */
}

/* Réduction de la taille des deux premiers price-detail */
.price-detail:not(.total) {
    font-size: 0.9em; /* Taille de police plus petite */
    color: #777; /* Couleur plus claire */
}

.price-detail .label {
    color: #666;
    margin-right: 5px;
}

.price-detail .value {
    color: #333;
}

/* Le total reste plus grand et plus en évidence */
.price-detail.total {
   /* font-size: 1.1em;*/
    font-weight: bold;
}

.price-detail.total .label {
    color: #000000;
}

.price-detail.total .value.total-amount {
    color: #000000;
    font-size: 1.2em; /* Légèrement plus grand */
}




.total-price-mobile {
    display: none;
}

/* Styles pour les écrans mobiles */
@media screen and (max-width: 768px) {
    .total-price-desktop {
        display: none;
    }
    
    .total-price-mobile {
        display: block;
        width: 100%;
    }
    
    .mobile-price-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
        padding: 5px 0;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .mobile-price-row.total {
        border-bottom: none;
        font-weight: bold;
    }
    
    .total-price {
        text-align: left;
        margin-top: 15px;
        padding: 0 15px;
    }
}

/* Styles pour les très petits écrans */
@media screen and (max-width: 480px) {
    .mobile-price-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .mobile-price-row span:last-child {
        margin-top: 5px;
        align-self: flex-end;
    }
}



.empty-cart-message {
    text-align: center;
    font-size: 1.2em;
    color: #666 ;
    margin-top: 20px;
}

/* Responsive Styles */
@media screen and (max-width: 368px) {
    .cart-item {
        flex-direction: column; /* Stack items vertically on mobile */
        align-items: flex-start; /* Align items to the start */
    }

    .quantity-controls {
        margin-top: 10px; /* Add margin for spacing */
    }
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}



:root {
    --color-primary: #007bff;
    --color-secondary: #6c757d;
    --color-success: #28a745;
    --color-danger: #dc3545;
    --color-white: #ffffff;
    --color-background: #f8f9fa;
    --border-radius: 12px;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-wrapper {
    width: 90%;
    max-width: 500px;
}

.modal-wrapper.compact {
    max-width: 450px;
}


.modal-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: var(--color-background);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.modal-icon {
    width: 30px;
    height: 30px;
    color: var(--color-primary);
    margin-right: 10px;
}

.modal-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
}

.modal-content {
    padding: 15px;
    overflow-y: auto;
    max-height: 70vh;
}

.modal-details {
    background-color: var(--color-background);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.detail-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.detail-label {
    font-size: 12px;
    color: var(--color-secondary);
    margin-bottom: 3px;
}

.detail-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
}

.detail-row.total {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 10px;
}

.total-label {
    font-weight: 700;
}

.total-value {
    font-size: 16px;
    color: var(--color-success);
}


.modal-container {
    position: relative; /* Ajout pour positionner le bouton de fermeture */
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    max-height: 90vh;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.close-icon {
    display: block;
    width: 30px;
    height: 30px;
    font-size: 24px;
    color: var(--color-secondary);
    line-height: 30px;
    text-align: center;
    transition: color 0.3s ease;
}

.close-icon:hover {
    color: var(--color-danger);
}

.modal-actions {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 15px;
}

.btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-cancel {
    background-color: var(--color-background);
    color: var(--color-secondary);
}

.btn-confirm {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-container {
    animation: fadeIn 0.3s ease-out;
}


.modal-details {
    background-color: var(--color-background);
    border-radius: 8px;
    padding: 15px;
    width: 100%;
    margin-bottom: 20px;
}

.detail-section {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.detail-section:last-child {
    border-bottom: none;
}

.detail-section-title {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.detail-label {
    color: var(--color-secondary);
    font-size: 14px;
    opacity: 0.8;
}

.detail-value {
    font-weight: 500;
    color: var(--color-primary);
    text-align: right;
}

.detail-section.total {
    border-top: 2px solid var(--color-primary);
    margin-top: 15px;
    padding-top: 15px;
}

.total-label {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 16px;
}

.total-value {
    font-weight: 700;
    color: var(--color-success);
    font-size: 18px;
}





.clear-button {
    background-color: #dc3545; /* Red color */
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.order-button {
    background-color: #28a745; /* Green color */
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.order-button:hover {
    background-color: #218838; /* Darker green on hover */
}

.clear-button:hover {
    background-color: #c82333; /* Darker red on hover */
}


/************** CONTENT FOR CART SECTION ************/





/************** CONTENT FOR FAVOURITE SECTION ************/



/************ RESPONSIVE GRID LAYOUT ********************/

.wishlist-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Reduced minimum item size */
    gap: 30px; /* Increased space between grid items */
}

.wishlist-item {
    max-width: 250px;
    max-height: 320px;
    background: white; /* White background for each item */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    overflow: hidden; /* Prevent overflow */
    transition: transform 0.3s; /* Smooth scaling on hover */
    padding: 15px; /* Added padding inside each item */
    text-align: center; /* Center text and images */
}

@media screen and (min-width:514.1px) and (max-width: 570px) {
    
    .wishlist-item {
    max-height: 400px;
    }
    .wishlist-container {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        column-gap: 10px;
        background-color: #ccc;
    }
    #favs-section .price {
        font-weight: bold;
        font-size: 1.1rem !important;
    }
}

@media screen and (max-width: 514px) {
    .wishlist-item {
    max-width: 100%;
    justify-self: center;
    }
}

@media screen and (max-width: 514px) {
    #favs-section .circular-image {
    max-width: 60%;
    }
}

.wishlist-item:hover {
    transform: scale(1.02); /* Slightly scale up on hover */
}

#favs-section .circular-image {
    width: 80%; /* Reduced image size */
    height: auto; /* Maintain aspect ratio */
    border-radius: 50%; /* Circular image */
    margin: 0 auto; /* Center the image */
}

#favs-section .item-details {
    padding: 10px; /* Reduced padding inside item details */
}

#favs-section .item-title {
    font-size: 1.2em; /* Increased title size */
    margin: 0; /* Remove default margin */
}


#favs-section .item-description {
    font-size: 0.85em; /* Smaller description */
    color: #666; /* Gray color for description */
}

#favs-section .card-favorite {
    background: none; /* No background */
    border: none; /* No border */
    cursor: pointer; /* Pointer cursor */
    font-size: 1.5em; /* Slightly smaller icon */
    color: #333; /* Default icon color */
}

#favs-section .card-favorite.in-wishlist {
    color: red; /* Change color if in wishlist */
}

.wishlist-container .price {
    font-weight: bold; /* Make price bold */
    font-size: 1.2em; /* Adjust font size for price */
}

#favs-section p {
    font-size: 1.5em !important;
    color: #333;
    font-weight: bold !important;
    position: relative; /* Position for underliner */
   }





/************** CONTENT FOR FAVOURITE SECTION ************/








/************** CONTENT FOR ORDERS SECTION ************/

/* Styles généraux pour le conteneur de filtres */
.filter-container {
    display: flex;
    align-items: center;
    gap: 10px; /* Espace entre filter-dropdown et date-filter */
    padding: 15px;
    margin-top: 50px;
    margin-bottom: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    font-family: 'Poppins', sans-serif;
}

/* Styles pour les labels */
.filter-container label {
    font-weight: 600;
    color: #333;
}

/* Styles pour les boutons */
.filter-container button.filter {
    padding: 10px 15px; /* Padding pour le bouton */
    border: none; /* Pas de bordure */
    border-radius: 4px; /* Coins arrondis */
    color: white; /* Couleur du texte */
    background-color: #28a745; /* Couleur verte */
    cursor: pointer; /* Curseur en main au survol */
    transition: background-color 0.3s; /* Transition pour le changement de couleur */
    height: 100%; /* Assure que le bouton prend toute la hauteur de son conteneur */
}

.filter-container button.filter:hover {
    background-color: #218838; /* Couleur verte plus foncée au survol */
}

/* Styles pour le dropdown */
.filter-dropdown {
    flex: 1;
}

.filter-dropdown label {
    margin-right: 10px;
}

.filter-dropdown select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-size: 16px;
    transition: border-color 0.3s;
}

.filter-dropdown select:focus {
    border-color: #007bff;
    outline: none;
}

/* Styles pour le filtre de date */
.date-filter {
    display: flex;
    align-items: flex-start; /* Aligner les éléments en haut */
    gap: 15px; /* Espace entre les éléments de date */
    flex-wrap: wrap; /* Permet aux éléments de passer à la ligne si nécessaire */
}

/* Styles pour le filtre de date */
.date-filter {
    display: flex;
    flex-wrap: wrap; /* Permet aux éléments de passer à la ligne si nécessaire */
    gap: 10px; /* Espace entre les éléments */
}

.date-input {
    display: flex; /* Utiliser flexbox pour aligner les éléments sur la même ligne */
    flex-direction: row; /* Aligner le label et l'input horizontalement par défaut */
    align-items: center; /* Centrer verticalement les éléments */
    flex: 1; /* Permet à l'élément de prendre de l'espace disponible */
    min-width: 150px; /* Largeur minimale pour éviter le débordement */
}

/* Ajout d'une marge à droite pour le premier date-input */
.date-input:first-child {
    margin-right: 35px; /* Ajustez la valeur selon l'espace souhaité */
}
.date-input label {
    margin-right: 5px; /* Espacement entre le label et l'input */
    white-space: nowrap; /* Empêche le retour à la ligne du texte du label */
}
.date-input label {
    display: block; /* Affiche le label comme un bloc pour le placer au-dessus de l'input */
    margin-bottom: 5px; /* Espacement entre le label et l'input */
}

.date-input {
    flex: 1; /* Permet aux inputs de prendre de l'espace disponible */
    min-width: 150px; /* Largeur minimale pour éviter le débordement */
}


.date-input input[type="date"] {
    padding: 10px; /* Ajoute un peu de padding à l'input pour un meilleur aspect */
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.date-filter input[type="date"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%; /* Prendre toute la largeur disponible */
    box-sizing: border-box;
}

/* Media Query pour les petits écrans */
@media (max-width: 1034px) {
    .date-input {
        flex-direction: column; /* Aligner le label et l'input verticalement sur petits écrans */
        align-items: flex-end;; /* Aligner les éléments au début */
    }

    .date-input label {
        align-self: flex-start;
        margin-bottom: 5px; /* Espacement entre le label et l'input */
        margin-right: 0; /* Supprimer l'espacement à droite sur petits écrans */
    }
    /* Style pour le bouton */
    .filter {
        /*align-self: flex-end; /* Aligner le bouton en bas */
        margin-top: auto; /* Permet au bouton de se déplacer vers le bas */
    }
}



/* Styles Responsives */
@media (max-width: 768px) {
    .filter-container {
        flex-direction: column; /* Aligner les éléments verticalement sur mobile */
        align-items: flex-start; /* Aligner les éléments au début */
    }

    .filter-dropdown,
    .date-filter {
        width: 100%; /* Prendre toute la largeur disponible */
        margin-bottom: 10px; /* Espacement entre les éléments */
    }

    .filter-dropdown select,
    .date-filter input[type="date"],
    .filter-container button {
        width: 100%; /* Les boutons et les champs prennent toute la largeur */
    }

    /* Pour étendre la fonctionnalité de filtrage de date (Contracter)*/

    .date-filter {
        display: none; /* Masquer par défaut */
    }

    .date-filter.expanded {
        display: block; /* Afficher lorsque la classe 'expanded' est ajoutée */
      /*  flex-direction: column; * Aligner les éléments verticalement sur mobile *
        align-items: flex-start; * Aligner les éléments au début */
    }

    .date-input {
        width: 100%; /* Prendre toute la largeur disponible */
    }

    /* Pour étendre la fonctionnalité de filtrage de date (Contracter)*/
}

/******* CONCERNE UNIQUEMENT LA COMMANDE D'EXTENSION DE DATES****/

.toggle-button {
    color: #007BFF; /* Couleur du texte */
    cursor: pointer; /* Curseur en main au survol */
    text-decoration: underline; /* Souligner le texte */
    font-size: 16px; /* Taille de la police */
    display: flex; /* Utiliser flex pour aligner le texte et la flèche */
    align-items: center; /* Centrer verticalement */
    /*margin-top: 8px; /* Espacement au-dessus */
}

/* Flèche */
.arrow {
    margin-left: 5px; /* Espacement entre le texte et la flèche */
    font-size: 18px; /* Taille de la flèche */
}

.toggle-button:hover {
    color: #00bb28; /* Couleur du texte */
    transform: scale(1.05); /* Légère augmentation de la taille au survol */
}

/* Masquer le bouton sur des écrans de plus de 768px */
@media (min-width: 769px) {
    .toggle-button {
        display: none; /* Masquer le bouton */
    }
}

/******* CONCERNE UNIQUEMENT LA COMMANDE D'EXTENSION DE DATES****/



@media (max-width: 480px) {
    .filter-container {
        padding: 10px; /* Réduire le padding sur les petits écrans */
    }

    .filter-container button {
        padding: 8px; /* Réduire le padding des boutons */
    }

    .filter-dropdown select,
    .date-filter input[type="date"] {
        padding: 8px; /* Réduire le padding des champs */
    }
}

.no-orders-message {
    height: 250px; /* Hauteur de 300px */
    display: flex; /* Utiliser flexbox */
    justify-content: center; /* Centrer horizontalement */
    align-items: center; /* Centrer verticalement */
    font-size: 18pt; /* Taille de texte de 18pt */
    text-align: center; /* Centrer le texte */
}



.status-pending {
    color: orange; /* Color for "En attente" */
}

.status-completed {
    color: green; /* Color for "Complété" */
}

.status-canceled {
    color: red; /* Color for "Annulé" */
}



.order-item {
    padding: 15px; /* Add padding for the item */
    transition: background-color 0.3s; /* Smooth transition for hover effect */
}

.order-item:not(:last-child) {
    border-bottom: 1px solid #e0e0e0; /* Light gray line between items */
}

.order-item:hover {
    background-color: #f9f9f9; /* Light gray background on hover */
}

.order-header {
    background-color: #f9f9f9; /* Light gray background on hover */
    cursor: pointer; /* Pointer cursor on header */
    display: flex; /* Flexbox for alignment */
    justify-content: space-between; /* Space between elements */
    align-items: center; /* Center align items */
}

.order-header h3 {
    margin: 0; /* Remove margin for the heading */
    font-size: 1.2em; /* Font size for heading */
}

.order-header p {
    margin: 5px 0; /* Add some spacing for the paragraph */
}


@media print {
    body {
        font-family: Arial, sans-serif;
        margin: 20px;
        padding: 0;
        color: #333;
    }

    h1 {
        text-align: center;
        color: #0056b3;
    }

    h2 {
        color: #007bff;
        border-bottom: 2px solid #007bff;
        padding-bottom: 5px;
    }

    .header {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin-bottom: 20px;
    }

    .header img {
        max-width: 100px; /* Adjust logo size */
        margin-right: 20px; /* Space between logo and services */
    }

    .service-list {
        font-size: 0.9em;
        color: #555;
    }

    .order-details, .order-list {
        margin: 20px 0;
        padding: 15px;
        background-color: #f9f9f9;
    }

    .order-details ul, .order-list ul {
        padding: 0;
    }

    .order-details li, .order-item {
        padding: 5px 0;
        border-bottom: 1px solid #ccc; /* Thin line separator */
    }

    .print-footer {
        text-align: center;
        margin-top: 30px;
        font-size: 0.9em;
        color: #777;
        border-top: 1px solid #ccc;
        padding-top: 10px;
        position: fixed; /* Fixed position to keep it at the bottom */
        bottom: 0; /* Align at the bottom of the page */
        width: 100%; /* Full width */
    }

    .footer {
        text-align: center;
        font-size: 0.8em;
        color: #555;
        margin-top: 10px; /* Space above footer */
        line-height: 1.2; /* Line height for better readability */
    }

    /* Adjust the footer to fit in three lines */
    .footer p {
        margin: 0; /* Remove default margin */
    }

    .status-pending {
        color: orange; /* Color for pending status */
    }

    .status-completed {
        color: green; /* Color for completed status */
    }

    .status-canceled {
        color: red; /* Color for canceled status */
    }
}



/* Date Selector Styles */
.date-selector {
    margin: 20px 0; /* Space above and below the date selector */
    display: flex; /* Align items in a row */
    align-items: center; /* Center align items vertically */
}

.date-selector label {
    margin-right: 10px; /* Space between label and input */
}

.date-selector input[type="date"] {
    margin-right: 10px; /* Space between input and button */
    padding: 5px; /* Padding for the input box */
}

/* Filter Button */
.date-selector button {
    padding: 5px 10px; /* Padding for buttons */
    background-color: #007BFF; /* Blue background */
    color: white; /* White text */
    border: none; /* Remove default border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
}

.date-selector button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Responsive Styles */
@media (max-width: 768px) {

    .date-selector {
        flex-direction: column; /* Stack elements vertically on mobile */
        align-items: flex-start; /* Align items to the start */
    }

    .date-selector input[type="date"],
    .date-selector button {
        margin: 5px 0; /* Margin for spacing */
        width: 100%; /* Full width for mobile */
    }
}



/*
.order-list {
    margin-bottom: 2em;
}
*/




/************** CONTENT FOR ORDERS SECTION ************/


@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

.orders-container {
    max-width: 100%;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
}

.order-list {
    list-style: none;
    padding: 0;
}

.order-card {
    background-color: #ececec;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items:last baseline;
    padding: 15px;
    cursor: pointer;
}

/* Amélioration de l'alignement des informations de commande */
.order-info {
    display: flex;
    flex-direction: column;
    gap: 5px; /* Espace entre les lignes d'informations */
    margin-right: 10px;
}

.order-title {
    display: flex;
    align-items: center; /* Alignement vertical */
    gap: 15px; /* Espace entre les éléments */
}

.order-number {
    font-weight: 600;
    display: inline-flex;
    flex-wrap: wrap;
    color: #333;
    font-size: 1em;
    margin-right: 10px; /* Espace avec le statut */
}
.order-number .command-ref{
    font-weight: 650;
    color: #00bb28;
    font-size: 1em;
    margin-left: 5px;
}

.order-actions {
    display: flex;
    align-items: center; /* Alignement vertical */
    gap: 10px; /* Espace entre les boutons */
}

.order-actions button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%; /* Boutons circulaires */
    transition: all 0.2s ease;
}



/* Amélioration pour la version mobile standard *
@media (max-width: 600px) {
    .order-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .order-actions button {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        border-radius: 5px;
        background-color: rgba(0,0,0,0.05);
    }

    .order-actions button i {
        font-size: 16px;
    }
}

*/




@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes colorPulse {
    0% { background-color: transparent; }
    50% { background-color: rgba(0,123,255,0.1); }
    100% { background-color: transparent; }
}

.status-select-wrapper {
    position: relative;
    width: 150px;
    perspective: 1000px; /* Ajoute de la profondeur pour les animations 3D */
}

.custom-select {
    position: relative;
    display: inline-block;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.status-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 8px 30px 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    transform-origin: center;
}

/* Animation de survol */
.status-select:hover {
    border-color: #007bff;
    box-shadow: 0 4px 8px rgba(0,123,255,0.2);
    animation: pulse 0.5s ease-in-out;
}

/* Animation de focus */
.status-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.2);
    animation: colorPulse 1s infinite;
}

/* Flèche animée */
.select-arrow {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #666;
    pointer-events: none;
    transition: all 0.3s ease;
}

.status-select:focus + .select-arrow {
    transform: translateY(-50%) rotate(180deg) scale(1.2);
    border-top-color: #007bff;
}

/* Options avec effets */
.status-select option {
    transition: all 0.3s ease;
}

.status-select option[value="En attente"] {
    background-color: #fff3cd;
    color: #856404;
}

.status-select option[value="En attente"]:hover {
    background-color: #ffe69c;
    transform: translateX(5px);
}

.status-select option[value="Complété"] {
    background-color: #d4edda;
    color: #155724;
}

.status-select option[value="Complété"]:hover {
    background-color: #c3e6cb;
    transform: translateX(5px);
}

.status-select option[value="Annulé"] {
    background-color: #f8d7da;
    color: #721c24;
}

.status-select option[value="Annulé"]:hover {
    background-color: #f5c6cb;
    transform: translateX(5px);
}

/* Effets 3D */
.custom-select::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg, 
        transparent 0%, 
        rgba(255,255,255,0.1) 50%, 
        transparent 100%
    );
    transform: skew(-10deg);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.custom-select:hover::before {
    opacity: 1;
}

/* Animations de transition */
.status-select-enter-active,
.status-select-leave-active {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.status-select-enter,
.status-select-leave-to {
    opacity: 0;
    transform: translateY(-10px) scale(0.9);
}




.status-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 24px;
    border-radius: 4px;
    color: white;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    animation: slideIn 0.3s ease-out, fadeOut 0.3s ease-in 2.7s forwards;
}

.status-notification.success {
    background-color: #28a745;
}

.status-notification.error {
    background-color: #dc3545;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { 
        opacity: 0;
        transform: translateX(100%);
    }
}

.status-change-animation {
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}




.order-status {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 500;
    text-wrap: nowrap;
    letter-spacing: 0.5px;
    display: inline-flex; /* Pour un alignement précis */
    align-items: center;
    justify-content: center;
    height: 24px; /* Hauteur fixe */
}

/* Statut "En attente" */
.order-en-attente .order-status { 
    background-color: #ffc10740; /* Jaune moutarde très doux */
    color: #ff9800; /* Orange chaud */
    border: 1px solid #f0ad4e33; /* Subtle border */
}

/* Statut "Complété" */
.order-complété .order-status { 
    background-color: #4caf5025; /* Vert émeraude très doux */
    color: #009688; /* Vert tropical */
    border: 1px solid #5cb85c33; /* Subtle border */
}

/* Statut "Annulé" */
.order-annulé .order-status { 
    background-color: #f443361a; /* Rose saumon très doux */
    color: #e91e63; /* Rose vif */
    border: 1px solid #d9534f33; /* Subtle border */
}

/* Animations optionnelles pour les statuts */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.order-en-attente .order-status {
    animation: pulse 2s infinite;
}

.order-complété .order-status {
    animation: none;
}

.order-annulé .order-status {
    opacity: 0.7;
}

.order-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: #666;
    align-items: center; /* Alignement vertical des éléments */
}

.order-price, .order-date {
    display: flex;
    align-items: center;
    gap: 8px;
}


/* Responsive pour les petits écrans */


/* Version responsive pour order-actions */

@media (min-width: 690px) and (max-width: 760px) {
    .order-actions {
        display: grid;
        max-width: 150px;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: auto auto;
        gap: 10px;
    }

    .order-actions .status-select-wrapper {
        grid-column: 1 / 4;  /* Occupe toutes les 6 colonnes */
        grid-row: 1;
        max-width: 150px;
    }

    .order-actions button {
        grid-row: 2;
        width: 40px;
        height: 40px;
    }

    .order-info {
        position: relative;
        bottom: 10px;
    }

}

@media (max-width: 690px) {
    .order-header {
        flex-direction: column;
        align-items: stretch; /* Étirement complet */
    }

    .order-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .order-status {
        align-self: flex-start;
        margin-top: 5px;
    }

    .order-details {
        flex-direction: column;
        align-items:center;
        gap: 8px;
    }

    .order-price, 
    .order-date {
        width: 100%;
        justify-content: flex-start;
        margin-top: 5px;
    }

    .order-actions {
        width: 100%;
        margin-top: 10px;
    }

    .order-actions button {
        flex: 1;
        max-width: 34px;
        height: 34px;
    }

    .order-item {
        grid-template-columns: 1fr; /* Une seule colonne */
        gap: 10px !important;
    }

    .item-name {
        grid-row: 1;
    }

    .item-quantity, .item-price {
        grid-row: 2;
        justify-content: flex-start !important;
        color: #666;
    }

}

/* Style spécifique pour l'affichage vertical */
.vertical-layout .order-header {
    text-align: left;
}

.vertical-layout .order-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.vertical-layout .order-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.vertical-layout .order-actions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 15px;
    width: 100%;
}

/* Icônes et textes */
.vertical-layout .price-icon,
.vertical-layout .date-icon {
    margin-right: 8px;
    color: #6c757d;
}

.vertical-layout .order-price,
.vertical-layout .order-date {
    display: flex;
    align-items: center;
    font-size: 0.9em;
    color: #666;
}

/* Animations et effets */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vertical-layout .order-card {
    animation: slideIn 0.3s ease-out;
}





.price-icon, .date-icon {
    color: #007bff;
    margin-right: 5px;
}

.price-text {
    font-weight: 800;
    color: #333;
}
.date-text {
    font-weight: 600;
    color: #333;
}


.status-icon { 
    color: #17a2b8;
    font-size: 16px;
}

.delete-icon { 
    color: #dc3545;
    font-size: 16px;
}

.print-icon { 
    color: #28a745;
    font-size: 16px;
}
.quantity-icon { color: #6c757d; }

.order-actions button:hover {
    background-color: rgba(0,0,0,0.05); /* Léger fond au survol */
}
.order-details-list {
    background-color: #f1f1f1;
    padding: 10px;
}

.order-item {
    display: grid;
    grid-template-columns: 1fr auto auto; /* Nom, quantité, prix */
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 400;
    gap: 15px; /* Espace entre les colonnes */
}


.item-name {
    font-weight: 500;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-quantity, .item-price {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-end; /* Aligne à droite */
    min-width: 120px; /* Largeur minimale pour la colonne */
    text-align: right;
}

.item-quantity {
    justify-self: end;
}

.item-price {
    justify-self: end;
}


.order-list-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.order-list-actions button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 10px;
    border-radius: 5px;
    font-weight: 500;
}

.order-list-actions button:hover {
    background-color: #ffffff;
    font-weight: 600;
}

/* Transitions */
.order-list-enter-active, .order-list-leave-active {
    transition: all 0.5s;
}
.order-list-enter, .order-list-leave-to {
    opacity: 0;
    transform: translateY(-30px);
}




.additional-info {
    display: flex; /* Utiliser flexbox pour aligner les éléments sur une ligne */
    flex-wrap: wrap; /* Permettre le passage à la ligne sur les petits écrans */
    row-gap: 7px;
    justify-content: space-between; /* Espacer les éléments */
    margin-top: 10px; /* Espacement au-dessus */
    font-size: 0.9em; /* Taille de police plus petite pour les informations supplémentaires */
    color: #666666; /* Couleur des textes */
    padding: 0px 0px 10px 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transition pour l'animation */
}



.additional-info:hover {
    transform: translateY(-5px); /* Légère élévation au survol */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Ombre plus prononcée au survol */
}

.info-item {
    flex: 1; /* Permettre aux éléments de prendre de l'espace disponible */
    min-width: 200px; /* Largeur minimale pour éviter le débordement */
    margin-right: 10px; /* Espacement entre les éléments */
    position: relative; /* Position relative pour les animations */
    padding: 10px; /* Espacement interne */
    border-radius: 5px; /* Coins arrondis */
    background-color: #fffcf6; /* Fond blanc pour chaque item */
    transition: background-color 0.3s ease; /* Transition pour le changement de couleur */
}

.info-item:hover {
    background-color: #e0f7fa; /* Changement de couleur au survol */
}

.info-item strong {
    color: #333; /* Couleur du texte fort */
    font-weight: 600; /* Mettre en gras */
}

/* Animation pour le texte */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px); /* Commencer légèrement en bas */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Finir à la position d'origine */
    }
}

.additional-info {
    animation: fadeIn 0.5s ease; /* Appliquer l'animation */
}


@media (max-width: 600px) {

    .additional-info {
        padding: 0px 0px 10px 10px;
    }

    .info-item {
        min-width: auto; /* Supprimer la largeur minimale sur les petits écrans */
       /* margin-right: 0; /* Supprimer l'espacement à droite */
       /* margin-bottom: 10px; /* Espacement en bas */
    }
}