.uc-nav .uc-parent a>span {
    left: 26px;
}

/* Mobile menu action buttons */
.mobile-action-btn {
    width: auto;
    min-width: 120px;
}

/* Language dropdown custom width */
.language-dropdown {
    width: 150px !important;
    max-width: 150px !important;
    min-width: 120px !important;
}

/* Payment success page styles */
.success-icon .icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

/* Transfer page styles */
.success-icon .transfer-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

@media (max-width: 768px) {
    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
}

/* Maintenance Mode Styles */
.maintenance-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.maintenance-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.maintenance-section .container {
    position: relative;
    z-index: 1;
}

.maintenance-progress {
    margin-top: 2rem;
}

.progress-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.progress-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.3;
    animation: pulse 1.5s infinite;
}

.progress-dots .dot:nth-child(2) {
    animation-delay: 0.5s;
}

.progress-dots .dot:nth-child(3) {
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Maintenance responsive adjustments */
@media (max-width: 768px) {
    .maintenance-section {
        padding: 2rem 1rem;
    }
    
    .maintenance-section .cstack {
        width: 4rem !important;
        height: 4rem !important;
    }
    
    .maintenance-section .icon {
        font-size: 1.5rem;
    }
}

/* Styles pour le sélecteur de durée des plans */
#plan-duration {
    background-color: transparent !important;
    border: 1px solid rgb(48, 50, 50) !important;
    color: #fff !important;
}

#plan-duration:focus {
    background-color: rgba(var(--bs-gray-700-rgb),var(--bs-bg-opacity)) !important;
    border-color: rgba(100, 159, 63, 0.8) !important;
    box-shadow: 0 0 0 0.2rem rgba(100, 159, 63, 0.25) !important;
    color: #fff !important;
}

#plan-duration option {
    background-color: rgba(var(--bs-gray-700-rgb),var(--bs-bg-opacity)) !important;
    color: #fff !important;
    font-weight: 500 !important;
}

#plan-duration option:hover,
#plan-duration option:focus {
    background-color: rgba(var(--bs-gray-700-rgb),var(--bs-bg-opacity)) !important;
    color: #fff !important;
}

#plan-duration option:checked {
    background-color: rgba(var(--bs-gray-700-rgb),var(--bs-bg-opacity)) !important;
    color: #fff !important;
}

/* Styles pour la page de succès de paiement */
.qr-code-section {
    background: #082b2d !important;
}

/* Amélioration du bouton outline-success */
.btn-outline-success {
    border-color: #28a745 !important;
    color: #28a745 !important;
    background-color: transparent !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:active {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3) !important;
}

.btn-outline-success:hover {
    transform: translateY(-1px) !important;
}

/* Styles pour les formulaires dans le thème sombre lexend */
.form-control:focus {
    border-color: rgba(100, 159, 63, 0.8) !important;
    box-shadow: 0 0 0 0.2rem rgba(100, 159, 63, 0.25) !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Styles pour les cartes dans le thème sombre */
.card.bg-tertiary-700 {
    background-color: rgba(var(--bs-tertiary-700-rgb), 0.8) !important;
    backdrop-filter: blur(10px);
}

.alert.bg-tertiary-700 {
    background-color: rgba(var(--bs-tertiary-700-rgb), 0.6) !important;
    backdrop-filter: blur(5px);
}

/* Retailer Space Custom Styles */
/* Styles pour la modale lightbox */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex !important;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0 auto;
    pointer-events: none;
    transform: translate(0, -50px);
    transition: transform 0.3s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.modal.show .modal-dialog {
    transform: translate(0, 0);
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.modal-lg {
    max-width: 90vw;
    max-height: 80vh;
    width: auto;
    height: auto;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
}

.modal-header.border-0 {
    border-bottom: none;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(0.3rem - 1px);
    border-bottom-left-radius: calc(0.3rem - 1px);
}

.modal-footer.border-0 {
    border-top: none;
}

.modal-footer.justify-content-center {
    justify-content: center;
}

.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='m.235.227l.012.012l15.526 15.527a.3.3 0 0 1-.424.424L.823.663a.3.3 0 0 1 .012-.436Z'/%3e%3cpath d='m.235 15.773l.012-.012L15.773.235a.3.3 0 0 1 .424.424L.67 16.186a.3.3 0 0 1-.435-.413Z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.25rem;
    opacity: 0.5;
    cursor: pointer;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.btn-close:hover {
    opacity: 0.75;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: 0.5;
}

body.modal-open {
    overflow: hidden;
}

.retailer-space-page #lightboxModal .modal-content {
    border: none !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    max-height: calc(100vh - 2rem) !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
}

.retailer-space-page #lightboxModal .modal-header {
    padding: 10px 15px !important;
    flex-shrink: 0 !important;
    height: 50px !important;
}

