 @media (min-width: 768px) {

        /* Alignement horizontal pour les grands écrans */
        #customer-reviews-text {
            display: inline-block;
        }

        #star-ratings {
            display: inline-block;
            margin-left: 8px;
            /* Espacement entre les avis et les étoiles */
        }
    }

    @media (max-width: 768px) {
        .navbar {
            text-align: center;
        }

        #secure-payment-text,
        #customer-reviews-text,
        #star-ratings {
            display: block;
            margin: 0 auto;
            /* Centrage horizontal */
        }

        #customer-reviews-text {
            margin-top: 10px;
            /* Espacement entre les sections */
        }

        #star-ratings {
            margin-top: 5px;
            /* Espacement avec les avis */
        }
    }

    .phone-container {
        position: relative;
        width: 100%;
    }

    .iti {
        width: 100% !important;
    }

    #phone {
        width: 100%;
        height: 30px;
        padding-left: 55px !important;
        /* Espace ajusté pour le drapeau */
        padding-right: 12px;
        border: 2px solid #A0A0A0;
        border-radius: 6px;
        font-size: 16px;
        box-sizing: border-box;
    }

    .iti__flag-container {
        position: absolute;
        left: 10px;
        /* Alignement précis */
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        /* S'assurer que le drapeau est bien visible */
    }

    .iti__selected-flag {
        padding-left: 5px !important;
        /* Ajuste l'espace entre le drapeau et le code pays */
        margin-top: 1px;
        /* Ajuste verticalement pour centrer avec le champ */
    }

    .iti__selected-dial-code {
        font-size: 16px;
        /* Assure la cohérence avec le champ */
        margin-left: 4px;
        /* Ajuste l'espacement */
        color: #333;
        /* Uniformise avec le reste du texte */
    }

    body {
        margin: 0;
        padding: 0;
    }

    .navbar {
        margin-bottom: 0 !important;
    }

    .bg-black {
        background-color: #000 !important;
        /* Couleur noire */
        border-bottom: 2px solid #444;
        /* Ligne de séparation */
    }

    .navbar .text-white {
        color: #fff !important;
        /* Texte blanc */
    }

    .navbar .text-warning i {
        font-size: 1.5rem;
        /* Taille des étoiles */
        text-shadow: 0px 0px 5px rgba(255, 223, 0, 0.8);
        /* Effet lumineux sur les étoiles */
    }

    .navbar {
        margin: 0;
        padding: 0 15px;
    }

    .payment-information h5 {
        margin-bottom: 15px;
    }

    .payment-methods .form-check {
        margin-bottom: 15px;
    }

    .payment-methods img {
        margin-left: 10px;
    }

    .message {
        margin-top: 5px;
        font-size: 0.9rem;
    }

    .d-none {
        display: none;
    }

    a {
        text-decoration: none !important;
    }

    .custom-modal .modal-content {
        border-radius: 10px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        border: none;
        background-color: white;
    }

    .custom-modal .modal-header {
        background-color: #dc3545;
        /* Rouge Bootstrap */
        color: white;
        border-bottom: none;
    }

    .custom-modal .modal-title {
        font-weight: bold;
    }

    .custom-modal .modal-footer {
        border-top: none;
        display: flex;
        justify-content: end;
        gap: 10px;
    }

    .custom-modal .btn {
        padding: 6px 16px;
        border-radius: 5px;
        font-weight: 500;
        border: none;
    }

    .custom-modal .btn-primary {
        background-color: #0d6efd;
        color: white;
    }

    .custom-modal .btn-danger {
        background-color: #dc3545;
        color: white;
    }

    .custom-modal .btn-close {
        background: transparent;
        border: none;
        font-size: 1.3rem;
        color: white;
    }

    .text-danger {
        color: #dc3545 !important;
    }

    .text-muted {
        color: #6c757d !important;
    }

    .text-sm {
        font-size: 0.875rem;
    }

    .mt-2 {
        margin-top: 0.5rem;
    }

    .message {
        font-size: 0.95rem;
    }

    .custom-modal {
        display: none;
        position: fixed;
        z-index: 1050;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .custom-modal-content {
        background-color: #fff;
        margin: 10% auto;
        padding: 0;
        border-radius: 8px;
        width: 90%;
        max-width: 500px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        animation: fadeIn 0.3s ease;
    }

    .custom-modal-header {
        padding: 15px 20px;
        font-weight: bold;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .custom-modal-header.error {
        background-color: #dc3545;
        color: white;
    }

    .custom-modal-header.success {
        background-color: #198754;
        color: white;
    }

    .custom-modal-body {
        padding: 20px;
        font-size: 16px;
        text-align: center;
    }

    .custom-modal-footer {
        padding: 15px 20px;
        text-align: right;
        border-top: 1px solid #eee;
    }

    .custom-btn {
        padding: 8px 16px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

    .custom-btn.error {
        background-color: #dc3545;
        color: white;
    }

    .custom-btn.success {
        background-color: #198754;
        color: white;
    }

    .custom-close {
        font-size: 24px;
        font-weight: bold;
        cursor: pointer;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: scale(0.95);
        }

        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    .invalid-feedback {
        color: red;
        font-size: 0.9rem;
        margin-top: 4px;
    }

    .is-invalid {
        border-color: red;
        outline: none;
    }

    .iti__flag-container {
        pointer-events: none !important;
    }