.cnr-checkout-account-wrapper {
    max-width:1100px;
    margin:0 auto;
    display:flex;
    gap:40px;
    align-items:stretch;
}



.cnr-checkout-account-card {
    padding: 40px 36px 20px;
    flex: 1;
}

.cnr-checkout-account-card.right {
    background:#e5f4ff;
    border-radius:24px;
    box-shadow:0 12px 30px rgba(0,0,0,0.06);
    margin-bottom:20%;
}

.cnr-checkout-account-title {
    font-size:28px;
    font-weight:600;
    margin-bottom:28px;
    text-align:center;
}

.cnr-checkout-account-subtitle {
    font-size:22px;
    font-weight:600;
    line-height:1.3;
    margin-bottom:8px;
    text-align:center;
}

.cnr-checkout-account-subtitle + p {
    font-size:16px;
    text-align:center;
    margin-bottom:28px;
}

.cnr-checkout-account-price {
    font-size:34px;
    font-weight:700;
    text-align:center;
    margin-bottom:6px;
}

.cnr-checkout-account-price span {
    font-size:16px;
    font-weight:400;
    margin-left:4px;
}

.cnr-checkout-account-separator {
    height:1px;
    background:#c9dcea;
    margin:24px 0 26px;
}

.cnr-checkout-account-section-title {
    font-weight:600;
    margin-bottom:18px;
}

.cnr-checkout-account-list {
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:12px;
    font-size:15px;
    line-height:1.4;
}

.cnr-checkout-account-list li {
    display:flex;
    align-items:flex-start;
    gap:10px;
}

.cnr-checkout-account-check,
.cnr-checkout-account-not-check{
    width:22px;
    height:22px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    color:#fff;
    font-size:14px;
    margin-top:2px;
}

.cnr-checkout-account-check {
    background:#32cd76;
}
.cnr-checkout-account-not-check{
    background:#ee0000;
}


.cnr-checkout-account-btn {
    display:inline-block;
    border:none;
    border-radius:999px;
    padding:12px 34px;
    font-size:16px;
    font-weight:600;
    background:#1c8dff;
    color:#fff;
    cursor:pointer;
    text-align:center;
    margin:26px auto 10px;
    display:block;
    text-decoration:none;
}

.cnr-checkout-account-btn:hover {
    filter:brightness(0.95);
}

.cnr-checkout-account-link {
    text-align:center;
    font-size:14px;
    text-decoration:underline;
    cursor:pointer;
}

.cnr-checkout-account-badge {
    display:block;
    margin:0 auto 24px;
    padding:10px 40px;
    border-radius:999px;
    border:1px solid #e3e7f0;
    font-weight:600;
    text-align:center;
    background:#f7f9ff;
    color:#1c68ff;
}

@media (max-width:900px) {
    .cnr-checkout-account-wrapper {
        flex-direction:column;
    }
}


.cnr-account {
    max-width: 900px;
    margin: 40px auto 60px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1b2744;
    text-align: center;
}

/* Titre + bouton statut */
.cnr-account-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 18px;
}

.cnr-account-status-btn {
    display: inline-block;
    padding: 2px 46px;
    border-radius: 999px;
    border: 2px solid #1c8dff;
    background: #fff;
    color: #1c8dff;
    font-size: 16px;
    font-weight: 600;
    cursor: default;
    margin-bottom: 24px;
}

/* Bloc haut (infos + carte bancaire) */
.cnr-account-top {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 28px;
}

.cnr-account-infos {
    text-align: left;
    font-size: 14px;
    color: #555;
}

.cnr-account-infos ul {
    list-style: disc;
    padding-left: 18px;
}

.cnr-account-infos li + li {
    margin-top: 10px;
}

.cnr-account-infos a {
    font-size: 12px;
    color: #777;
    text-decoration: underline;
}

