/* Pantallas de acceso y de sesión cerrada (mismo diseño que Portal-Cliente, sin Tailwind) */

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

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    background: #0a1209;
}

.auth-screen {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 0% 0%, #2e4a1e 0%, #1B281B 40%, #0a1209 100%),
        radial-gradient(ellipse at 100% 100%, #243d18 0%, transparent 50%);
    background-blend-mode: screen;
}

.auth-arcs, .auth-arcs2 { position: fixed; width: 900px; height: 900px; pointer-events: none; }
.auth-arcs { top: -450px; left: -450px; }
.auth-arcs2 { bottom: -450px; right: -450px; }
.auth-spin { position: absolute; inset: 0; animation: auth-spin 18s linear infinite; }
.auth-spin2 { position: absolute; inset: 0; animation: auth-spin 24s linear infinite reverse; }
.auth-arc, .auth-arc3 { position: absolute; inset: 0; border: 1.5px solid rgba(191, 232, 112, .5); border-radius: 50%; }
.auth-arc2, .auth-arc4 { position: absolute; top: -100px; left: 120px; width: 900px; height: 900px; border: 1.5px solid rgba(191, 232, 112, .3); border-radius: 50%; }

@media (prefers-reduced-motion: reduce) {
    .auth-spin, .auth-spin2 { animation: none; }
}

.auth-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 360px;
}

.auth-logo { height: 44px; width: auto; }

.auth-card {
    width: 100%;
    background: rgba(12, 22, 12, .72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(191, 232, 112, .22);
    border-radius: 16px;
    padding: 44px 44px 40px;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .5), 0 1px 0 rgba(191, 232, 112, .08) inset;
}

.auth-card h2 { margin: 0 0 4px; font-size: 15px; font-weight: 600; color: #fff; }
.auth-sub { margin: 0 0 28px; font-size: 11px; color: rgba(255, 255, 255, .35); }

.auth-error {
    margin: -12px 0 20px;
    padding: 10px 12px;
    border-radius: 7px;
    background: rgba(255, 92, 92, .12);
    border: 1px solid rgba(255, 92, 92, .35);
    color: #ffb4b4;
    font-size: 12px;
    line-height: 1.4;
}

.auth-ms {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 7px;
    background: #fff;
    color: #1b1b1b;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s;
}
.auth-ms:hover { background: #f0f0f0; }
.auth-ms svg { flex-shrink: 0; }

.auth-primary {
    display: inline-block;
    width: 100%;
    padding: 12px 24px;
    border-radius: 7px;
    background: #bfe870;
    color: #1B281B;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none;
    transition: background .15s;
}
.auth-primary:hover { background: #d4f09a; }
.auth-primary:active { transform: translateY(1px); }

.auth-ms:focus-visible, .auth-primary:focus-visible { outline: 2px solid #bfe870; outline-offset: 2px; }
