

    .mt-4 {
        margin-top: 1rem;
    }
    /* Rendre la carte d'inscription scrollable */
    .register-card {
        max-height: 87vh; /* ou la hauteur maximale que vous voulez */
        overflow-y: auto;
        padding: 35px 23px;
        overflow-x: hidden;
         position: relative;
    }

    /*  Indicateur de scroll en haut */
        .register-card::before {
            content: '';
            position: sticky;
            top: 0;
            left: 0;
            right: 0;
            height: 20px;
            background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
            z-index: 50;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .register-card.has-scroll::before {
            opacity: 1;
        }


        .scroll-indicator-bottom {
            position: sticky;
            bottom: 0;
            left: 0;
            right: 0;
            height: 60px;
            background: linear-gradient(to top,
                rgba(255,255,255,1) 0%,
                rgba(255,255,255,0.95) 50%,
                rgba(255,255,255,0) 100%);
            z-index: 49;
            pointer-events: none;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            padding-bottom: 10px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .register-card.can-scroll-down .scroll-indicator-bottom {
            opacity: 1;
        }

        .scroll-indicator-arrow {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: var(--primary-yellow);
            display: flex;
            align-items: center;
            justify-content: center;
            animation: bounce 2s infinite;
            box-shadow: 0 4px 12px rgba(255, 204, 0, 0.4);
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-10px);
            }
            60% {
                transform: translateY(-5px);
            }
        }

        .scroll-indicator-arrow::after {
            content: '↓';
            font-size: 18px;
            font-weight: bold;
            color: #000;
        }




        .step-content {
            position: relative;
            padding-bottom: 0px; /* Espace pour le bouton sticky */
        }

        .next-button-wrapper {
            position: sticky;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 5px 0;
            background: linear-gradient(to top,
                rgba(255,255,255,1) 0%,
                rgba(255,255,255,0.98) 70%,
                rgba(255,255,255,0) 100%);
            z-index: 100;
            margin-top: 10px;
        }

        .next-button {
            width: 100%;
            padding: 16px 24px;
            background: var(--primary-yellow);
            color: #000;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
        }

        .next-button:hover:not(:disabled) {
            background: var(--secondary-yellow);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
        }

        .next-button:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 768px) {
            .scroll-indicator-bottom {
                height: 50px;
            }

            .scroll-indicator-arrow {
                width: 25px;
                height: 25px;
            }

            .scroll-indicator-arrow::after {
                font-size: 16px;
            }
        }

        /***
        *  Scrollbar Bouton indicateur
        *
        /


    /* Optionnel : Personnaliser le scrollbar */
    .register-card::-webkit-scrollbar {
        width: 6px;
    }

    .register-card::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    .register-card::-webkit-scrollbar-thumb {
        background: var(--primary-yellow);
        border-radius: 3px;
    }

    .register-card::-webkit-scrollbar-thumb:hover {
        background: var(--secondary-yellow);
    }

    /* Pour Firefox */
    .register-card {
        scrollbar-width: thin;
        scrollbar-color: var(--primary-yellow) #f1f1f1;
    }





    /* Grille des packs - Step 3 */
    .packs-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 30px;
    }

    /* Pack card dans le step */
    .pack-card {
        border: 2px solid var(--border-color);
        border-radius: 15px;
        padding-inline: 20px;
        background: white;
        box-shadow: var(--shadow-light);
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 150px;
    }

    .pack-card:hover {
        transform: translateY(-5px);
        border-color: var(--primary-yellow);
        box-shadow: var(--shadow-medium);
    }

    /* Quand le pack est mis en avant */
    .pack-card.featured {
        border-color: var(--primary-yellow);
        background: #FFF8E1;
        box-shadow: var(--shadow);
    }

    /* Nom du pack */
    .pack-card .pack-name {
        font-size: 18px;
        font-weight: bold;
        text-align: center;
        margin-bottom: 15px;
        color: var(--text-primary);
    }

    /* Features */
    .pack-card .pack-features {
        list-style: none;
        padding: 0;
        margin: 0 0 20px;
    }

    .pack-card .pack-features li {
        font-size: 14px;
        margin-bottom: 2px;
        color: var(--text-secondary);
        display: flex;
        align-items: center;
    }

    .pack-card .pack-features li::before {
        content: "✓";
        margin-right: 8px;
        color: var(--primary-yellow);
        font-weight: bold;
    }

    /* Prix */
    .pack-card .pack-price {
        text-align: center;
        font-size: 10px;
        font-weight: semibold;
        margin-bottom: 15px;
    }

    .price-amount {
        font-size: 18px;
        font-weight: bold;
        color: var(--text-primary);
        margin-right: 5px;
    }

    .price-period {
        font-size: 14px;
        color: var(--text-secondary);
        font-weight: normal;
    }


    /* Bouton */
    .pack-card .pack-button {
        background: var(--primary-yellow);
        border: none;
        padding: 10px 15px;
        border-radius: 8px;
        font-weight: bold;
        cursor: pointer;
        transition: background 0.3s;
    }

    .pack-card .pack-button:hover {
        background: #e6b800;
    }

    /* Quand un pack est sélectionné */
    .pack-card.selected {
        border-color: var(--primary-yellow);
        background: #FFF8E1;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        transform: scale(1.03);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    /* Bouton animé */
    .pack-button {
        background: var(--primary-yellow);
        color: #000;
        border: none;
        padding: 10px 15px;
        border-radius: 8px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .pack-button:hover {
        background: #e6b800;
        transform: translateY(-2px);
    }


    /* Responsive bonus */
    @media (max-width: 768px) {
        .packs-grid {
            grid-template-columns: 1fr;
        }
    }


    /* ============================================
   NOUVEAUX STYLES (Ajoutés)
   ============================================ */

/* En-tête avec badge */
.pack-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.pack-badge .badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
}

/* Onglets Services/Produits */
.pack-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.tab-btn {
    flex: 1;
    padding: 8px 10px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.tab-btn i {
    font-size: 14px;
}

.tab-btn:hover {
    color: var(--primary-yellow);
}

.tab-btn.active {
    color: var(--primary-yellow);
    border-bottom-color: var(--primary-yellow);
}

/* Contenu des onglets */
.pack-content {
    flex: 1;
    margin-bottom: 15px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.features-wrapper {
    position: relative;
}

/* Scrollbar personnalisée */
.pack-features::-webkit-scrollbar {
    width: 4px;
}

.pack-features::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.pack-features::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.pack-features::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Features cachées */
.pack-features-hidden {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    animation: slideDown 0.3s ease;
}

.pack-features-hidden li {
    font-size: 14px;
    margin-bottom: 2px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.pack-features-hidden li::before {
    content: "✓";
    margin-right: 8px;
    color: var(--primary-yellow);
    font-weight: bold;
}

.pack-features-hidden.show {
    display: block;
}

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

/* Bouton "Voir plus" */
.show-more {
    margin-top: 10px;
}

.btn-show-more {
    width: 100%;
    padding: 6px 10px;
    border: 1px dashed #ddd;
    background: #f8f9fa;
    color: #666;
    font-size: 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-show-more:hover {
    background: #e9ecef;
    border-color: #ccc;
    color: var(--primary-yellow);
}

.btn-show-more i {
    transition: transform 0.3s ease;
    font-size: 16px;
}

.btn-show-more.expanded i {
    transform: rotate(180deg);
}

/* État vide */
.empty-state {
    text-align: center;
    padding: 30px 15px;
    color: #999;
}

.empty-state i {
    font-size: 36px;
    margin-bottom: 8px;
    opacity: 0.5;
}

.empty-state p {
    margin: 0;
    font-size: 13px;
}

/* Responsive bonus */
@media (max-width: 768px) {
    .packs-grid {
        grid-template-columns: 1fr;
    }

    .pack-card {
        min-height: auto;
    }

    .tab-btn {
        font-size: 11px;
        padding: 6px 8px;
    }

    .tab-btn i {
        font-size: 12px;
    }
}





    .step-content .hidden{
        display: none;
    }

    .mb-3 {
        margin-bottom: 30px;
    }

    .mb-2 {
        margin-bottom: 20px;
    }
    /* Section de paiement */
    .payment-section {
        background: #f8f9fa;

        border-radius: 15px;
        margin-top: 30px;
    }

    /* Mode de paiement */
    .payment-mode-section {
        margin-bottom: 30px;
    }

    .payment-mode-title {
        font-size: 20px;
        font-weight: bold;
        color: var(--text-primary);
        margin-bottom: 20px;
    }

    .radio-group {
        display: flex;
        gap: 30px;
    }

    .radio-group label {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 16px;
        color: var(--text-primary);
        cursor: pointer;
        font-weight: 500;
    }

    .radio-group input[type="radio"] {
        width: 20px;
        height: 20px;
        margin: 0;
        accent-color: var(--primary-yellow);
        cursor: pointer;
    }

    /* Section localisation */
    .location-section {
        margin-bottom: 30px;
    }

    .location-title {
        font-size: 16px;
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 15px;
    }

    .location-section input[type="text"] {
        width: 100%;
        padding: 16px;
        padding-right: 50px;
        border: 2px solid var(--border-color);
        border-radius: 10px;
        font-size: 16px;
        background: white;
        transition: border-color 0.3s ease;
        position: relative;
    }

    .location-section input[type="text"]:focus {
        outline: none;
        border-color: var(--primary-yellow);
    }

    .location-section input[type="text"]::placeholder {
        color: #999;
    }

    /* Icône de localisation */
    .location-section {
        position: relative;
    }



    /* Section Checkout */
    .checkout-section {
        background: white;
        padding: 25px;
        border-radius: 15px;
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-light);
    }

    .checkout-title {
        font-size: 20px;
        font-weight: bold;
        color: var(--text-primary);
        margin-bottom: 20px;
    }

    .checkout-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
        font-size: 16px;
    }

    .checkout-item-name {
        color: #999;
        font-weight: 400;
    }

    .checkout-item-price {
        color: var(--text-primary);
        font-weight: 600;
    }

    .checkout-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: bold;
        font-size: 18px;
        color: var(--text-primary);
        border-top: 2px solid var(--primary-yellow);
        padding-top: 15px;
        margin-top: 10px;
    }

    /* Section Checkout - à ajouter dans votre HTML */
    .checkout-section {
        background: white;
        padding: 25px;
        border-radius: 15px;
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-light);
        margin-top: 20px;
    }

    /* Messages d'erreur */
    .error {
        color: #e74c3c;
        font-size: 14px;
        margin-top: 5px;
        display: block;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .payment-section {
            padding: 20px;
        }

        .radio-group {
            gap: 20px;
        }

        .checkout-section {
            padding: 20px;
        }

        .location-section::after {
            top: 50px;
        }
    }

    @media (max-width: 480px) {
        .radio-group {
            flex-direction: column;
            gap: 15px;
        }

        .checkout-item {
            font-size: 14px;
        }

        .checkout-total {
            font-size: 16px;
        }
    }



    /* Section Upload documents */
    .upload-section {
        margin-bottom: 35px;
    }

    .upload-title {
        font-size: 18px;
        font-weight: bold;
        color: var(--text-primary);
        margin-bottom: 20px;
    }

    .upload-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 20px;
    }

    .upload-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 16px 20px;
        border: 2px solid var(--border-color);
        border-radius: 10px;
        background: white;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 14px;
        color: var(--text-secondary);
    }

    .upload-item:hover {
        border-color: var(--primary-yellow);
        background: #FFF8E1;
    }

    .upload-item.uploaded {
        border-color: var(--primary-yellow);
        background: #FFF8E1;
        color: var(--text-primary);
    }

    .upload-item.featured {
        border-color: var(--primary-yellow);
        background: #FFF8E1;
    }

    .upload-icon {
        width: 24px;
        height: 24px;
        background: var(--primary-yellow);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        flex-shrink: 0;
    }

    .upload-icon::before {
        content: "📤";
    }

    .upload-text {
        font-weight: 500;
    }

    /* Section Nos agences */
    .agencies-section {
        margin-bottom: 35px;
    }

    .agencies-title {
        font-size: 18px;
        font-weight: bold;
        color: var(--text-primary);
        margin-bottom: 10px;
    }

    .agencies-description {
        font-size: 14px;
        color: var(--text-secondary);
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .agency-select {
        width: 100%;
        padding: 16px;
        border: 2px solid var(--border-color);
        border-radius: 10px;
        font-size: 16px;
        background: white;
        cursor: pointer;
        transition: border-color 0.3s ease;
        appearance: none;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
        background-position: right 12px center;
        background-repeat: no-repeat;
        background-size: 16px;
        padding-right: 40px;
    }

    .agency-select:focus {
        outline: none;
        border-color: var(--primary-yellow);
    }


    .agency-search-container {
    position: relative;
}

.agency-search-wrapper {
    position: relative;
    margin-bottom: 10px;
}

.agency-search-input {
    width: 100%;
    padding: 16px 50px 16px 45px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    background: white;
    transition: all 0.3s ease;
}

.agency-search-input:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.1);
}

