/* Auth / empty states — shared by MainLayout, App.razor (global) */

.app-gate {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.app-gate--gradient {
    position: relative;
    background-color: var(--app-dark-bg, #070b14);
    background-image:
        radial-gradient(ellipse 100% 80% at 12% -15%, rgba(14, 165, 233, 0.32), transparent 50%),
        radial-gradient(ellipse 85% 55% at 100% 60%, rgba(1, 74, 173, 0.4), transparent 45%),
        radial-gradient(ellipse 55% 35% at 50% 105%, rgba(4, 158, 224, 0.18), transparent 55%);
    background-attachment: fixed;
}

.app-gate--gradient::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 75% 60% at 50% 40%, black, transparent);
    pointer-events: none;
}

/* Centered block inside main (404, etc.) — no full-page gradient */
.app-inline-gate {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 4vw, 3rem);
}

.app-inline-gate--tall {
    min-height: min(72vh, 700px);
}

.app-gate__card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-radius: 1.25rem;
    padding: 2.5rem 2.25rem;
    max-width: 460px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 56px rgba(1, 47, 106, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.app-gate__card--compact {
    max-width: 400px;
    padding: 2rem 1.75rem;
}

.app-gate__card h2 {
    color: var(--gray-800, #1f2937);
    margin: 0 0 0.35rem 0;
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}

.app-gate__card > p {
    color: var(--gray-500, #6b7280);
    margin: 0;
    font-size: 0.9375rem;
}

.app-gate__icon {
    font-size: 3.25rem;
    color: var(--etl-accent, #2eb398);
    display: block;
    margin-bottom: 1rem;
}

.app-gate__icon--muted {
    color: var(--gray-400, #9ca3af);
}

.app-gate__highlights {
    background: var(--gray-50, #f9fafb);
    border-radius: 0.75rem;
    padding: 1.25rem 1.35rem;
    margin: 1.5rem 0 1.75rem;
    text-align: left;
    border: 1px solid var(--gray-200, #e5e7eb);
}

.app-gate__row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.app-gate__row + .app-gate__row {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200, #e5e7eb);
}

.app-gate__row .oi {
    color: var(--primary-500, #014aad);
    font-size: 1.35rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.app-gate__row strong {
    display: block;
    color: var(--gray-800, #1f2937);
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.app-gate__row span {
    color: var(--gray-500, #6b7280);
    font-size: 0.8125rem;
}

.app-gate__btn {
    width: 100%;
    padding: 0.95rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.65rem;
    border: none;
    background: linear-gradient(135deg, var(--primary-500, #014aad) 0%, var(--primary-400, #049ee0) 100%);
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(1, 74, 173, 0.35);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.app-gate__btn:hover {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(1, 74, 173, 0.4);
}

.app-gate__btn--secondary {
    background: var(--gray-100);
    color: var(--gray-800) !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.app-gate__btn--secondary:hover {
    background: var(--gray-200);
    color: var(--gray-900) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.app-gate__foot {
    margin-top: 1.25rem;
    color: var(--gray-400, #9ca3af);
    font-size: 0.8125rem;
}

.app-gate__spinner {
    width: 2.75rem;
    height: 2.75rem;
}
