/* Step-by-step (paginated) layout for application.html. */

/* Status banner: persistent across every step, replaces the old dedicated status pages. */
.status-banner {
    padding: 0;
    margin-bottom: 1rem;
    overflow: hidden;
}
.status-banner-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    text-align: left;
    font-family: inherit;
}
.status-banner-toggle .tag { margin-left: 0.25rem; }
.status-banner-caret {
    margin-left: auto;
    color: #8a94a6;
    font-weight: 600;
    font-size: 0.85rem;
}
.status-banner-toggle.is-open .status-banner-caret::after { content: ''; }
.status-banner-details {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: max-height 0.2s ease, padding 0.2s ease;
    border-top: 1px solid transparent;
}
.status-banner-details.is-open {
    max-height: 600px;
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-top-color: var(--pfs-border, #e2e6ec);
    overflow-y: auto;
}

.pfs-application-page .tag {
    font-size: 0.95rem;
    line-height: 1.2;
    padding: 0.45em 0.75em;
    min-height: 2em;
}

.wizard-nav {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}
.wizard-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}
.wizard-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #8a94a6;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
}
.wizard-nav-item:hover {
    color: var(--pfs-primary, #00274c);
}
.wizard-nav-item.is-active {
    color: var(--pfs-primary, #00274c);
    border-bottom-color: var(--pfs-accent, #ffcb05);
}
.wizard-nav-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    background: #eef2f7;
    color: inherit;
    font-size: 0.8rem;
}
.wizard-nav-item.is-active .wizard-nav-number {
    background: var(--pfs-primary, #00274c);
    color: #fff;
}

.wizard-step { animation: wizard-fade-in 0.15s ease; }
@keyframes wizard-fade-in {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Application Actions now repeats at the bottom of every step, above the Back/Next row. */
.application-actions { margin-top: 0; }
.application-actions .button {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.wizard-nav-buttons {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 2rem 0;
}
.wizard-nav-buttons .button { min-width: 8rem; justify-content: center; }
.wizard-nav-buttons .button:only-child { margin-left: auto; }

@media (max-width: 768px) {
    .wizard-nav-list { gap: 0.5rem 1rem; }
    .wizard-nav-label { display: none; }
}