.retailer-space-page #lightboxModal .modal-body {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    overflow: hidden !important;
    min-height: 0 !important;
}

.retailer-space-page #lightboxModal .modal-body img,
.retailer-space-page #lightboxModal #lightboxImage {
    max-width: 100% !important;
    max-height: calc(100vh - 2rem - 50px - 80px) !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    display: block !important;
}

.retailer-space-page #lightboxModal .modal-footer {
    padding: 20px !important;
    flex-shrink: 0 !important;
    height: 80px !important;
}

/* Centrage parfait de la modale */
.retailer-space-page #lightboxModal {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem !important;
}

/* Style global pour forcer la hauteur de l'image */
#lightboxModal.show #lightboxImage,
#lightboxModal.show .modal-body img {
    max-height: calc(100vh - 2rem - 50px - 80px) !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.retailer-space-page #lightboxModal .modal-dialog {
    margin: 0 !important;
    width: auto !important;
    max-width: calc(100vw - 2rem) !important;
    max-height: calc(100vh - 2rem) !important;
}

.retailer-space-page #lightboxModal .btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    border: none !important;
    font-weight: 500 !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3) !important;
    transition: all 0.3s ease !important;
    color: white !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
}

.retailer-space-page #lightboxModal .btn-success:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
    background: linear-gradient(135deg, #218838 0%, #1fa085 100%) !important;
}

.retailer-space-page #lightboxModal .btn-close-white {
    filter: brightness(1) invert(1) !important;
    opacity: 0.8 !important;
}

.retailer-space-page #lightboxModal .btn-close-white:hover {
    opacity: 1 !important;
}

/* Styles responsives pour la lightbox */
@media (max-width: 768px) {
    .retailer-space-page #lightboxModal {
        padding: 0.5rem !important;
    }
    
    .retailer-space-page #lightboxModal .modal-dialog {
        max-width: calc(100vw - 1rem) !important;
        max-height: calc(100vh - 1rem) !important;
    }
    
    .retailer-space-page #lightboxModal .modal-content {
        max-height: calc(100vh - 1rem) !important;
    }
    
    .retailer-space-page #lightboxModal .modal-body img,
    .retailer-space-page #lightboxModal #lightboxImage {
        max-height: calc(100vh - 1rem - 50px - 70px) !important;
    }
    
    .retailer-space-page #lightboxModal .modal-footer {
        padding: 15px !important;
        height: 70px !important;
    }
}

@media (max-width: 480px) {
    .retailer-space-page #lightboxModal {
        padding: 0.25rem !important;
    }
    
    .retailer-space-page #lightboxModal .modal-dialog {
        max-width: calc(100vw - 0.5rem) !important;
        max-height: calc(100vh - 0.5rem) !important;
    }
    
    .retailer-space-page #lightboxModal .modal-content {
        max-height: calc(100vh - 0.5rem) !important;
    }
    
    .retailer-space-page #lightboxModal .modal-body img,
    .retailer-space-page #lightboxModal #lightboxImage {
        max-height: calc(100vh - 0.5rem - 50px - 60px) !important;
    }
    
    .retailer-space-page #lightboxModal .modal-footer {
        padding: 10px !important;
        height: 60px !important;
    }
    
    .retailer-space-page #lightboxModal .btn-success {
        padding: 8px 16px !important;
        font-size: 14px !important;
    }
}

/* Affichage flex des photos en mode card */
.retailer-space-page .d-flex.gap-3 {
    padding: 10px 0;
    width: 100% !important;
    justify-content: stretch !important;
}

.retailer-space-page .card.flex-fill {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px !important;
    overflow: hidden;
    min-width: 0 !important;
    flex: 1 1 0 !important; /* Force l'égalité des tailles */
    max-width: none !important;
}

.retailer-space-page .card.flex-fill:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
}

.retailer-space-page .card.flex-fill img {
    transition: transform 0.3s ease;
    border-radius: 12px 12px 0 0;
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
}

.retailer-space-page .card.flex-fill:hover img {
    transform: scale(1.05);
}

