/* ═══════════════════════════════════════════════════
   enrollment-card.css
   Full-screen dark shell used by enrollment status
   screens (pending approval, sign-in error, in-flight
   loader). Consumed by EnrollmentPendingApproval and
   OidcCallbackHandler. Loaded globally in both the
   Web and MAUI hosts via _content/DigitalSystems.UI/.
   ═══════════════════════════════════════════════════ */

/* ── Full-screen shell ── */
.ocb-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    background: #000;
    color: #f5f5f7;
    font-family: "Segoe UI Variable", "Segoe UI", -apple-system, system-ui, sans-serif;
}

/* ── Hero (brand header) ── */
.ocb-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12vh 24px 0;
}

.ocb-brand {
    font-size: clamp(3.2rem, 8vw, 5.8rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.05;
    color: #f5f5f7;
    margin-bottom: 8px;
}

.ocb-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 400;
    color: rgba(245, 245, 247, .65);
    letter-spacing: .01em;
    margin-bottom: 40px;
}

/* ── ThinkingLoader centering (in-flight state) ── */
.ocb-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    max-width: 420px;
    padding: 0 24px 48px;
}

/* ── Content area (card container) ── */
.ocb-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 420px;
    padding: 0 24px 48px;
    animation: ocb-in 0.22s cubic-bezier(0.34, 1.4, 0.64, 1);
}

@keyframes ocb-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Status card ── */
.ocb-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

/* Error variant — used by the sign-in failure state */
.ocb-card-error {
    border-color: rgba(248, 113, 113, 0.25);
    background: rgba(248, 113, 113, 0.05);
}

/* ── Icon ring — default: yellow (pending / clock) ── */
.ocb-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(230, 230, 32, 0.08);
    border: 1.5px solid rgba(230, 230, 32, 0.18);
    flex-shrink: 0;
}

/* Error variant overrides the icon ring to red */
.ocb-card-error .ocb-card-icon {
    background: rgba(248, 113, 113, 0.08);
    border-color: rgba(248, 113, 113, 0.2);
}

/* ── Card text ── */
.ocb-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f5f5f7;
    margin: 0;
}

.ocb-card-body {
    font-size: 0.92rem;
    color: rgba(245, 245, 247, 0.65);
    margin: 0;
    line-height: 1.6;
}

.ocb-error-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f87171;
    margin: 0;
}

.ocb-error-body {
    font-size: 0.92rem;
    color: rgba(245, 245, 247, 0.65);
    margin: 0;
    line-height: 1.6;
}

/* ── CTA button ── */
.ocb-btn {
    display: inline-block;
    width: 100%;
    padding: 14px;
    margin-top: 4px;
    background: #2997ff;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.97rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

.ocb-btn:hover {
    background: #4dacff;
    color: #fff;
    text-decoration: none;
}

.ocb-btn:active {
    transform: scale(0.98);
}
