@import url('https://fonts.googleapis.com/css2?family=Alatsi&display=swap');

* {
    box-sizing: border-box;
}
:root {
    --primary: #205b7d;
    --primary-variant: #123852;
    --secondary: #ffba0a;
    --secondary-variant: #efa400;
    --background: #f1f0ee;
    --surface: #fffefa;
    --error: #d93032;
    --on-primary: #f0f0ee;
    --on-secondary: #1b1b1b;
    --on-background: #1b1b1b;
    --on-surface: #1b1b1b;
    --on-error: #f0f0ee;
    --ink: var(--on-surface);
    --muted: #646464;
    --line: #d7d7d5;
    --paper: var(--background);
    --panel: var(--surface);
    --gold: var(--secondary);
    --gold-dark: var(--secondary-variant);
    --navy: var(--primary-variant);
    --danger: var(--error);
}
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    background: var(--paper);
    font-family: "Roboto", sans-serif;
    font-size: 15px;
}
main {
    flex: 1;
}
h1, h2, h3, .brand strong, .brand b, .eyebrow, .panel-title,
.login-intro h1, .login-panel h2, .student-login-left h2,
.student-login-right h2 {
    font-family: "Alatsi", sans-serif;
    font-weight: 400;
}
.site-header {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 0 clamp(22px, 7vw, 110px);
    background: #fff;
    border-bottom: 1px solid #e8ebe9;
    font-weight: 700;
}
.public-site-header .container {
    width: min(100%, 1200px);
    margin: 0 auto;
}
.public-site-header {
    border-top: 0;
    box-shadow: none;
}
.public-site-header .header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0;
}
.public-site-header .brand-logo {
    display: block;
    width: 150px;
    height: auto;
}
.public-site-header .main-nav {
    display: flex;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
    overflow: visible;
}
.public-site-header .main-nav ul {
    display: flex;
    align-items: center;
    gap: 27px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.public-site-header .main-nav a {
    color: #111;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
    font-family: "Alatsi", sans-serif;
    position: relative;
    padding: 6px 0;
}
.public-site-header .main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--secondary);
    transition: width .25s ease;
}
.public-site-header .main-nav a:hover::after,
.public-site-header .main-nav a.active::after {
    width: 100%;
}
.public-site-header .main-nav a.active {
    color: var(--primary);
}
.public-site-header .header-cta {
    display: flex;
    align-items: center;
    gap: 14px;
}
.public-site-header .btn-campus {
    display: inline-flex;
    align-items: center;
    padding: 13px 24px;
    border-radius: 999px;
    background: var(--gold);
    color: #111;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.public-site-header .menu-toggle {
    display: none;
    border: 0;
    padding: 6px;
    background: transparent;
    color: var(--navy);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    text-decoration: none;
}
.site-header > .brand, .student-header > .brand {
    flex: 0 0 auto;
}
.brand__logo {
    display: block;
    width: auto;
    max-width: 180px;
    height: 46px;
    object-fit: contain;
}
.brand__mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 2px solid var(--gold);
    color: var(--gold-dark);
    font-weight: 700;
    border-radius: 50%;
}
.brand strong, .brand b {
    display: block;
    line-height: 1;
    letter-spacing: .06em;
}
.brand strong {
    font-size: 17px;
}
.brand b {
    color: var(--gold-dark);
    font-size: 13px;
}
nav {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    flex-wrap: nowrap;
    gap: 27px;
    min-width: 0;
    margin-left: auto;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}