.agency-search-input.has-selection {
    display: none;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 16px;
    pointer-events: none;
}

.clear-search {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--text-secondary);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-search:hover {
    background: var(--primary-yellow);
    color: var(--text-primary);
}

.agency-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 10px 10px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.agency-dropdown.show {
    display: block;
}

.agency-option {
    padding: 15px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.agency-option:last-child {
    border-bottom: none;
}

.agency-option:hover {
    background: #FFF8E1;
    border-left: 4px solid var(--primary-yellow);
    padding-left: 12px;
}

.agency-option.no-results {
    cursor: default;
    background: #f8f9fa;
    color: var(--text-secondary);
}

.agency-option.no-results:hover {
    background: #f8f9fa;
    border-left: none;
    padding-left: 16px;
}

.agency-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-size: 15px;
}

.agency-details {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.3;
}

.selected-agency {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFFBF0 100%);
    border: 2px solid var(--primary-yellow);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.selected-agency-content {
    flex: 1;
}

.selected-agency-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-size: 15px;
}

.selected-agency-details {
    font-size: 13px;
    color: var(--text-secondary);
}

.remove-selection {
    background: var(--primary-yellow);
    color: var(--text-primary);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.remove-selection:hover {
    background: var(--text-primary);
    color: var(--primary-yellow);
    transform: scale(1.1);
}

/* Scrollbar personnalisé pour le dropdown */
.agency-dropdown::-webkit-scrollbar {
    width: 6px;
}

.agency-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.agency-dropdown::-webkit-scrollbar-thumb {
    background: var(--primary-yellow);
    border-radius: 3px;
}

.agency-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-yellow);
}

