/* 404 Not Found page — matches the public site theme. */

.notfound-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 16px;
    background:
        radial-gradient(circle at 20% 10%, rgba(11, 22, 40, 0.04), transparent 45%),
        radial-gradient(circle at 80% 90%, rgba(240, 165, 0, 0.06), transparent 50%),
        var(--student-surface-2, #f7f9fc);
}

.notfound-card {
    max-width: 640px;
    margin: 0 auto;
    padding: 48px 40px;
    background: white;
    border: 1px solid var(--student-border, #e8edf5);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(11, 22, 40, 0.08);
    text-align: center;
}

.notfound-illustration {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    margin: 0 auto 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--student-navy, #0b1628), var(--student-navy-light, #1e3258));
    color: white;
    box-shadow: 0 12px 32px rgba(11, 22, 40, 0.25);
}

.notfound-illustration .notfound-code {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
}

.notfound-illustration i {
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--student-accent, #f0a500);
    color: white;
    border-radius: 50%;
    font-size: 1.6rem;
    box-shadow: 0 6px 16px rgba(240, 165, 0, 0.4);
}

[dir="rtl"] .notfound-illustration i {
    right: auto;
    left: -12px;
}

.notfound-heading {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--student-navy, #0b1628);
    letter-spacing: -0.4px;
    margin-bottom: 10px;
}

.notfound-lead {
    font-size: 1.05rem;
    color: var(--student-text-muted, #64748b);
    margin-bottom: 28px;
    line-height: 1.6;
}

.notfound-url {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 20px;
    background: var(--student-surface-2, #f7f9fc);
    border: 1px dashed var(--student-border-hover, #d0daf0);
    border-radius: 12px;
    margin-bottom: 32px;
    max-width: 100%;
}

.notfound-url-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--student-text-muted, #64748b);
}

.notfound-url-value {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.92rem;
    color: var(--student-navy, #0b1628);
    word-break: break-all;
    background: transparent;
    padding: 0;
}

.notfound-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.notfound-actions .btn {
    border-radius: 10px;
    padding: 12px 26px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

@media (max-width: 575.98px) {
    .notfound-card {
        padding: 36px 22px;
        border-radius: 16px;
    }

    .notfound-illustration {
        width: 130px;
        height: 130px;
    }

    .notfound-illustration .notfound-code {
        font-size: 2.6rem;
    }

    .notfound-heading {
        font-size: 1.5rem;
    }

    .notfound-actions {
        flex-direction: column;
    }

    .notfound-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