nav::-webkit-scrollbar {
    display: none;
}
nav a {
    color: #000;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}
nav a:hover {
    color: var(--secondary);
}
.site-header nav a,
.site-header .user-label,
.student-header .student-nav a {
    color: #111 !important;
}
.site-header nav a:hover,
.student-header .student-nav a:hover {
    color: #111 !important;
}
.site-footer {
    padding: 70px max(22px, 7vw) 0;
    margin-top: 90px;
    color: var(--on-primary);
    background: #0E334D;
}
.site-footer__content {
    width: min(100%, 1200px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
}
.site-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
}
.site-footer__brand img {
    display: block;
    width: min(100%, 365px);
    height: auto;
    object-fit: contain;
}
.site-footer__social {
    display: flex;
    align-items: center;
    gap: 18px;
}
.site-footer__social a {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: #fff;
    text-decoration: none;
}
.site-footer__social img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.site-footer__contact h2 {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    color: var(--secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .16em;
}
.site-footer__contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 6px 0;
    color: rgba(224, 224, 224, .8);
    font-size: 15px;
    line-height: 1.6;
}
.footer-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin-top: 2px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.site-footer__bottom {
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 22px 0;
    border-top: 1px solid rgba(224, 224, 224, .15);
    color: rgba(224, 224, 224, .6);
    font-size: 14px;
}
.page-shell {
    width: min(100% - 32px, 1050px);
    margin: 30px auto 70px;
}
.page-heading {
    text-align: center;
    margin-bottom: 24px;
}
.eyebrow {
    margin: 0 0 8px;
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}
h1 {
    margin: 0;
    color: var(--navy);
    font-size: 24px;
    letter-spacing: .03em;
}
.page-heading > p:last-child {
    margin: 7px 0 0;
    color: #424b50;
    font-size: 14px;
    font-weight: 700;
}
.button--new {
    margin-top: 16px;
    color: #fff;
    background: var(--gold-dark);
    font-size: 13px;
}
.button--new:hover {
    background: #986b0c;
}
.enrollment-period {
    margin: 16px 0 0;
    color: var(--gold-dark);
    font-size: 14px;
    font-weight: 700;
}
.enrollment-form {
    display: grid;
    gap: 18px;
}
.top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.panel, .section-block {
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: 0 4px 15px rgba(35, 49, 59, .04);
}
.panel {
    padding: 18px;
}
.panel--compact {
    min-height: 208px;
}
.section-block {
    padding: 20px 22px 23px;
}
h2 {
    margin: -20px -22px 20px;
    padding: 12px 22px;
    border-bottom: 1px solid var(--line);
    color: var(--navy);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.form-grid {
    display: grid;
    gap: 16px 18px;
}
.form-grid--three {
    grid-template-columns: repeat(3, 1fr);
}
.form-grid--four {
    grid-template-columns: repeat(4, 1fr);
}
.field-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 18px;
}
.field[hidden] {
    display: none;
}
.field-group[hidden] {
    display: none;
}
.confirmation-photo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}
.confirmation-photo img {
    width: 90px;
    height: 110px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 4px;
}
.field-group--span-3 {
    grid-column: span 3;
}
.field {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.field-status {
    min-height: 16px;
    color: var(--muted);
    font-size: 12px;
}
.field-status:not(:empty) {
    color: var(--gold-dark);
}
.field--span-2 {
    grid-column: span 2;
}
.field--span-3 {
    grid-column: span 3;
}
label {
    color: #596166;
    font-size: 14px;
    font-weight: 700;
}
input, select, textarea {
    width: 100%;
    padding: 0 10px;
    border: 1px solid #d6dcda;
    border-radius: 3px;
    color: var(--ink);
    background: #fcfdfc;
    font: inherit;
    outline: none;
}
input, select {
    height: 35px;
}
textarea {
    padding-top: 8px;
    resize: vertical;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(217, 161, 40, .13);
}
select {
    cursor: pointer;
}
.edit-form input:read-only,
.edit-form select:disabled {
    color: #7b8589;
    background: #f1f3f2;
    border-color: #e2e6e4;
    cursor: not-allowed;
}
.upload-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 86px;
    align-items: center;
    min-height: 35px;
    border-bottom: 1px solid var(--line);
}
.upload-row label {
    font-size: 14px;
    font-weight: 400;
}
.upload-row input {
    position: absolute;
    inset: 0 0 0 auto;
    width: 86px;
    opacity: 0;
    cursor: pointer;
}
.file-button {
    padding: 7px 5px;
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}
.hint {
    margin: 13px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}