/* Responsive */
@media (max-width: 768px) {
    .agency-search-input {
        padding: 14px 45px 14px 40px;
        font-size: 15px;
    }

    .agency-dropdown {
        max-height: 200px;
    }

    .agency-option {
        padding: 12px 14px;
    }
}

    /**END SECTION ANGECY */

    /* Section Mode de paiement (méthodes) */
    .payment-methods-section {
        margin-bottom: 30px;
    }

    .payment-methods-title {
        font-size: 18px;
        font-weight: bold;
        color: var(--text-primary);
        margin-bottom: 10px;
    }

    .payment-methods-description {
        font-size: 14px;
        color: var(--text-secondary);
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .payment-methods {
        display: flex;
        gap: 15px;
    }

    .payment-method {
        flex: 1;
        padding: 16px 12px;
        border: 2px solid var(--border-color);
        border-radius: 10px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        background: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        font-weight: 500;
    }

    .payment-method:hover {
        border-color: var(--primary-yellow);
        background: #FFF8E1;
    }

    .payment-method.selected {
        border-color: var(--primary-yellow);
        background: #FFF8E1;
        box-shadow: 0 4px 12px rgba(255, 204, 0, 0.2);
    }

    .payment-method-icon {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        margin-bottom: 5px;
    }

    /* Icônes spécifiques */
    .payment-method[data-method="momo"] .payment-method-icon {
        background: var(--primary-yellow);
    }

    .payment-method[data-method="momo"] .payment-method-icon::before {
        content: "💰";
    }

    .payment-method[data-method="card"] .payment-method-icon {
        background: #3498db;
    }

    .payment-method[data-method="card"] .payment-method-icon::before {
        content: "💳";
    }

    .payment-method[data-method="airtime"] .payment-method-icon {
        background: #9b59b6;
    }

    .payment-method[data-method="airtime"] .payment-method-icon::before {
        content: "📱";
    }

    .payment-method-text {
        color: var(--text-primary);
        font-weight: 500;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .upload-grid {
            grid-template-columns: 1fr;
        }

        .payment-methods {
            flex-direction: column;
            gap: 10px;
        }

        .payment-method {
            flex-direction: row;
            justify-content: flex-start;
            text-align: left;
            padding: 12px 16px;
        }

        .payment-method-icon {
            margin-bottom: 0;
            width: 32px;
            height: 32px;
        }
    }

    @media (max-width: 480px) {
        .upload-item {
            padding: 12px 16px;
            font-size: 13px;
        }

        .upload-icon {
            width: 20px;
            height: 20px;
        }
    }








    /* Step 5 - Checkout et Paiement */

    /* Section Checkout Summary */
    .checkout-summary {
        background: var(--background-light);
        border-radius: 15px;
        padding: 25px;
        margin-bottom: 30px;
        border: 1px solid var(--border-color);
    }

    .checkout-header h3 {
        font-size: 20px;
        font-weight: bold;
        color: var(--text-primary);
        margin-bottom: 20px;
    }

    .order-details {
        background: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: var(--shadow-light);
    }

    .order-label {
        font-size: 14px;
        color: var(--text-secondary);
        margin-bottom: 15px;
        font-weight: 500;
    }

    .order-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 15px;
    }

    .item-description {
        font-size: 15px;
        color: var(--text-secondary);
    }

    .item-amount {
        font-size: 15px;
        font-weight: 600;
        color: var(--text-primary);
    }

    .order-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: bold;
        font-size: 18px;
        color: var(--text-primary);
        padding-top: 15px;
        border-top: 2px solid var(--primary-yellow);
    }

    /* Section Mode de paiement */
    .payment-selection {
        margin-bottom: 30px;
    }

    .payment-selection h3 {
        font-size: 20px;
        font-weight: bold;
        color: var(--text-primary);
        margin-bottom: 8px;
    }

    .payment-description {
        font-size: 14px;
        color: var(--text-secondary);
        margin-bottom: 25px;
        line-height: 1.4;
    }

    /* Grille des méthodes de paiement */
    .payment-methods-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin-bottom: 25px;
    }

    .payment-option {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 20px 15px;
        border: 2px solid var(--border-color);
        border-radius: 12px;
        background: white;
        cursor: pointer;
        transition: all 0.3s ease;
        min-height: 90px;
        justify-content: center;
    }

    .payment-option:hover {
        border-color: var(--primary-yellow);
        box-shadow: var(--shadow-light);
    }

    .payment-option.selected {
        border-color: var(--primary-yellow);
        background: #FFF8E1;
        box-shadow: 0 4px 15px rgba(255, 204, 0, 0.2);
    }

    .payment-icon-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .payment-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        font-weight: bold;
    }

    .momo-icon {
        background: var(--primary-yellow);
        color: var(--text-primary);
    }

    .momo-icon::before {
        content: "Mo";
    }

    .card-icon {
        background: #3498db;
        color: white;
    }

    .card-icon::before {
        content: "💳";
    }

    .airtime-icon {
        background: #9b59b6;
        color: white;
    }

    .airtime-icon::before {
        content: "📱";
    }

    .payment-label {
        font-size: 13px;
        font-weight: 500;
        color: var(--text-primary);
        text-align: center;
        line-height: 1.2;
    }

    /* Options de validation */
    .validation-options {
        background: var(--background-light);
        padding: 20px;
        border-radius: 12px;
        margin-bottom: 25px;
    }

    .validation-choice {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 0;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .validation-choice:hover {
        background: rgba(255, 204, 0, 0.1);
        border-radius: 8px;
        padding-left: 8px;
    }

    .radio-button {
        width: 18px;
        height: 18px;
        border: 2px solid var(--border-color);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: all 0.2s ease;
    }

    .radio-button.checked {
        border-color: var(--primary-yellow);
        background: var(--primary-yellow);
    }

    .radio-button.checked::before {
        content: "";
        width: 8px;
        height: 8px;
        background: var(--text-primary);
        border-radius: 50%;
    }

    .validation-choice span {
        font-size: 15px;
        color: var(--text-primary);
        font-weight: 500;
    }

    /* Bouton de paiement */
    .payment-btn {
        background: var(--primary-yellow) !important;
        color: var(--text-primary) !important;
        font-weight: bold;
        font-size: 16px;
        transition: all 0.3s ease;
    }

    .payment-btn:hover {
        background: var(--secondary-yellow) !important;
        transform: translateY(-2px);
    }

    .payment-btn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .payment-methods-grid {
            grid-template-columns: 1fr;
            gap: 12px;
        }

        .payment-option {
            flex-direction: row;
            justify-content: flex-start;
            text-align: left;
            padding: 15px 20px;
            min-height: auto;
        }

        .payment-icon {
            width: 28px;
            height: 28px;
        }

        .payment-label {
            font-size: 14px;
        }

        .checkout-summary,
        .validation-options {
            padding: 20px;
        }
    }

    @media (max-width: 480px) {
        .order-item {
            font-size: 14px;
        }

        .order-total {
            font-size: 16px;
        }

        .payment-option {
            padding: 12px 15px;
        }
    }



    /*** SECTION LOADING ***/




        .loading-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(3px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        border-radius: 15px;
        padding: 30px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        min-width: 250px;
        max-width: 90%;
    }

    .loading-spinner {
            width: 40px;
            height: 40px;
            border: 3px solid
        #f3f3f3;
            border-top: 3px solid
        #FFCC00;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 15px;
        }


    /* Animation de rotation */
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* Texte de loading */
    .loading-text {
        color: #333;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 5px;
        text-align: center;
    }
    .loading-subtext {
        color: #666;
        font-size: 12px;
        text-align: center;
        line-height: 1.3;
        max-width: 200px;
    }

    /* Points animés */
    .loading-dots {
        display: inline-block;
    }

    .loading-dots::after {
        content: '';
        animation: dots 1.5s infinite;
    }

    @keyframes dots {
        0%, 20% { content: ''; }
        40% { content: '.'; }
        60% { content: '..'; }
        80%, 100% { content: '...'; }
    }

    /* Variante avec logo MTN */
    .loading-with-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .loading-logo {
        width: 45px;
        height: 25px;
        background: #000;
        color:#FFCC00;
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 11px;
        margin-bottom: 10px;
    }

    .loading-logo::before {
        content: "MTN";
    }

    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.05); }
        100% { transform: scale(1); }
    }

    /* Version compacte */
    .loading-compact {
        padding: 30px;
        min-height: 120px;
    }

    .loading-compact .loading-spinner {
        width: 40px;
        height: 40px;
        margin-bottom: 15px;
    }

    .loading-compact .loading-text {
        font-size: 15px;
    }

    .loading-compact .loading-subtext {
        font-size: 13px;
    }

    /* État désactivé pour la carte */
    .register-card.loading {
        pointer-events: none;
        position: relative;
    }

    .register-card.loading * {
        opacity: 0.6;
        transition: opacity 0.3s ease;
    }

    .loading {
        pointer-events: none;
    }

    .loading > *:not(.loading-overlay) {
        opacity: 0.6;
        transition: opacity 0.3s ease;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .loading-spinner {
            width: 45px;
            height: 45px;
        }

        .loading-text {
            font-size: 15px;
        }

        .loading-subtext {
            font-size: 13px;
        }
    }

    @media (max-width: 480px) {
        .loading-overlay {
            border-radius: 20px;
        }

        .loading-spinner {
            width: 40px;
            height: 40px;
        }

        .loading-text {
            font-size: 14px;
        }
    }





    /*** END SECTION LOADING ***/


    /*** SECTION MODAL MAPS REGISTER  ***/

    .address-input-wrapper {
        position: relative;
    }

    .location-pin-btn {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        background: var(--primary-yellow);
        border: none;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .location-pin-btn:hover {
        background: var(--secondary-yellow);
        transform: translateY(-50%) scale(1.1);
    }


    /* Modal overlay */
.map-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(3px);
    padding: 20px;
}

