/* Applicant login footer — class-based (works even if ASP.NET changes footer id) */
footer.portal-footer,
footer.portal-footer--applicant,
.portal-footer.portal-footer--applicant {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-top: none !important;
    background-color: #0a1f33 !important;
    background-image: linear-gradient(165deg, #061526 0%, #0a1f33 42%, #0f2d47 100%) !important;
    box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.28) !important;
}

footer.portal-footer::before,
.portal-footer.portal-footer--applicant::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, transparent, #e8c547, #c9a227, #e8c547, transparent);
}

.portal-footer--applicant .portal-footer__logo-well,
.portal-footer--applicant .portal-footer__logo,
.portal-footer--applicant .portal-footer__brand-block {
    display: none !important;
}

.portal-footer--applicant .portal-footer__inner {
    max-width: 920px;
    margin: 0 auto;
    padding: 0.85rem 1.15rem 1.1rem;
    text-align: center;
}

.portal-footer--applicant .portal-footer__main--applicant {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    text-align: center;
}

.portal-footer--applicant .portal-footer__features {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.85rem;
}

.portal-footer--applicant .portal-footer__feature {
    display: inline-flex !important;
    align-items: center;
    gap: 0.45rem;
    margin: 0 !important;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(201, 162, 39, 0.45) !important;
    font-family: "Nunito", "Segoe UI", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff !important;
    line-height: 1.35;
}

.portal-footer--applicant .portal-footer__feature-text {
    color: #ffffff !important;
}

.portal-footer--applicant .portal-footer__feature-icon {
    width: 1.1rem;
    height: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.28) !important;
    border: 1px solid rgba(232, 197, 71, 0.55) !important;
    color: #e8c547 !important;
    font-size: 0.62rem;
    font-weight: 800;
}

.portal-footer--applicant .portal-footer__feature--secure .portal-footer__feature-icon::before { content: "\2713"; }
.portal-footer--applicant .portal-footer__feature--schedule .portal-footer__feature-icon::before { content: "\2022"; font-size: 0.9rem; }
.portal-footer--applicant .portal-footer__feature--results .portal-footer__feature-icon::before { content: "\2713"; }

.portal-footer--applicant .portal-footer__meta {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Nunito", "Segoe UI", sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    color: #e8c547 !important;
    text-align: center !important;
    width: 100%;
}

.portal-footer--applicant .portal-footer__meta--solo {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0.15rem 0 0 !important;
    text-align: center !important;
}

.portal-footer--applicant .portal-footer__bottom {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(201, 162, 39, 0.28);
}

.portal-footer--applicant .portal-footer__copy,
.portal-footer--applicant p.portal-footer__copy {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Nunito", "Segoe UI", sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    color: rgba(203, 213, 225, 0.92) !important;
    text-align: center !important;
}

#footer .portal-footer__meta--solo,
#footer .portal-footer__meta {
    text-align: center !important;
    width: 100%;
}

@media (max-width: 640px) {
    .portal-footer--applicant .portal-footer__features {
        flex-direction: column;
        align-items: stretch;
    }

    .portal-footer--applicant .portal-footer__feature {
        justify-content: center;
    }
}
