.system-error-page,
.assignment-state-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 32px 20px;

    background: #f5f7fa;
}

.system-error-card,
.assignment-state-card {
    width: 100%;
    max-width: 520px;

    padding: 48px 40px;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 20px;

    text-align: center;

    box-shadow:
        0 18px 45px rgba(
            15,
            23,
            42,
            0.08
        );
}

.system-error-card__code {
    margin-bottom: 12px;

    color: #3b82c4;

    font-size: 64px;

    line-height: 1;

    font-weight: 800;

    letter-spacing: -2px;
}

.system-error-card__icon,
.assignment-state-card__icon {
    width: 64px;
    height: 64px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eaf4fb;

    color: #3b82c4;

    font-size: 28px;
}

.system-error-card h1,
.assignment-state-card h1 {
    margin: 0 0 12px;

    color: #172033;

    font-size: 28px;

    font-weight: 700;
}

.system-error-card p,
.assignment-state-card p {
    margin: 0 auto 28px;

    max-width: 420px;

    color: #6b7280;

    font-size: 15px;

    line-height: 1.7;
}

.system-error-card__button,
.assignment-state-card__button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 44px;

    padding: 0 20px;

    border-radius: 10px;

    background: #3b82c4;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.system-error-card__button:hover,
.assignment-state-card__button:hover {
    background: #2f6fa8;

    transform: translateY(-1px);
}

.assignment-state-card__eyebrow {
    display: block;

    margin-bottom: 10px;

    color: #6b7280;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.12em;
}


@media (
    max-width: 600px
) {

    .system-error-card,
    .assignment-state-card {
        padding: 36px 24px;

        border-radius: 16px;
    }

    .system-error-card__code {
        font-size: 52px;
    }

    .system-error-card h1,
    .assignment-state-card h1 {
        font-size: 23px;
    }
}