/* Contenu du modal - Structure flexbox */
.map-modal-content {
    background: white;
    border-radius: 15px;
    width: 100%;
    max-width: 700px;
    max-height: calc(100vh - 40px); /* ✅ Hauteur maximale adaptative */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== HEADER - FIXE ===== */
.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e5e5;
    background: #f8f9fa;
    flex-shrink: 0; /* ✅ Ne pas rétrécir */
}

.map-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}

.close-modal-btn {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #666;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.close-modal-btn:hover {
    background: #e5e5e5;
    color: #333;
    transform: scale(1.1);
}

/* ===== INSTRUCTIONS - FIXE ===== */
.map-instructions {
    padding: 12px 20px;
    font-size: 13px;
    color: #666;
    background: #fff8e1;
    border-left: 4px solid var(--primary-yellow);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0; /* ✅ Ne pas rétrécir */
}

.instruction-icon {
    font-size: 16px;
    flex-shrink: 0;
}

/* ===== CONTAINER SCROLLABLE - FLEXIBLE ===== */
.map-container-wrapper {
    flex: 1; /* ✅ Prend tout l'espace disponible */
    overflow-y: auto; /* ✅ Scroll si nécessaire */
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0; /* ✅ Important pour le flex */
}

/* ===== CARTE GOOGLE MAPS - FLEXIBLE ===== */
#map {
    width: 100%;
    flex: 1; /* ✅ S'adapte à l'espace disponible */
    min-height: 250px; /* ✅ Hauteur minimum */
    max-height: 500px; /* ✅ Hauteur maximum */
}