/* Fix pour les fonds blancs des sections */
.retailer-space-page .card.border-0.shadow-sm {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
}

.retailer-space-page .card.border-0.bg-light {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
}

.retailer-space-page .card-body {
    background: transparent !important;
}



/* Responsive: Mobile et tablette - empilage vertical */
@media (max-width: 767.98px) {
    .upload-container .d-flex {
        flex-direction: column;
        gap: 2rem;
    }
    
    .upload-container .col-md-6,
    .upload-container .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
    
    /* Bouton d'upload responsive */
    #select-files-btn {
        font-size: 0.9rem !important;
        padding: 0.75rem 1rem !important;
        white-space: normal !important;
        word-wrap: break-word;
        text-align: center;
        max-width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Responsive pour très petits écrans */
@media (max-width: 480px) {
    #select-files-btn {
        font-size: 0.8rem !important;
        padding: 0.6rem 0.8rem !important;
        line-height: 1.3;
        min-height: 44px;
        flex-direction: column;
        gap: 0.2rem;
    }
    
    #select-files-btn .me-2 {
        margin-right: 0 !important;
        margin-bottom: 0.2rem;
    }
}

/* Styles pour tous les textes des sections */
.retailer-space-page .card-body h3,
.retailer-space-page .card-body h4,
.retailer-space-page .card-body strong {
    color: #ffffff !important;
}

.retailer-space-page .card-body p,
.retailer-space-page .card-body span {
    color: #e0e0e0 !important;
}

/* Text spécifique pour les textes muted */
.retailer-space-page .card-body .text-muted {
    color: #b0b0b0 !important;
}

/* Icons dans les sections */
.retailer-space-page .ti-user-check,
.retailer-space-page .ti-world,
.retailer-space-page .ti-shield-check,
.retailer-space-page .ti-qrcode,
.retailer-space-page .ti-heart {
    color: #ffffff !important;
}

/* Liens dans les sections */
.retailer-space-page .card-body a {
    color: #ffffff !important;
    text-decoration: underline;
}

.retailer-space-page .card-body a:hover {
    color: #e3f2fd !important;
}

/* Texte success pour "Partenaire vérifié" */
.retailer-space-page .card-body .text-success {
    color: #4caf50 !important;
}



#hero-section {
    padding-top: 85px;
  }

  #hero_partnership > div {
    padding-bottom: unset !important;
}

/* Required field styles for Partnership form */
.form-label .text-danger {
    font-size: 1.1em;
}

.form-text.text-danger {
    font-size: 0.85em;
    margin-top: 0.25rem;
}

.form-text.text-danger.fw-bold {
    color: #dc3545 !important;
    font-weight: 700 !important;
}

