.checkout-hero-icon {
    display: block;
    width: 56px;
    height: 56px;
    margin: 0 auto 10px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(232, 160, 32, 0.25));
}

.success-hero-icon {
    display: block;
    width: 72px;
    height: 72px;
    margin: 16px auto 12px;
    object-fit: contain;
    filter: drop-shadow(0 6px 18px rgba(232, 160, 32, 0.35));
}

.checkout-features li,
.success-features li {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .checkout-features li svg,
    .success-features li svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        color: var(--accent);
    }

.checkout-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

    .checkout-secure svg {
        width: 12px;
        height: 12px;
        flex-shrink: 0;
    }

.acct-sub-cancelled {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
    background: rgba(232, 160, 32, 0.08);
    border: 1px solid rgba(232, 160, 32, 0.28);
    border-radius: 6px;
    color: var(--text);
}

    .acct-sub-cancelled svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        color: #e8a020;
        margin-top: 1px;
    }

    .acct-sub-cancelled.ended {
        background: rgba(120, 120, 120, 0.08);
        border-color: rgba(120, 120, 120, 0.28);
    }

        .acct-sub-cancelled.ended svg {
            color: var(--text3);
        }

    .acct-sub-cancelled.warning {
        background: rgba(224, 80, 80, 0.08);
        border-color: rgba(224, 80, 80, 0.28);
    }

        .acct-sub-cancelled.warning svg {
            color: var(--red, #e05050);
        }

.acct-sub-cancelled-title {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 4px;
}

.acct-sub-cancelled-sub {
    font-size: 11px;
    color: var(--text2);
    line-height: 1.5;
}

.acct-danger-zone {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.acct-danger-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--red, #e05050);
    margin-bottom: 10px;
}

.acct-danger-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(224, 80, 80, 0.04);
    border: 1px solid rgba(224, 80, 80, 0.18);
    border-radius: 6px;
}

    .acct-danger-row > .acct-danger-text {
        flex: 1 1 200px;
        min-width: 0;
    }

    .acct-danger-row .modal-btn {
        flex-shrink: 0;
        white-space: nowrap;
        margin-left: auto;
    }

.acct-danger-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 3px;
}

.acct-danger-sub {
    font-size: 11px;
    color: var(--text3);
    line-height: 1.5;
}

.modal-danger {
    max-width: 480px;
    border-top: 3px solid var(--red, #e05050);
}

.delete-warning {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    background: rgba(224, 80, 80, 0.08);
    border: 1px solid rgba(224, 80, 80, 0.30);
    border-radius: 6px;
    margin-bottom: 18px;
}

    .delete-warning svg {
        width: 22px;
        height: 22px;
        color: var(--red, #e05050);
        flex-shrink: 0;
        margin-top: 1px;
    }

.delete-warning-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--red, #e05050);
    margin-bottom: 4px;
}

.delete-warning-sub {
    font-size: 12px;
    color: var(--text2);
    line-height: 1.5;
}

.delete-progress {
    padding: 32px 8px 12px;
    text-align: center;
}

.delete-progress-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.delete-progress-sub {
    font-size: 12px;
    color: var(--text3);
    margin-bottom: 22px;
}

.delete-progress-bar {
    height: 6px;
    background: var(--surface3);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

    .delete-progress-bar > div {
        position: absolute;
        inset: 0 100% 0 0;
        background: linear-gradient(90deg, var(--accent), var(--accent));
        animation: delete-progress-fill 2.6s ease-out forwards;
    }

@keyframes delete-progress-fill {
    0% {
        right: 100%;
    }

    100% {
        right: 0;
    }
}

#farewell-overlay {
    position: fixed;
    inset: 0;
    background: var(--surface, #111);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity .35s ease;
}

    #farewell-overlay.show {
        opacity: 1;
    }

.farewell-card {
    max-width: 460px;
    width: calc(100% - 40px);
    padding: 36px 28px 28px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.farewell-icon {
    display: block;
    width: 84px;
    height: 84px;
    margin: 0 auto 18px;
    object-fit: contain;
    filter: drop-shadow(0 6px 22px rgba(232, 160, 32, 0.35));
    animation: farewell-bob 3.2s ease-in-out infinite;
}

@keyframes farewell-bob {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.farewell-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--text);
    letter-spacing: 0.2px;
}

.farewell-tagline {
    font-size: 13px;
    color: var(--accent);
    margin: 0 0 18px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.farewell-body {
    font-size: 13px;
    color: var(--text2);
    line-height: 1.6;
    margin: 0 0 22px;
}

.farewell-countdown {
    font-size: 11px;
    color: var(--text3);
    margin-bottom: 16px;
}

.farewell-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.modal-confirm {
    max-width: 440px;
}

.export-section {
    margin-top: 18px;
}

    .export-section:first-of-type {
        margin-top: 6px;
    }

.export-section-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text3);
    margin: 0 0 8px 2px;
}

.export-section-badge {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.3px;
    background: var(--accent-dim);
    color: var(--accent);
    padding: 2px 7px;
    border-radius: 10px;
    text-transform: uppercase;
}

.export-section.is-current .export-option {
    border: 1px solid rgba(232, 160, 32, 0.18);
    background: rgba(232, 160, 32, 0.025);
}

    .export-section.is-current .export-option:hover {
        background: rgba(232, 160, 32, 0.07);
    }

.export-option.locked {
    opacity: 0.55;
    cursor: pointer;
}

    .export-option.locked:hover {
        background: var(--surface2);
    }

.export-lock-pill {
    margin-left: auto;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.4px;
    background: rgba(232, 160, 32, 0.14);
    color: #e8a020;
    border: 1px solid rgba(232, 160, 32, 0.32);
    padding: 2px 7px;
    border-radius: 10px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.export-option > div:not(.export-lock-pill) {
    flex: 1;
    min-width: 0;
}
