.POS_Ticket_Header {
    margin: 10px;
    background: #f8f8f8;
    padding: 10px;
    border-radius: 10px 10px 0px 0px;
}

.POS_Ticket_Header_Title {
    display: flex;
    font-size: 17px;
    font-weight: 500;
    line-height: 20px;
}
.POS_Ticket_Header_Details {
   font-size:11px; 
}

.POS_Tickets_Products_List {
    max-height: 300px;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
}

.POS_Category_Card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px; /* Ajuste la hauteur minimale en fonction de ton design */
    text-align: center;
    padding: 1rem;
    border: 1px solid #CCC;
    border-radius: 15px;
    cursor: pointer;
    transition: border-color 0.3s ease; /* Ajoute une transition sur la couleur de la bordure */

}
.POS_Category_Card:hover {
    border-color: #ffaf0f; /* Change la couleur de la bordure au survol */
}
.POS_Category_Card.active {
    border-color: #ffaf0f; /* Change la couleur de la bordure au survol */
}
.POS_Receipts_Customers_List.active {
    border:1px solid #ffaf0f; /* Change la couleur de la bordure au survol */
}
.POS_Category_OwlNav {
    text-align:right;
}
.POS_Category_OwlNav .owl-prev,
.POS_Category_OwlNav .owl-next {
    background: #FFF;
    border: 1px solid #CCC;
    border-radius: 15px;
    width: 30px;
    height: 30px;
    font-size: 10px;
    cursor: pointer;
    padding: 0.5rem;
    transition: border-color 0.3s ease; /* Ajoute une transition sur la couleur de la bordure */
    margin: 0px 0px 10px 10px;
}

.POS_Category_OwlNav .owl-prev:hover,
.POS_Category_OwlNav .owl-next:hover {
    border-color: #ffaf0f; /* Change la couleur de la bordure au survol */
}

.POS_Category_OwlNav .owl-prev i,
.POS_Category_OwlNav .owl-next i {
    color: #333; /* Personnalise la couleur */
}

.POS_Tickets_Cards_Quickly_Access.active {
    border:1px solid #ffaf0f;
}

#POS_Fidelity_ResNoExist {
    margin-top: 20px;
    text-align: center;
}
#POS_Fidelity_ResExist {
    margin-top: 20px;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    60% {
        opacity: 1;
        transform: scale(1.1);
    }
    80% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

.bounce-modal .modal-dialog {
    animation: bounceIn 0.6s ease; /* Applique l'animation bounce sur la modal-dialog */
}

.POS_Tickets_Cards_Quickly_Access {
    aspect-ratio: 1/1;
    font-size: 20px;
}

.POS_Ticket_Quickly_DivTwo {
    bottom: 0px;
    position: fixed;
}

.POS_Tickets_Receipt_OpenTicket {
    background: #f8f8f8;
    padding: 60px 20px 40px 20px;
    text-align: center;
    border: 2px solid #CCC;
    border-radius: 0px 0px 10px 10px;
    cursor:pointer;
    transition: border-color 0.3s ease; /* Ajoute une transition sur la couleur de la bordure */
}
.POS_Tickets_Receipt_OpenTicket:hover {
    border-color: #ffaf0f;
}

.POS_Tickets_Receipt_OpenTicket i {
    font-size: 100px;
}

.POS_Tickets_Receipt_OpenTicket p {
    margin-top: 10px;
    font-size: 20px;
}
.POS_Tickets_Button_Products_Receipt_Count {
    background: #ec0000;
    color: #FFF;
    font-size: 12px;
    position: absolute;
    top: -8px;
    right: -8px;
    border-radius: 10px;
    width: 20px;
    aspect-ratio: 1 / 1;
    text-align: center;
}
.MDL_Receipt_Product_NoExist_Body {
    text-align:center;
}
.MDL_Receipt_Product_NoExist_Body i {
    font-size: 10rem;
    margin-bottom: 20px;
}
.POS_Ticket_Product_Line {
    position: relative;
    border-bottom: 1px solid #CCCC;
    padding: 10px 0;
    min-height: 75px;
    overflow: hidden;
}

.POS_Ticket_Product_Line_Overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Couleur d'overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease; /* Transition fluide */
    color: white;
    gap:20%;
}

