/* Nexus Control — modals/renewal.css */

#nc-modal-renewal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 9200;
    align-items: center;
    justify-content: center;
    padding: var(--nc-space-4);
}

.nc-renewal-modal {
    background: var(--nc-surface);
    border: 0.5px solid var(--nc-border);
    border-radius: var(--nc-radius-xl);
    width: 100%;
    max-width: 420px;
    box-shadow: 0 16px 48px rgba(0,0,0,.2);
    animation: nc-modal-in .18s ease;
    overflow: hidden;
}

.nc-renewal-modal__header {
    display: flex;
    align-items: center;
    gap: var(--nc-space-3);
    padding: var(--nc-space-4) var(--nc-space-5);
    background: linear-gradient(135deg, var(--nc-accent) 0%, #1a0800 100%);
}

.nc-renewal-modal__icon {
    width: 36px;
    height: 36px;
    border-radius: var(--nc-radius);
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.nc-renewal-modal__title { font-size: 14px; font-weight: 700; color: #fff; }
.nc-renewal-modal__sub { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 2px; }

.nc-renewal-modal__header .nc-icon-btn {
    margin-left: auto;
    color: rgba(255,255,255,.7);
    flex-shrink: 0;
}
.nc-renewal-modal__header .nc-icon-btn:hover { color: #fff; }

.nc-renewal-modal__body { padding: var(--nc-space-5); }

.nc-renewal-summary {
    background: var(--nc-surface2);
    border: 1px solid var(--nc-border);
    border-radius: var(--nc-radius-lg);
    overflow: hidden;
    margin-bottom: var(--nc-space-4);
}

.nc-renewal-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--nc-space-3) var(--nc-space-4);
    border-bottom: 1px solid var(--nc-border);
    font-size: 13px;
}
.nc-renewal-summary__row:last-child { border-bottom: none; }
.nc-renewal-summary__row span { color: var(--nc-muted); }
.nc-renewal-summary__row strong { color: var(--nc-text); font-weight: 600; }

/* Spinner */
.nc-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--nc-border);
    border-top-color: var(--nc-accent);
    border-radius: 50%;
    animation: nc-spin .7s linear infinite;
    margin: 0 auto;
}

@keyframes nc-spin { to { transform: rotate(360deg); } }
