/* SIRIUP — Pantalla de alerta/error, misma línea "futurista" del login.
   Fondo oscuro fijo, glassmorphism y acentos azules. */

:root {
    --af-info: #60a5fa;
    --af-primary: #2563eb;
    --af-text: #eef2f7;
    --af-muted: #9aa7b8;
    --af-card-bg: #e9eaec;
    --af-card-border: #0a3d6214;
    --af-card-navy: #0a3d62;
    --af-card-text: #1b2733;
    --af-card-muted: #64748b;
}

.af-body,
.af-body *,
.af-body *::before,
.af-body *::after {
    box-sizing: border-box;
}

.af-body {
    margin: 0;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    font-family: 'Jost', sans-serif;
    color: var(--af-text);
    background:
        linear-gradient(to bottom, transparent 0%, transparent 45%, #08152c 100%),
        linear-gradient(150deg, #142850 0%, #183258 55%, #1c3a70 100%);
}

.af-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(#ffffff0c 1px, transparent 1px),
        linear-gradient(90deg, #ffffff0c 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at 50% 35%, black 0%, transparent 72%);
    pointer-events: none;
}

.af-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .5;
    pointer-events: none;
    animation: af-float 13s ease-in-out infinite;
}

.af-orb--1 {
    width: 380px;
    height: 380px;
    top: -80px;
    left: -80px;
    background: radial-gradient(circle, var(--af-info), transparent 70%);
}

.af-orb--2 {
    width: 320px;
    height: 320px;
    bottom: -60px;
    right: -40px;
    background: radial-gradient(circle, var(--af-primary), transparent 70%);
    animation-delay: -5s;
}

.af-orb--3 {
    width: 220px;
    height: 220px;
    bottom: 20%;
    left: 8%;
    background: radial-gradient(circle, #24344a, transparent 70%);
    animation-delay: -9s;
}

@keyframes af-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(18px, -22px) scale(1.06);
    }
}

.af-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.af-card {
    width: 100%;
    max-width: 460px;
    background: var(--af-card-bg);
    border: 1px solid var(--af-card-border);
    border-radius: 22px;
    padding: 48px 40px 40px;
    text-align: center;
    color: var(--af-card-text);
    box-shadow: 0 30px 60px -20px #00000080;
    animation: af-card-in .55s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes af-card-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.af-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 28px;
}

.af-logos img {
    display: block;
    object-fit: contain;
}

.af-logos__seal {
    width: 52px;
    height: 52px;
}

.af-logos__divider {
    width: 1px;
    height: 34px;
    background: #0a3d6226;
}

.af-logos__sirede {
    height: 34px;
    width: auto;
}

.af-icon-ring {
    position: relative;
    width: 84px;
    height: 84px;
    margin: 0 auto 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(155deg, #f4f8fc, #eaf1f9);
    border: 1px solid #0a3d6217;
}

.af-icon-ring::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 1px solid #60a5fa55;
    animation: af-ping 2.4s cubic-bezier(0, 0, .2, 1) infinite;
}

@keyframes af-ping {
    0% {
        transform: scale(1);
        opacity: .7;
    }

    75%,
    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

.af-icon-ring i {
    font-size: 30px;
    background: linear-gradient(90deg, var(--af-primary), var(--af-info));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.af-eyebrow {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 12px;
    font-weight: 600;
    color: var(--af-primary);
    margin-bottom: 10px;
}

.af-card h1 {
    font-size: 26px;
    font-weight: 600;
    margin: 0 0 12px;
    letter-spacing: -.01em;
    color: var(--af-card-navy);
}

.af-message {
    color: var(--af-card-muted);
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 30px;
}

.af-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.af-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 14px;
    padding: 14px 20px;
    font-size: 15.5px;
    font-weight: 600;
    font-family: 'Jost', sans-serif;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    background: linear-gradient(90deg, var(--af-primary), var(--af-info));
    box-shadow: 0 14px 30px -10px #2563eb55;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.af-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -8px #2563eb66;
    filter: brightness(1.05);
    color: #fff;
}

.af-foot {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px 26px;
    font-size: 13px;
    color: var(--af-muted);
    line-height: 1.6;
}

@media (max-width: 480px) {
    .af-card {
        padding: 38px 26px 32px;
    }
}