.POS_Ticket_Product_Line:hover .POS_Ticket_Product_Line_Overlay {
    opacity: 1; /* Affiche l'overlay au survol de la ligne */
}

.POS_Ticket_Product_Line_Overlay i {
    font-size: 2rem; /* Taille de l'icône */
    cursor: pointer;
}

.POS_Payments_Canvas_Dialog {
    width: 500px !important;
    max-width: 33%;
    padding: 20px 0px 20px 0px;
}

/* Pour les smartphones (écrans < 576px) */
@media (max-width: 576px) {
    .POS_Payments_Canvas_Dialog {
        width: 100% !important;
        max-width: 100%;
    }
}



.POS_Receipt_Loyalty_Div {
    padding: 10px 15px;
    background: rgb(211 217 255 / 30%);
    border: 1px solid rgb(211 217 255 / 60%);
    border-radius: 5px;
}




/* 🔹 Personnalisation des flèches de navigation pour le Owl Carousel des récompenses */
#OC_Receipt_Loyalty_Program_RewardsCarousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* Empêche d'affecter les clics sur le contenu */
}

/* Style des boutons de navigation */
#OC_Receipt_Loyalty_Program_RewardsCarousel .owl-prev,
#OC_Receipt_Loyalty_Program_RewardsCarousel .owl-next {
    background: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
    color: white;
    border-radius: 50%; /* Bouton arrondi */
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease-in-out;
    pointer-events: auto; /* Rétablit la prise en compte des clics */
}

/* Effet hover */
#OC_Receipt_Loyalty_Program_RewardsCarousel .owl-prev:hover,
#OC_Receipt_Loyalty_Program_RewardsCarousel .owl-next:hover {
    background: rgba(255, 255, 255, 0.8); /* Fond plus clair */
    color: #000; /* Icône en noir */
    transform: scale(1.1); /* Agrandissement léger */
}

/* Positionnement précis */
#OC_Receipt_Loyalty_Program_RewardsCarousel .owl-prev {
    position: absolute;
}

#OC_Receipt_Loyalty_Program_RewardsCarousel .owl-next {
    position: absolute;
    right: 0px;
}

/* 🔹 Appliquer flexbox sur chaque élément de la grille Owl Carousel */
#OC_Receipt_Loyalty_Program_RewardsCarousel .item {
    display: flex;
    align-items: stretch;
}
//* 🔹 Conteneur général des cartes */
#OC_Receipt_Loyalty_Program_RewardsCarousel .reward-card {
    background: #ffffff; /* Fond blanc pur */
    border-radius: 15px; /* Coins arrondis */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre douce */
    padding: 12px; /* Moins d’espace pour un affichage compact */
    margin: 8px; /* Espacement minimal pour bien séparer les cartes */
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 180px; /* Largeur minimale pour éviter trop de réduction */
}

/* Effet au survol */
#OC_Receipt_Loyalty_Program_RewardsCarousel .reward-card:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* 🔹 Titre centré */
#OC_Receipt_Loyalty_Program_RewardsCarousel .reward-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    color: #333;
    margin-bottom: 6px;
}

/* 🔹 Section des points et du bouton */
#OC_Receipt_Loyalty_Program_RewardsCarousel .reward-card .d-flex {
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

/* 🔹 Style du texte des points */
#OC_Receipt_Loyalty_Program_RewardsCarousel .reward-card .fw-bold {
    color: #007bff;
    font-size: 1rem;
}

/* 🔹 Bouton "Utiliser" avec effet néomorphique */
#OC_Receipt_Loyalty_Program_RewardsCarousel .reward-card .UseReward {
    background: #f0f0f0;
    border: none;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1), 
                -3px -3px 6px rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease-in-out;
}

/* Effet clic enfoncé */
#OC_Receipt_Loyalty_Program_RewardsCarousel .reward-card .UseReward:active {
    box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.1),
                inset -3px -3px 6px rgba(255, 255, 255, 0.7);
}

/* 🔹 Conditions de la récompense */
#OC_Receipt_Loyalty_Program_RewardsCarousel .reward-conditions {
    font-size: 0.8rem;
    color: #666;
    margin-top: 6px;
    border-top: 1px solid #eee;
    padding-top: 6px;
}
