.modal-overlay-recharge {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    justify-content: center;
    align-items: center;
}

.modal-overlay-recharge.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.modal-content-recharge {
    position: relative;
    background: #FFF;
    width: 90%;
    max-width: 600px;
    padding: 24px;
    border-radius: 20px;
    transform: scale(0.7);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal-overlay-recharge.active .modal-content-recharge {
    transform: scale(1);
    opacity: 1;
}

.modal-header-recharge {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.modal-favicon-recharge {
    width: 40px;
    height: 40px;
    border-radius: 6px;
}

.modal-status-recharge {
    position: absolute;
    left: 47%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    line-height: 27px; /* 168.75% */
    color: #22364D;
    font-size: 16px;
    font-weight: 700;
    line-height: 40px; /* 250% */
}

/* Ajustement pour le bouton de fermeture */
.modal-close-recharge {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6E7F93;
    padding: 8px;
    transition: opacity 0.2s ease;
}

.modal-close-recharge:hover {
    opacity: 0.7;
}

.modal-text-recharge p {
    color: #223245;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px; /* 155.556% */
    margin-bottom: 50px;
}

.modal-actions-recharge {
    display: flex;
    gap: 16px;
}

.modal-actions-recharge button {
    flex: 1;
    padding: 11px 51px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    line-height: 27px; /* 180% */
}

.btn-primary-recharge {
    background: #0958A5;
    color: #FFF;
    font-weight: 600;
}

.features-list {
    margin: 30px 0;
    padding: 0 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #223245;
}

.feature-icon {
    color: #0958A5;
    font-weight: bold;
    margin-right: 12px;
    font-style: normal;
}

.price-tag {
    text-align: center;
    margin: 30px 0;
}

.amount {
    font-size: 32px;
    font-weight: 700;
    color: #0958A5;
}

.period {
    display: block;
    font-size: 14px;
    color: #6E7F93;
    margin-top: 5px;
}

.payment-methods {
    text-align: center;
    margin-bottom: 30px;
}

.payment-image {
    max-width: 350px;
    height: auto;
}

/* Ajustement du modal pour le nouveau contenu */
.modal-content-recharge {
    max-width: 500px;
    padding: 30px;
}

.modal-text-recharge p {
    margin-bottom: 20px;
}

.recharge-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% - 28px);
    padding: 14px;
    background: #0958A5;
    color: #FFF;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.recharge-button:hover {
    background: #074884;
    color: #FFF;
    text-decoration: none;
}