/* ===== APERÇU DE LA POSITION ===== */
.location-preview {
    padding: 12px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e5e5e5;
    font-size: 13px;
    color: #333;
    min-height: 50px;
    line-height: 1.5;
    flex-shrink: 0;
}

.location-preview:empty {
    display: none; /* Masquer si vide */
}

.location-preview strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-primary);
}

/* ===== ACTIONS - FIXÉES EN BAS ===== */
.modal-actions {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e5e5e5;
    flex-shrink: 0; /* ✅ Ne pas rétrécir */
}

.get-my-location-btn,
.confirm-location-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.get-my-location-btn {
    background: #6c757d;
    color: white;
}

.get-my-location-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.confirm-location-btn {
    background: var(--primary-yellow);
    color: #000;
}

.confirm-location-btn:hover {
    background: var(--secondary-yellow);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 204, 0, 0.4);
}

/* ===== RESPONSIVE - TABLETTE ===== */
@media (max-width: 768px) {
    .map-modal {
        padding: 10px;
    }

    .map-modal-content {
        max-width: 100%;
        max-height: calc(100vh - 20px);
        border-radius: 12px;
    }

    .map-header {
        padding: 14px 16px;
    }

    .map-header h3 {
        font-size: 16px;
    }

    .map-instructions {
        padding: 10px 16px;
        font-size: 12px;
    }

    .google-map {
        min-height: 200px;
        max-height: 350px;
    }

    .location-preview {
        padding: 10px 16px;
        font-size: 12px;
    }

    .modal-actions {
        padding: 14px 16px;
        gap: 8px;
    }

    .get-my-location-btn,
    .confirm-location-btn {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* ===== RESPONSIVE - MOBILE ===== */
@media (max-width: 480px) {
    .map-modal {
        padding: 5px;
    }

    .map-modal-content {
        max-height: calc(100vh - 10px);
        border-radius: 10px;
    }

    .map-header h3 {
        font-size: 15px;
    }

    .instruction-icon {
        display: none; /* Masquer l'icône sur très petit écran */
    }

    .google-map {
        min-height: 180px;
        max-height: 300px;
    }

    .modal-actions {
        flex-direction: column;
        gap: 8px;
    }

    .get-my-location-btn,
    .confirm-location-btn {
        width: 100%;
    }
}

/* ===== TRÈS PETIT ÉCRAN (hauteur limitée) ===== */
@media (max-height: 600px) {
    .map-modal-content {
        max-height: calc(100vh - 20px);
    }

    .google-map {
        min-height: 150px;
        max-height: 250px;
    }

    .map-instructions {
        padding: 8px 16px;
    }

    .location-preview {
        padding: 8px 16px;
        min-height: 40px;
    }

    .modal-actions {
        padding: 12px 16px;
    }
}

/* ===== SCROLLBAR PERSONNALISÉE ===== */
.map-container-wrapper::-webkit-scrollbar {
    width: 6px;
}

.map-container-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.map-container-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-yellow);
    border-radius: 3px;
}

