/* #433 - "This Position Is No Longer Available" page (Views/JobSeeker/Dashboard/_JobClosedContent.cshtml) */
.job-closed {
    max-width: 720px;
    margin: 48px auto;
    padding: 0 16px;
    text-align: center;
    color: #212529;
}

.job-closed__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    border-radius: 50%;
    background-color: #fff1e8; /* light peach */
    color: #d9480f; /* orange warning, 3.9:1 on the circle (WCAG 1.4.11 needs 3:1) */
}

.job-closed__title {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 16px;
}

.job-closed__text {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: #495057; /* 7.9:1 on white */
    margin: 0 auto 32px;
    max-width: 560px;
}

.job-closed__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.job-closed__btn {
    min-width: 200px;
    min-height: 44px; /* touch target */
    padding: 10px 24px;
    font-weight: 500;
}

.job-closed__btn:focus-visible {
    outline: 3px solid #0a58ca;
    outline-offset: 2px;
}

/* Fade / rise-in: icon -> heading -> text -> CTAs, ~0.6s total */
.job-closed__reveal {
    opacity: 0;
    transform: translateY(12px);
    animation: job-closed-rise 0.3s ease-out forwards;
}

.job-closed__title.job-closed__reveal { animation-delay: 0.1s; }
.job-closed__text.job-closed__reveal { animation-delay: 0.2s; }
.job-closed__actions.job-closed__reveal { animation-delay: 0.3s; }

@keyframes job-closed-rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .job-closed__reveal {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

@media (max-width: 575.98px) {
    .job-closed {
        margin: 32px auto;
    }

    .job-closed__title {
        font-size: 1.5rem;
    }

    .job-closed__btn {
        width: 100%;
    }
}