/* Focus state for required fields */
.partnership-form input[required]:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Payment Success Page - Boutons responsive */
@media (max-width: 767.98px) {
    .payment-success-page .btn-lg {
        font-size: 0.9rem !important;
        padding: 0.75rem 1rem !important;
        white-space: normal !important;
        word-wrap: break-word;
        text-align: center;
        line-height: 1.3;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .payment-success-page .choice-options .vstack {
        gap: 1rem !important;
    }
}

@media (max-width: 480px) {
    .payment-success-page .btn-lg {
        font-size: 0.8rem !important;
        padding: 0.6rem 0.8rem !important;
        line-height: 1.2;
        min-height: 44px;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .payment-success-page .btn-lg .unicon-user,
    .payment-success-page .btn-lg .unicon-sign-in,
    .payment-success-page .btn-lg .unicon-gift {
        margin-right: 0 !important;
        margin-bottom: 0.2rem;
        font-size: 1.1rem;
    }
    
    .payment-success-page .btn-lg .me-2 {
        margin-right: 0 !important;
        margin-bottom: 0.2rem;
    }
    
    /* Texte plus compact pour les boutons */
    .payment-success-page .choice-options .vstack {
        gap: 0.8rem !important;
    }
}

/* Classe pour fixer la hauteur du texte animé et éviter le mouvement de la page */
.fixed-height-for-motion {
    height: 120px !important;
    min-height: 120px !important;
    max-height: 120px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

/* Responsive pour tablettes */
@media (max-width: 991.98px) {
    .fixed-height-for-motion {
        height: 100px !important;
        min-height: 100px !important;
        max-height: 100px !important;
    }
}

/* Responsive pour mobiles */
@media (max-width: 767.98px) {
    .fixed-height-for-motion {
        height: 90px !important;
        min-height: 90px !important;
        max-height: 90px !important;
    }
}

/* Responsive pour très petits écrans */
@media (max-width: 480px) {
    .fixed-height-for-motion {
        height: 80px !important;
        min-height: 80px !important;
        max-height: 80px !important;
    }
}

/* Styles pour les boutons radio de durée dans la modal de paiement */
.duration-radio-option {
    position: relative;
    cursor: pointer;
}

.duration-radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.duration-radio-label {
    display: block;
    padding: 12px 16px;
    border: 2px solid rgba(var(--bs-gray-300-rgb), 1);
    border-radius: 8px;
    background-color: transparent;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.dark .duration-radio-label {
    background-color: transparent;
    color: #fff;
    border-color: rgba(var(--bs-gray-600-rgb), 1);
}

.duration-radio-option:hover .duration-radio-label {
    border-color: rgba(var(--bs-primary-rgb), 0.5);
    background-color: rgba(var(--bs-primary-rgb), 0.05);
}

.dark .duration-radio-option:hover .duration-radio-label {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.duration-radio-option input[type="radio"]:checked + .duration-radio-label {
    border-color: rgba(var(--bs-primary-rgb), 1);
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: rgba(var(--bs-primary-rgb), 1);
}

.dark .duration-radio-option input[type="radio"]:checked + .duration-radio-label {
    background-color: rgba(var(--bs-primary-rgb), 0.2);
    color: #fff;
}

.duration-radio-option input[type="radio"]:checked + .duration-radio-label::after {
    content: '✓';
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    color: rgba(var(--bs-primary-rgb), 1);
    font-weight: bold;
    font-size: 16px;
}

.duration-price {
    font-weight: 600;
    color: rgba(var(--bs-primary-rgb), 1);
    white-space: nowrap;
}

.duration-savings {
    font-size: 0.8rem;
    color: rgba(var(--bs-success-rgb), 1);
    font-weight: 500;
    display: inline-block;
    margin-top: 2px;
}

/* Responsive pour les boutons radio */
@media (max-width: 767.98px) {
    .duration-radio-label {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .duration-price {
        font-size: 0.9rem;
    }
    
    .duration-savings {
        font-size: 0.75rem;
    }
}

/* Modals UIkit Lexend - Styles globaux */
[data-uc-modal] .uc-modal-dialog {
    animation: uc-fade 0.3s ease-in-out;
}

[data-uc-modal].uc-open .uc-modal-dialog {
    animation: uc-slide-bottom 0.3s ease-out;
}

/* Animations pour les modals */
@keyframes uc-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes uc-slide-bottom {
    from { 
        opacity: 0;
        transform: translateY(50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive pour les modals */
@media (max-width: 640px) {
    [data-uc-modal] .uc-modal-dialog {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
    }
    
    #uc-error-modal .icon-circle,
    #uc-success-modal .icon-circle {
        width: 3rem;
        height: 3rem;
    }
    
    #uc-error-modal .btn-lg,
    #uc-success-modal .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Styles pour les boutons empilés de la page ask-for-viewing */
.activation-page .d-grid {
    display: grid !important;
    gap: 0.75rem !important;
    grid-template-columns: 1fr !important;
}

/* Styles responsive pour les boutons de la page ask-for-viewing */
@media (max-width: 767.98px) {
    .activation-page .d-grid {
        gap: 1rem !important;
    }
    
    .activation-page .btn-lg {
        font-size: 0.9rem !important;
        padding: 0.75rem 1rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        text-align: center !important;
        line-height: 1.3 !important;
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .activation-page .btn-lg .ti {
        margin-right: 0.5rem !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .activation-page .d-grid {
        gap: 0.8rem !important;
    }
    
    .activation-page .btn-lg {
        font-size: 0.8rem !important;
        padding: 0.6rem 0.8rem !important;
        min-height: 44px !important;
        line-height: 1.2 !important;
    }
    
    .activation-page .btn-lg .ti {
        margin-right: 0.4rem !important;
        font-size: 0.9rem !important;
    }
}

/* Styles pour la page Partnership Request - Mobile */
@media (max-width: 767.98px) {
    /* Agrandir le textarea pour mobile */
    .partnership-form textarea.min-h-120px {
        min-height: 180px !important;
        height: auto !important;
    }
    
    /* Boutons de sélection des types de partenariat */
    .partnership-type-card .btn-md {
        font-size: 0.85rem !important;
        padding: 0.6rem 1rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        text-align: center !important;
        line-height: 1.3 !important;
        min-height: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Boutons du formulaire (Retour et Soumettre) */
    .partnership-form .btn-md {
        font-size: 0.85rem !important;
        padding: 0.6rem 1rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        text-align: center !important;
        line-height: 1.3 !important;
        min-height: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 1 !important;
        max-width: 100% !important;
    }
    
    /* Conteneur des boutons pour éviter le débordement */
    .partnership-form .hstack.gap-3 {
        flex-direction: column !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    /* Textarea encore plus grand pour très petits écrans */
    .partnership-form textarea.min-h-120px {
        min-height: 200px !important;
    }
    
    /* Boutons encore plus compacts pour très petits écrans */
    .partnership-type-card .btn-md,
    .partnership-form .btn-md {
        font-size: 0.8rem !important;
        padding: 0.5rem 0.8rem !important;
        min-height: 40px !important;
        line-height: 1.2 !important;
    }
    
    /* Espacement réduit entre les boutons */
    .partnership-form .hstack.gap-3 {
        gap: 0.5rem !important;
    }
}

/* Styles pour les cartes de la page partners-shop */
.retailer-space-card {
    background-color: rgba(var(--bs-tertiary-700-rgb), 0.8) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.retailer-space-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
}

.retailer-space-card .card-body {
    background-color: transparent !important;
}

.retailer-space-card .card-title {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.retailer-space-card .card-text {
    color: #e0e0e0 !important;
}

.retailer-space-card .text-muted {
    color: #b0b0b0 !important;
}

.retailer-space-card .card-footer {
    background-color: transparent !important;
    padding-top: 1rem !important;
    margin-top: 0.5rem !important;
}

.card-footer.bg-transparent.border-0.pt-0 {
    padding: 15px;
}

/* Carrousel de photos des partenaires */
.partner-photos-carousel {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.partner-photos-carousel::-webkit-scrollbar {
    display: none; /* Webkit browsers */
}

.partner-photo-thumb {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.partner-photo-thumb:hover {
    border-color: rgba(var(--bs-primary-rgb), 0.8);
    transform: scale(1.05);
}

.partner-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive pour le carrousel */
@media (max-width: 767.98px) {
    .partner-photo-thumb {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .partner-photo-thumb {
        width: 30px;
        height: 30px;
    }
}

/* Styles pour centrer le pricing sur toutes les pages */
#pricing .row {
    justify-content: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
}

#pricing .row > [class*="col-"] {
    display: flex !important;
    flex-direction: column !important;
}

/* Forcer le centrage sur desktop */
@media (min-width: 992px) {
    #pricing .row {
        max-width: none !important;
        margin: 0 auto !important;
        justify-content: center !important;
    }
}

/* Responsive : centrer aussi sur tablet et mobile */
@media (min-width: 576px) and (max-width: 991.98px) {
    #pricing .row {
        justify-content: center !important;
    }
}

/* Styles pour les boutons d'action de la page retailer-space */
/* Sur mobile : empiler les boutons en full width */
@media (max-width: 767.98px) {
    .retailer-action-buttons {
        flex-direction: column !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }
    
    .retailer-action-btn {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 !important;
        font-size: 0.9rem !important;
        padding: 0.75rem 1rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        text-align: center !important;
        line-height: 1.3 !important;
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .retailer-action-btn .ti {
        margin-right: 0.5rem !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .retailer-action-buttons {
        gap: 0.5rem !important;
    }
    
    .retailer-action-btn {
        font-size: 0.8rem !important;
        padding: 0.6rem 0.8rem !important;
        min-height: 44px !important;
        line-height: 1.2 !important;
    }
    
    .retailer-action-btn .ti {
        margin-right: 0.4rem !important;
        font-size: 0.9rem !important;
    }
}


div#call_to_action {
    margin-bottom: 70px;
}


/* Global checkbox styles for Lexend layout (apply to all checkboxes) */
.uni-body input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid rgba(var(--bs-gray-400-rgb), 1);
    background-color: rgba(var(--bs-tertiary-700-rgb), 0.6);
    display: inline-block;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.uni-body input[type="checkbox"]:hover {
    border-color: rgba(var(--bs-primary-rgb), 0.8);
}

.uni-body input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
    border-color: rgba(var(--bs-primary-rgb), 1);
}

.uni-body input[type="checkbox"]:checked {
    background-color: #ffffff;
    border-color: #ffffff;
}

.uni-body input[type="checkbox"]:checked::after {
    content: '\2713';
    color: rgba(var(--bs-tertiary-800-rgb), 1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    font-size: 16px;
    font-weight: 700;
}

.uc-dark .uni-body input[type="checkbox"] {
    background-color: rgba(var(--bs-tertiary-700-rgb), 0.8);
    border-color: rgba(var(--bs-gray-600-rgb), 1);
}

.uc-dark .uni-body input[type="checkbox"]:hover {
    border-color: rgba(var(--bs-primary-rgb), 0.9);
}

.uc-dark .uni-body input[type="checkbox"]:checked::after {
    color: rgba(var(--bs-tertiary-900-rgb), 1);
}

/* Larger variant helper if needed globally */
.uni-body input[type="checkbox"].lg {
    width: 26px;
    height: 26px;
    border-radius: 7px;
}

.uni-body input[type="checkbox"].lg:checked::after {
    font-size: 18px;
}
input[type="checkbox"] {
    position: relative;
    top: -2px;
    margin-right: 17px;
}
iframe {
    max-width: 100%;
}

/* Styles responsive pour les contenus TinyMCE dans les pages */
.texte_contenu {
    line-height: 1.6;
    word-wrap: break-word;
}

/* Textes et titres responsive dans TinyMCE */
.texte_contenu p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.texte_contenu h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.texte_contenu h2 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 1.25rem;
}

.texte_contenu h3 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.texte_contenu h4 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 0.875rem;
}

.texte_contenu h5 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.texte_contenu h6 {
    font-size: 1.125rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.texte_contenu ul,
.texte_contenu ol {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.texte_contenu li {
    margin-bottom: 0.5rem;
}

.texte_contenu blockquote {
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid rgba(var(--bs-primary-rgb), 0.8);
    background-color: rgba(var(--bs-tertiary-600-rgb), 0.3);
}

.texte_contenu strong,
.texte_contenu b {
    font-weight: 600;
}

/* Mobile responsive adjustments pour TinyMCE content */
@media (max-width: 991.98px) {
    .texte_contenu p {
        font-size: 0.95rem;
    }
    
    .texte_contenu h1 {
        font-size: 2.2rem;
    }
    
    .texte_contenu h2 {
        font-size: 1.8rem;
    }
    
    .texte_contenu h3 {
        font-size: 1.6rem;
    }
    
    .texte_contenu h4 {
        font-size: 1.4rem;
    }
    
    .texte_contenu h5 {
        font-size: 1.2rem;
    }
    
    .texte_contenu h6 {
        font-size: 1.1rem;
    }
    
    .texte_contenu ul,
    .texte_contenu ol {
        font-size: 0.95rem;
        padding-left: 1.25rem;
    }
    
    .texte_contenu blockquote {
        font-size: 1.05rem;
        padding: 0.875rem 1.25rem;
        margin: 1.25rem 0;
    }
}

@media (max-width: 767.98px) {
    .texte_contenu p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    .texte_contenu h1 {
        font-size: 1.9rem;
        line-height: 1.3;
    }
    
    .texte_contenu h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .texte_contenu h3 {
        font-size: 1.4rem;
        line-height: 1.4;
    }
    
    .texte_contenu h4 {
        font-size: 1.25rem;
        line-height: 1.4;
    }
    
    .texte_contenu h5 {
        font-size: 1.15rem;
        line-height: 1.4;
    }
    
    .texte_contenu h6 {
        font-size: 1.05rem;
        line-height: 1.4;
    }
    
    .texte_contenu ul,
    .texte_contenu ol {
        font-size: 0.9rem;
        line-height: 1.7;
        padding-left: 1rem;
    }
    
    .texte_contenu li {
        margin-bottom: 0.4rem;
    }
    
    .texte_contenu blockquote {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0.75rem 1rem;
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    .texte_contenu p {
        font-size: 0.85rem;
        line-height: 1.8;
    }
    
    .texte_contenu h1 {
        font-size: 1.7rem;
        line-height: 1.3;
        margin-bottom: 1.25rem;
    }
    
    .texte_contenu h2 {
        font-size: 1.45rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .texte_contenu h3 {
        font-size: 1.25rem;
        line-height: 1.4;
        margin-bottom: 0.875rem;
    }
    
    .texte_contenu h4 {
        font-size: 1.15rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }
    
    .texte_contenu h5 {
        font-size: 1.05rem;
        line-height: 1.4;
        margin-bottom: 0.65rem;
    }
    
    .texte_contenu h6 {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 0.65rem;
    }
    
    .texte_contenu ul,
    .texte_contenu ol {
        font-size: 0.85rem;
        line-height: 1.8;
        padding-left: 0.875rem;
    }
    
    .texte_contenu li {
        margin-bottom: 0.3rem;
    }
    
    .texte_contenu blockquote {
        font-size: 0.9rem;
        line-height: 1.7;
        padding: 0.65rem 0.875rem;
        margin: 0.875rem 0;
    }
}

/* Styles pour les images dans le contenu TinyMCE */
.texte_contenu img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 8px;
}

.texte_contenu table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.texte_contenu table td,
.texte_contenu table th {
    padding: 0.75rem;
    border: 1px solid rgba(var(--bs-gray-400-rgb), 0.3);
    text-align: left;
}

.texte_contenu table th {
    background-color: rgba(var(--bs-tertiary-600-rgb), 0.3);
    font-weight: 600;
}

/* Responsive pour les tableaux */
@media (max-width: 767.98px) {
    .texte_contenu table {
        font-size: 0.85rem;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .texte_contenu table td,
    .texte_contenu table th {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .texte_contenu table {
        font-size: 0.8rem;
    }
    
    .texte_contenu table td,
    .texte_contenu table th {
        padding: 0.4rem;
    }
}
.custom-hero-section {
    padding-bottom: 0 !important;
}
/* Règle supprimée - conflit avec la hauteur fixe du texte animé */
.custom-video-page-daccueil {
    margin-top: 80px!important;
}
@media (min-width: 992px) {
    .lg\:gap-4 {
        gap: unset !important;
    }
}

ul.uc-navbar-nav.fs-5.fw-bold.gap-3.lg\:gap-4.d-none.lg\:d-flex > li {
    padding: 0px 14px;
}

/* Styles pour égaliser la hauteur des cartes de partenariat */
#partnership_types .row {
    display: flex;
    align-items: stretch;
}

#partnership_types .row > div {
    display: flex;
    flex-direction: column;
}

.partnership-type-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.partnership-type-card .vstack:last-of-type {
    flex-grow: 1;
    justify-content: center;
}

/* ===== GDPR Cookie Banner & Settings Modal ===== */
/* Amélioration de l'affichage de la bannière de cookies */
#uc-gdpr-notification .uc-notification-message {
    flex-wrap: wrap;
    align-items: flex-start;
}

#uc-gdpr-notification .hstack.gap-2 {
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

/* Styles pour les boutons de la bannière */
#uc-gdpr-notification .btn {
    white-space: nowrap;
    min-width: auto;
    transition: all 0.3s ease;
}

#uc-gdpr-notification .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Modal de paramètres des cookies */
#uc-gdpr-settings-modal .uc-modal-dialog {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

#uc-gdpr-settings-modal label {
    cursor: pointer;
    transition: all 0.3s ease;
}

#uc-gdpr-settings-modal label:hover {
    background-color: rgba(0, 0, 0, 0.03);
    border-color: rgba(var(--bs-primary-rgb), 0.5);
}

#uc-gdpr-settings-modal input[type="checkbox"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive pour la bannière de cookies */
@media (max-width: 767.98px) {
    #uc-gdpr-notification .uc-notification-message {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    #uc-gdpr-notification .hstack.gap-2 {
        flex-direction: column;
        width: 100%;
        margin-top: 0;
    }
    
    #uc-gdpr-notification .btn {
        width: 100%;
        justify-content: center;
    }
    
    #uc-gdpr-settings-modal .uc-modal-dialog {
        max-width: calc(100vw - 2rem);
        margin: 1rem;
    }
    
    #uc-gdpr-settings-modal .hstack.gap-2 {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    #uc-gdpr-settings-modal .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    #uc-gdpr-notification {
        left: 8px;
        right: 8px;
        bottom: 8px;
    }
    
    #uc-gdpr-notification .uc-notification-message {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    #uc-gdpr-notification .h5 {
        font-size: 1.1rem;
    }
    
    #uc-gdpr-notification .fs-6 {
        font-size: 0.9rem;
    }
    
    #uc-gdpr-notification .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}