/* ═══════════════════════════════════════════════════════════
   ADMIN / SUBSCRIPTIONS PORTAL
   Reutiliza variables definidas en style.css (:root)
   ═══════════════════════════════════════════════════════════ */

.admin-login-card {
    max-width: 440px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.admin-login-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-form label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-primary);
    margin-top: 0.75rem;
}

.admin-form label:first-child {
    margin-top: 0;
}

.admin-btn-primary {
    margin-top: 1.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #060608;
    font-weight: 800;
    font-size: 1rem;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 242, 255, 0.25);
}

.admin-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.admin-alert {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.admin-alert-error {
    background: rgba(255, 68, 68, 0.08);
    border: 1px solid rgba(255, 68, 68, 0.25);
    color: #ff8080;
}

.admin-alert-warning {
    background: rgba(255, 204, 0, 0.08);
    border: 1px solid rgba(255, 204, 0, 0.25);
    color: #ffd93d;
}

.admin-loader {
    color: var(--text-muted);
    padding: 3rem 0;
    text-align: center;
}

/* ── Subscription status card ── */
.sub-status-card {
    max-width: 560px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.sub-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.75rem;
}

.sub-status-badge.active {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.25);
}

.sub-status-badge.inactive {
    background: rgba(255, 68, 68, 0.1);
    color: #ff8080;
    border: 1px solid rgba(255, 68, 68, 0.25);
}

.sub-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sub-detail-row:last-of-type {
    border-bottom: none;
}

.sub-detail-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.sub-detail-value {
    color: var(--text-light);
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
}

.sub-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.sub-btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.5rem;
    background: rgba(0, 242, 255, 0.08);
    border: 1px solid rgba(0, 242, 255, 0.25);
    color: var(--accent-primary);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.sub-btn-download:hover {
    background: rgba(0, 242, 255, 0.15);
    transform: translateY(-2px);
}

.sub-expired-message {
    background: rgba(255, 68, 68, 0.06);
    border: 1px solid rgba(255, 68, 68, 0.2);
    border-radius: 14px;
    padding: 1.5rem;
    color: #ffb3b3;
    line-height: 1.6;
    margin-top: 1rem;
}