.preview-grid {
    display: grid;
    grid-template-columns: minmax(150px, 180px) minmax(220px, 1fr);
    gap: 15px;
    margin-top: 18px;
    align-items: stretch;
}
.preview {
    position: relative;
    min-height: 150px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #cbd5d2;
    border-radius: 4px;
    color: #75817e;
    background: #f5f8f7;
    font-size: 12px;
    text-align: center;
}
.preview img, .preview iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 150px;
    border: 0;
}
.preview img {
    object-fit: contain;
    background: #edf2f0;
}
.preview--photo {
    width: auto;
}
.preview--document {
    background: #eaf5f8;
    color: #3c7b8d;
}
.preview--document iframe {
    background: #fff;
}
.preview-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--on-primary);
    background: var(--error);
    cursor: pointer;
    font: 700 15px/26px "Roboto", sans-serif;
}
.preview-remove:hover, .preview-remove:focus-visible {
    background: #b92327;
}
.preview-remove:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}
.actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin-top: 13px;
}
.button {
    border: 0;
    border-radius: 2px;
    padding: 10px 13px;
    cursor: pointer;
    font: 700 13px "Roboto", sans-serif;
}
.button--gold {
    color: #fff;
    background: var(--gold);
}
.button--gold:hover {
    background: var(--gold-dark);
}
.button--dark, .button--submit {
    color: #fff;
    background: var(--navy);
}
.button--dark:hover, .button--submit:hover {
    background: #17232b;
}
.alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    color: var(--danger);
    background: #fbe9e5;
    border: 1px solid #efc8c0;
}
.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 13px;
}
.form-footer__actions {
    display: flex;
    gap: 9px;
}
.button--clear {
    color: #8e3229;
    background: #fbe9e5;
}
.button--clear:hover {
    background: #f2d5ce;
}
.button--submit {
    padding: 13px 21px;
    font-size: 14px;
}
.user-label {
    color: #111;
    font-size: 12px;
    font-weight: 700;
}
.edit-photo-field {
    max-width: 210px;
}
.edit-photo-preview {
    position: relative;
    display: grid;
    place-items: center;
    width: 150px;
    height: 150px;
    overflow: hidden;
    border: 1px solid #d6dcda;
    border-radius: 4px;
    color: var(--muted);
    background: #f1f3f2;
    font-size: 12px;
}
.edit-photo-preview img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.edit-photo-preview img[hidden] {
    display: none;
}
.ficha-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}
.filter-form {
    width: min(100%, 420px);
}
.filter-control-row {
    display: flex;
    align-items: center;
    gap: 9px;
}
.filter-control-row select {
    flex: 1;
}
.filter-clear {
    flex: 0 0 auto;
    padding: 9px 13px;
    text-decoration: none;
}
.result-count {
    padding-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}