.map-container-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-yellow);
}

/* Pour Firefox */
.map-container-wrapper {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-yellow) #f1f1f1;
}


    /*** Modal END **/




    /** SECTION SERVICES SUPPLEMENTAIRES ***/


    /* Bouton ajouter services */
        .add-services-section {
            margin: 20px 0;
            text-align: center;
        }

        .add-services-btn {
            background: transparent;
            border: 2px solid var(--primary-yellow);
            color: var(--text-primary);
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .add-services-btn:hover {
            background: var(--primary-yellow);
            transform: translateY(-1px);
        }

        /* Barre de récap */
        .services-recap-bar {
            background: var(--primary-yellow);
            border-radius: 10px;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 20px 0;
        }

        .recap-content {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .recap-text {
            font-weight: 500;
            color: #000;
            font-size: 14px;
        }

        .recap-price {
            font-weight: 600;
            font-size: 16px;
            color: #000;
        }

        .edit-services-btn {
            background: #000;
            color: var(--primary-yellow);
            border: none;
            padding: 8px 16px;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
        }

        /* Modal services */
        .services-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
        }

        .services-modal-content {
            background: white;
            border-radius: 15px;
            max-width: 600px;
            width: 90vw;
            max-height: 80vh;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 25px;
            border-bottom: 1px solid #e5e5e5;
        }

        .modal-header h3 {
            margin: 0;
            font-size: 18px;
            font-weight: 600;
        }

        .modal-body {
            padding: 20px 25px;
            max-height: 400px;
            overflow-y: auto;
        }

        .modal-subtitle {
            color: var(--text-secondary);
            margin-bottom: 20px;
            font-size: 14px;
        }

        .service-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            border: 1px solid #e5e5e5;
            border-radius: 8px;
            margin-bottom: 10px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .service-row:hover {
            border-color: var(--primary-yellow);
        }

        .service-row.selected {
            border-color: var(--primary-yellow);
            background: #FFF8E1;
        }

        .service-title {
            font-weight: 500;
            margin-bottom: 3px;
        }

        .service-desc {
            font-size: 13px;
            color: var(--text-secondary);
        }

        .service-actions {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 5px;
        }

        .service-price {
            font-weight: 600;
            font-size: 14px;
        }

        .status-badge {
            background: #f8f9fa;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 500;
        }

        .status-badge.selected {
            background: var(--primary-yellow);
            color: #000;
        }

        .modal-footer {
            padding: 20px 25px;
            border-top: 1px solid #e5e5e5;
        }

        .confirm-services-btn {
            width: 100%;
            background: var(--primary-yellow);
            border: none;
            padding: 15px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
        }



        .service-row {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px;
            border: 1px solid #e5e5e5;
            border-radius: 8px;
            margin-bottom: 10px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .service-icon {
            width: 48px;
            height: 48px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f8f9fa;
            flex-shrink: 0;
        }

        .service-icon img {
            width: 32px;
            height: 32px;
            object-fit: contain;
        }

        .default-icon {
            font-size: 24px;
        }

        .service-info {
            flex: 1;
        }

        .service-actions {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 5px;
        }



    /*** END SECTION SERVICES SUPPLEMENTAIRES ***/





   /***  cycle de facturation ***/

    .billing-cycle-section {
        margin-bottom: 24px;
    }


    .billing-cycle-header {
        margin-bottom: 16px;
    }

    .billing-cycle-title {
        font-size: 16px;
        font-weight: 600;
        color: var(--text-primary, #333);
        margin-bottom: 4px;
    }

    .billing-cycle-description {
        font-size: 13px;
        color: var(--text-secondary, #666);
    }

    /* Options en ligne */
    .billing-cycle-options {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    /* Option individuelle - Compacte */
    .cycle-option {
        flex: 1;
        min-width: 180px;
        position: relative;
        background: white;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        padding: 14px 16px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .cycle-option:hover {
        border-color: var(--primary-yellow, #ffc107);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 193, 7, 0.15);
    }

    .cycle-option.selected {
        border-color: var(--primary-yellow, #ffc107);
        background: #fffbf0;
        box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
    }

    /* Contenu de l'option */
    .cycle-content {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    /* Icône de sélection */
    .cycle-check {
        flex-shrink: 0;
    }

    .cycle-check i {
        font-size: 24px;
        color: #ccc;
        transition: color 0.3s ease;
    }

    .cycle-option.selected .cycle-check i {
        color: var(--primary-yellow, #ffc107);
    }

    /* Informations du cycle */
    .cycle-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .cycle-label {
        font-size: 15px;
        font-weight: 600;
        color: var(--text-primary, #333);
    }

    .cycle-days {
        font-size: 12px;
        color: var(--text-secondary, #999);
    }

    /* Tag populaire - Discret */
    .popular-tag {
        flex-shrink: 0;
        font-size: 10px;
        padding: 3px 8px;
        background: #4caf50;
        color: white;
        border-radius: 4px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Message d'erreur */
    .error {
        display: block;
        margin-top: 8px;
        padding: 8px 12px;
        background: #fee;
        border-left: 3px solid #f44;
        border-radius: 4px;
        color: #c33;
        font-size: 13px;
    }

    /* Responsive - Mobile */
    @media (max-width: 768px) {
        .billing-cycle-options {
            flex-direction: column;
        }

        .cycle-option {
            min-width: 100%;
        }

        .billing-cycle-title {
            font-size: 15px;
        }

        .billing-cycle-description {
            font-size: 12px;
        }
    }

    /* Version ultra-compacte pour petits écrans */
    @media (max-width: 480px) {
        .cycle-content {
            gap: 8px;
        }

        .cycle-label {
            font-size: 14px;
        }

        .cycle-days {
            font-size: 11px;
        }

        .popular-tag {
            font-size: 9px;
            padding: 2px 6px;
        }
    }






    /** Modal Chargement pendant le poolling au paiement **/




    .payment-in-progress-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.8);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10000;
    }

    .payment-in-progress-modal {
        background: white;
        padding: 40px;
        border-radius: 15px;
        max-width: 500px;
        text-align: center;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }

    .payment-spinner {
        width: 60px;
        height: 60px;
        margin: 0 auto 20px;
        border: 4px solid #f3f3f3;
        border-top: 4px solid #FFCC00;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .payment-status-indicator {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin: 20px 0;
        font-size: 16px;
        font-weight: 600;
    }

    .pulse-dot {
        width: 12px;
        height: 12px;
        background: #FFCC00;
        border-radius: 50%;
        animation: pulse 1.5s infinite;
    }

    @keyframes pulse {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.5; transform: scale(1.2); }
    }

    .success-icon {
        width: 30px;
        height: 30px;
        background: #28a745;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    }

    .error-icon {
        width: 30px;
        height: 30px;
        background: #dc3545;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    }

    .payment-message {
        margin: 15px 0;
        color: #666;
        font-size: 14px;
    }

    .ussd-instructions {
        background: #FFF8E1;
        padding: 20px;
        border-radius: 10px;
        margin: 20px 0;
        border-left: 4px solid #FFCC00;
    }

    .ussd-instructions p {
        margin: 5px 0;
        font-size: 14px;
    }

    .payment-attempts {
        font-size: 12px;
        color: #999;
        margin-top: 15px;
    }

