/* File: assets/css/portal.css */

:root {
    --primary-navy: #0f172a;
    --accent-blue: #2563eb;
    --accent-hover: #1d4ed8;
    --client-emerald: #059669;
    --client-hover: #047857;
    --text-dark: #1e293b;
    --text-muted: #64748b;
}

body.portal-body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.08) 0%, rgba(248, 250, 252, 1) 90%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    position: relative;
    overflow-x: hidden;
    padding: 1.5rem;
}

/* Esferas decorativas de fondo */
.bg-glow-1 {
    position: absolute;
    top: -120px;
    right: -120px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(37, 99, 235, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.bg-glow-2 {
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.12) 0%, rgba(5, 150, 105, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.portal-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.1);
    max-width: 540px;
    width: 100%;
    padding: 2.75rem 2.25rem;
    position: relative;
    z-index: 2;
}

.brand-logo-wrap {
    max-width: 130px;
    margin: 0 auto 1.5rem auto;
    transition: transform 0.3s ease;
}

.brand-logo-wrap:hover {
    transform: scale(1.03);
}

.brand-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--primary-navy);
    letter-spacing: -0.5px;
}

.brand-badge {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 30px;
    background-color: #eff6ff;
    color: var(--accent-blue);
    display: inline-block;
}

.brand-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* Botones del portal */
.btn-portal {
    border-radius: 14px;
    padding: 0.85rem 1.25rem;
    font-weight: 600;
    font-size: 0.98rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-portal-primary {
    background-color: var(--primary-navy);
    border: 1px solid var(--primary-navy);
    color: #ffffff;
}

.btn-portal-primary:hover {
    background-color: #1e293b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.25);
}

.btn-portal-client {
    background-color: #ffffff;
    border: 1.5px solid var(--client-emerald);
    color: var(--client-emerald);
}

.btn-portal-client:hover {
    background-color: var(--client-emerald);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(5, 150, 105, 0.3);
}

.divider-custom {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.6rem 0;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.divider-custom::before,
.divider-custom::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.divider-custom:not(:empty)::before { margin-right: 1em; }
.divider-custom:not(:empty)::after { margin-left: 1em; }

.footer-note {
    font-size: 0.8rem;
    color: #94a3b8;
}