.ficha-layout {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.8fr);
    gap: 18px;
    align-items: start;
}
.student-list {
    padding: 0;
    overflow: hidden;
}
.student-search {
    display: grid;
    gap: 7px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
}
.student-search label {
    font-size: 12px;
}
.student-search input {
    height: 34px;
}
.panel-title {
    margin: 0;
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
    color: var(--navy);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.student-list__items {
    display: grid;
}
.student-row {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 2px 10px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
}
.student-row:hover, .student-row--active {
    background: #f7f9f8;
}
.student-row__number {
    grid-row: span 2;
    align-self: center;
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 700;
}
.student-row__name {
    font-size: 13px;
    font-weight: 700;
}
.student-row small {
    color: var(--muted);
    font-size: 11px;
}
.empty-state, .sheet-placeholder {
    margin: 0;
    padding: 24px 18px;
    color: var(--muted);
    font-size: 13px;
}
.selection-hint {
    margin: 0;
    padding: 24px 18px;
    color: var(--muted);
    font-size: 13px;
}
.selection-hint--initial {
    text-align: center;
}
.student-sheet {
    padding: 0;
    overflow: hidden;
}
.sheet-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.sheet-header .eyebrow {
    margin-bottom: 8px;
}
.sheet-header h2 {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 19px;
    text-transform: none;
    letter-spacing: 0;
}
.sheet-subtitle {
    margin: 6px 0 0;
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 700;
}
.sheet-header__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.student-photo-frame {
    position: relative;
    display: grid;
    place-items: center;
    width: 112px;
    height: 140px;
    flex: 0 0 auto;
    overflow: hidden;
    outline: 1px solid #cbd5d2;
    color: var(--muted);
    background: #edf2f0;
    font-size: 12px;
    text-align: center;
}
.student-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 4px solid #fff;
    background: #edf2f0;
}
.student-photo[hidden] {
    display: none;
}
.sheet-section {
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
}
.sheet-section h3 {
    margin: 0 0 14px;
    color: var(--navy);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 18px;
    margin: 0;
}
.edit-form {
    display: grid;
    gap: 18px;
}
.detail-grid > div {
    min-width: 0;
}
.detail-grid__wide {
    grid-column: 1 / -1;
}
dt {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--ink);
    font-size: 13px;
}
.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 20px;
    background: #e9efec;
}
.login-card {
    width: min(100%, 480px);
    overflow: hidden;
    border-top: 6px solid var(--gold);
    background: #fff;
    box-shadow: 0 24px 60px rgba(23, 35, 45, .16);
}
.login-intro {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 540px;
    padding: 58px 52px;
    overflow: hidden;
    color: #fff;
    background: var(--navy);
}
.login-intro::after {
    content: "";
    position: absolute;
    right: -76px;
    bottom: -88px;
    height: 245px;
    border: 34px solid rgba(217, 161, 40, .18);
    border-radius: 50%;
}
.login-intro__seal {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 48px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: 700;
}
.login-intro__label {
    margin: 0 0 14px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
}
.login-intro h1 {
    max-width: 270px;
    color: #fff;
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: 0;
}
.login-intro > p:not(.login-intro__label) {
    max-width: 280px;
    margin: 18px 0 0;
    color: #d9e0df;
    font-size: 14px;
    line-height: 1.7;
}
.login-intro__line {
    width: 46px;
    height: 3px;
    margin: 34px 0 18px;
    background: var(--gold);
}
.login-intro small {
    color: #aebcbd;
    font-size: 11px;
    line-height: 1.7;
}
.login-panel {
    padding: 44px 52px 52px;
}
.login-panel__logo {
    display: block;
    width: 165px;
    height: auto;
    margin: 0 0 38px;
}
.login-panel .eyebrow {
    margin-bottom: 9px;
}
.login-panel h2 {
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--navy);
    font-size: 30px;
    text-transform: none;
    letter-spacing: 0;
}
.login-copy {
    margin: 9px 0 30px;
    color: var(--muted);
}
.login-form {
    display: grid;
    gap: 20px;
}
.login-form .button {
    width: 100%;
    margin-top: 4px;
}
.report-filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    align-items: end;
    gap: 16px;
    margin-bottom: 18px;
}
.report-filters .button {
    height: 35px;
}
.report-total {
    margin: 0 0 18px;
    padding: 18px;
    color: var(--navy);
    background: #fff;
    border-left: 5px solid var(--gold);
    font-size: 18px;
    font-weight: 700;
}
.report-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.report-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.report-table th, .report-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}
.report-table th:last-child, .report-table td:last-child {
    width: 90px;
    text-align: right;
}
.report-table th {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
}
@media (max-width: 760px) {
    .field-group, .report-filters, .report-grid {
    grid-template-columns: 1fr;
}
.field-group--span-3 {
    grid-column: span 1;
}
.login-page {
    padding: 18px 12px;
}
.login-panel {
    padding: 34px 28px 38px;
}
.login-panel__logo {
    margin-bottom: 28px;
}

}
@media (max-width: 760px) {
    .site-header {
    gap: 12px;
    padding: 14px 12px;
}
.site-header .brand__logo {
    max-width: 145px;
    height: 40px;
}
nav {
    width: auto;
    justify-content: flex-end;
    gap: 10px;
}
nav a {
    font-size: 10px;
}
.user-label {
    display: none;
}
.page-shell {
    width: min(100% - 20px, 600px);
    margin-top: 22px;
}
h1 {
    font-size: 19px;
}
.top-grid, .form-grid--three, .form-grid--four {
    grid-template-columns: 1fr;
}
.ficha-toolbar, .ficha-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.filter-form {
    width: 100%;
}
.result-count {
    padding-bottom: 0;
}
.sheet-header {
    padding: 18px;
}
.sheet-header h2 {
    font-size: 16px;
}
.sheet-header__actions {
    align-items: end;
}
.sheet-section {
    padding: 16px 18px;
}
.detail-grid {
    grid-template-columns: 1fr;
}
.detail-grid__wide {
    grid-column: auto;
}
.field--span-2, .field--span-3 {
    grid-column: span 1;
}
.form-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
}
.form-footer__actions {
    flex-direction: column-reverse;
}
.button--submit {
    width: 100%;
}
.site-footer {
    margin-top: 40px;
    padding: 40px 20px 20px;
}
.site-footer__content {
    grid-template-columns: 1fr;
    gap: 40px;
}
.site-footer__brand img {
    width: min(100%, 300px);
}
.site-footer__bottom {
    margin-top: 40px;
}

}
@media print {
    .site-header,
    .site-footer,
    .ficha-toolbar,
    .student-list,
    .page-heading,
    .sheet-header__actions .button,
    .edit-form,
    .form-footer {
    display: none !important;
}
.page-shell {
    width: 100%;
    margin: 0;
}
.ficha-layout,
    .student-sheet {
    display: block;
    box-shadow: none;
}
body {
    background: #fff;
}
.ficha-layout {
    width: 100%;
    margin: 0;
}

}
/* Student login page specific styles */
.student-login-page {
    background: var(--surface);
    display: flex;
    flex-direction: column;
}
.student-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    min-height: 74px;
    padding: 0 clamp(22px, 7vw, 110px);
    background: #fff;
    border-bottom: 1px solid #e8ebe9;
}
.student-header .brand__logo {
    max-height: 50px;
    width: auto;
}
.student-nav a {
    color: #000;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}
.student-nav {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    flex-wrap: nowrap;
    margin-left: auto;
    overflow-x: auto;
    scrollbar-width: none;
}
.student-nav::-webkit-scrollbar {
    display: none;
}
.student-nav a:hover {
    color: var(--gold);
}
.student-login-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
    padding: clamp(28px, 5vw, 52px) 40px 70px;
    max-width: 1200px;
    margin: 0 auto;
    flex: 1;
    width: 100%;
    background: var(--surface);
}
.student-login-left {
    background: #ffffff;
    padding: 30px 34px 34px;
    border: 1px solid var(--line);
    border-radius: 4px;
    box-shadow: 0 10px 24px rgba(35, 49, 59, .10);
    flex: 1;
    max-width: 500px;
    height: fit-content;
}
.student-login-left h2 {
    text-align: center;
    margin: -2px 0 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    font-weight: 800;
    color: var(--navy);
    font-size: 24px;
}
.form-row-buscar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.form-row-buscar input {
    flex: 1;
    padding: 0 12px;
    border: 1px solid #cbd5d2;
    border-radius: 3px;
}
.btn-buscar {
    background-color: var(--gold);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 2px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}