/* Carte bancaire */
.cnr-account-card {
    background: #f7f8fb;
    border-radius: 18px;
    border: 2px solid gray;
    padding: 20px 22px;
    min-width: 220px;
    text-align: left;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    display:flex;
    font-size: 15px;
}

.cnr-account-card-icon {
    width: 50px;
    height: 30px;
    border-radius: 6px;
    position: relative;
    margin-bottom: 12px;
}

.cnr-card-chip {
    position: absolute;
    width: 14px;
    height: 10px;
    border-radius: 3px;
    background: #fff;
    top: 8px;
    left: 6px;
}

.cnr-account-card-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.cnr-account-card-line {
    font-size: 13px;
    color: #666;
}

.cnr-account-card-btn {
    margin-top: 14px;
    border-radius: 999px;
    border: none;
    padding: 2px 18px;
    font-size: 13px;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid #d0d7e5;
    cursor: pointer;
}

.cnr-account-card-btn:hover {
    background: #eef2fb;
}

/* Messages d’alerte */
.cnr-warning-main {
    color: #d70000;
    font-weight: 600;
    margin-bottom: 6px;
}

.cnr-warning-sub {
    font-size: 14px;
    margin-bottom: 28px;
}

.cnr-warning-sub a {
    color: #d70000;
    font-weight: 600;
    text-decoration: underline;
}

/* Avantages */
.cnr-advantages-title {
    font-weight: 600;
    margin-bottom: 18px;
}

.cnr-advantages-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 20px;
    max-width: 650px;
    text-align: left;
}

.cnr-advantages-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #1c4fa1;
}

.cnr-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #32cd76;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 14px;
    margin-top: 2px;
}

/* Code de gratuité */
.cnr-free-code {
    margin-top: 16px;
}

#cnr-bloc-renew.loading {
    position: relative;
    opacity: 0.5;
    pointer-events: none;
}

#cnr-bloc-renew.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-top: -12px;
    margin-left: -12px;
    border: 3px solid #ccc;
    border-top-color: #000;
    border-radius: 50%;
    animation: cnr-spin 0.7s linear infinite;
}

@keyframes cnr-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .cnr-account-top {
        flex-direction: column;
        align-items: center;
    }

    .cnr-account-infos {
        text-align: center;
    }

    .cnr-account-infos ul {
        list-style: none;
        padding-left: 0;
    }
}

.rules-box ul {
    list-style: none;
    padding-left: 0;
}

.rules-box li {
    margin: 6px 0;
    padding-left: 25px;
    background-repeat: no-repeat;
    background-position: 0 3px;
    color: #c00;
}

.rules-box li {
    background-image: url("data:image/svg+xml;utf8,<svg width='16' height='16' viewBox='0 0 16 16' fill='red' xmlns='http://www.w3.org/2000/svg'><path d='M8 6.586L3.757 2.343 2.343 3.757 6.586 8l-4.243 4.243 1.414 1.414L8 9.414l4.243 4.243 1.414-1.414L9.414 8l4.243-4.243-1.414-1.414L8 6.586z'/></svg>");
}

.rules-box li.valid {
    color: #228B22;
    background-image: url("data:image/svg+xml;utf8,<svg width='16' height='16' viewBox='0 0 16 16' fill='green' xmlns='http://www.w3.org/2000/svg'><path d='M6 10l-3-3 1.4-1.4L6 7.2l5.6-5.6L13 3l-7 7z'/></svg>");
}

.match-msg {
    margin-top: 4px;
    font-size: 0.9rem;
}

.match-ok {
    color: #228B22;
}

.match-error {
    color: #c00;
}

.cnr-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
}

.cnr-modal-overlay.is-open {
    display: flex;
}

.cnr-modal {
    background: #fff;
    border-radius: 6px;
    padding: 24px 28px 20px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
    font-family: inherit;
}

.cnr-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
}

.cnr-modal-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #e53935;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 22px;
}

.cnr-modal-text {
    margin-bottom: 20px;
    font-size: 14px;
}

.cnr-modal-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}
