.header-icon-button {
    border: 0;
    background: transparent;
    padding: 0;
}

.footer-link-button {
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    padding: 0;
    text-align: left;
}

.student-portal-band {
    background: #f6f8fb;
    padding: 48px 0 64px;
}

.student-portal-title {
    margin-bottom: 24px;
}

.student-portal-title h1 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.student-portal-title p {
    color: #5f6f7f;
    margin: 0;
}

.student-portal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.student-portal-nav a {
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #1f2937;
    display: inline-flex;
    font-weight: 600;
    gap: 8px;
    min-height: 44px;
    padding: 10px 14px;
}

.student-portal-nav a.active,
.student-portal-nav a:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}

.student-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
}

.student-panel + .student-panel {
    margin-top: 24px;
}

.student-panel h3,
.student-panel h4 {
    margin-bottom: 16px;
}

.student-stat-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.student-stat {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 18px;
}

.student-stat strong {
    display: block;
    font-size: 28px;
    line-height: 1.1;
}

.student-status {
    border-radius: 999px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    text-transform: uppercase;
}

.student-status.is-ok {
    background: #dcfce7;
    color: #166534;
}

.student-status.is-waiting {
    background: #fef3c7;
    color: #92400e;
}

.student-status.is-alert {
    background: #fee2e2;
    color: #991b1b;
}

.student-table-wrap {
    overflow-x: auto;
}

.student-empty {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #64748b;
    padding: 20px;
}

.student-step-row {
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 12px 0;
}

.student-step-row:last-child {
    border-bottom: 0;
}

.student-form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.student-form-grid .full {
    grid-column: 1 / -1;
}

.student-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.student-application-header {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.student-application-header.compact {
    align-items: center;
}

.student-summary-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.student-summary-grid > div {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px;
}

.student-summary-grid span,
.student-filter-inline label {
    color: #64748b;
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.student-summary-grid strong {
    display: block;
    margin-top: 4px;
}

.student-filter-inline {
    min-width: 200px;
}

.student-progress.sm {
    height: 8px;
    margin-top: 6px;
    min-width: 120px;
}

.student-requirement-list {
    display: grid;
    gap: 12px;
}

.student-requirement {
    align-items: flex-start;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 16px;
}

.student-requirement.is-stacked {
    display: block;
}

.student-field-action {
    align-items: end;
    display: flex;
}

.student-timeline {
    display: grid;
    gap: 12px;
}

.student-timeline > div {
    border-left: 3px solid #1d4ed8;
    padding: 4px 0 4px 14px;
}

.student-timeline span {
    color: #64748b;
    display: block;
    font-size: 13px;
}

.student-timeline p {
    color: #475569;
    margin: 6px 0 0;
}

.student-alert {
    margin-bottom: 18px;
}

.student-progress {
    background: #e5e7eb;
    border-radius: 999px;
    height: 12px;
    overflow: hidden;
}

.student-progress span {
    background: #22c55e;
    display: block;
    height: 100%;
}

.student-consent-body {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #334155;
    max-height: 220px;
    overflow: auto;
    padding: 16px;
    white-space: pre-wrap;
}

@media (max-width: 576px) {
    .student-portal-band {
        padding: 32px 0 48px;
    }

    .student-portal-title h1 {
        font-size: 28px;
    }

    .student-panel {
        padding: 18px;
    }

    .student-application-header,
    .student-requirement {
        display: block;
    }

    .student-application-header > a,
    .student-application-header > button {
        margin-top: 14px;
    }
}