.btn-buscar:hover {
    background-color: var(--gold-dark);
}
.student-login-left .field {
    margin-bottom: 20px;
}
.student-login-left select,
.student-login-left input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #cbd5d2;
    border-radius: 3px;
    background-color: #fcfdfc;
    color: var(--ink);
    font: inherit;
}
.student-login-left select {
    appearance: none;
    padding-right: 38px;
    background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
    background-repeat: no-repeat, no-repeat;
    background-position: calc(100% - 17px) 19px, calc(100% - 12px) 19px;
    background-size: 5px 5px, 5px 5px;
}
.student-login-left select:focus,
.student-login-left input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(217, 161, 40, .15);
}
.student-login-left input#operacion {
    background-color: #eef2f1;
}
.btn-enviar {
    background-color: var(--gold);
    color: #fff;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 2px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}
.btn-enviar:hover {
    background-color: var(--gold-dark);
}
.student-login-right {
    flex: 1;
    max-width: 500px;
    padding: 30px 34px 34px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface);
    box-shadow: 0 10px 24px rgba(35, 49, 59, .10);
    height: fit-content;
}
.student-login-right h2 {
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
    font-size: 24px;
    color: var(--navy);
}
.steps-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}
.steps-list li {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}
.voucher-image-container {
    text-align: center;
    margin-top: 20px;
}
.voucher-image-container img {
    max-width: 100%;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
@media (max-width: 900px) {
    .public-site-header {
        position: relative;
        min-height: 58px;
        padding: 0 16px;
        overflow: visible;
    }
    .public-site-header .header-inner {
        min-height: 58px;
        padding: 6px 0;
    }
    .public-site-header .brand-logo {
        width: 128px;
    }
    .public-site-header .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: -16px;
        right: -16px;
        z-index: 20;
        left: -16px;
        transform: none;
        margin: 0;
        padding: 12px 20px 18px;
        background: #fff;
        border-top: 1px solid #e8ebe9;
        border-bottom: 1px solid #e8ebe9;
        box-shadow: 0 8px 16px rgba(14, 51, 77, .12);
    }
    .public-site-header .main-nav.open {
        display: block;
    }
    .public-site-header .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    .public-site-header .main-nav li {
        width: 100%;
    }
    .public-site-header .main-nav a {
        display: block;
        padding: 11px 0;
        font-size: 14px;
    }
    .public-site-header .header-cta {
        margin-left: auto;
    }
    .public-site-header .btn-campus {
        display: none;
    }
    .public-site-header .menu-toggle {
        display: block;
    }
    .student-header {
    gap: 12px;
    padding: 14px 12px;
}
.student-header .brand__logo {
    max-width: 145px;
    height: 40px;
}
.student-nav {
    display: flex;
    width: auto;
    justify-content: flex-end;
    gap: 10px;
    white-space: nowrap;
}
.student-nav a {
    margin-left: 0;
    font-size: 10px;
}
.student-login-container {
    flex-direction: column;
    padding: 24px 16px 48px;
}
.student-login-left, .student-login-right {
    max-width: none;
    width: 100%;
}
.student-login-left {
    padding: 26px 20px 24px;
}
.student-login-right {
    padding: 0 4px;
}
.form-row-buscar {
    align-items: stretch;
}
.btn-buscar {
    padding: 10px 16px;
}

}
