/* A focused extension of the existing Ofisense personal-area design. */
.students-page [hidden] { display: none !important; }
.students-page { color-scheme: dark; scrollbar-color: #69616e #0a0a0f; }
.students-page :focus-visible { outline: 2px solid #ff8496; outline-offset: 5px; }
.students-page a { text-underline-offset: 4px; }
.students-page .login-page { min-height: 100svh; padding-block: 100px 40px; }
.students-page .back-home { position: absolute; }
.students-page .login-container { max-width: 460px; }
.students-page .brand-logo img { display: block; max-width: 100%; width: auto; animation: none; filter: none; }
.students-page .login-card { border-radius: 16px; background: #15131a; backdrop-filter: none; }
.students-page .card-content h1 { font-size: clamp(1.65rem, 5vw, 2rem); font-weight: 700; text-wrap: balance; background: none; -webkit-text-fill-color: currentColor; }
.students-page .login-subtitle { color: #c7c0cd; line-height: 1.7; margin-top: 12px; }
.students-page .form-field input { caret-color: #ff8496; }
.students-page .form-field input::placeholder { color: #b0a8b8; }
.students-page [aria-invalid="true"] { border-color: #ff8496; }
.students-page .btn-login, .student-primary { background: #bc2848; color: #fff; border-radius: 10px; box-shadow: none; }
.students-page .btn-login:hover:not(:disabled), .student-primary:hover:not(:disabled) { background: #a92240; box-shadow: none; transform: none; }
.students-page button:disabled { opacity: .65; cursor: wait; }
.students-page .error-message { color: #ffb1bd; }
.students-page .login-help { color: #c7c0cd; }
.students-page .login-help a, .student-privacy a { color: #ff8496; }
.student-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px max(20px, calc((100% - 880px) / 2)); border-bottom: 1px solid #27232c; }
.student-logo img { display: block; width: auto; height: 34px; }
.student-content { max-width: 800px; margin-inline: auto; padding: 48px 24px 64px; }
.student-content h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); font-weight: 700; line-height: 1.2; text-wrap: balance; }
.student-intro { margin-top: 18px; color: #c7c0cd; font-size: 1.1rem; }
.student-progress { margin-block: 36px 28px; }
.student-progress ol { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; gap: 10px; }
.student-progress li { padding-block: 12px; border-bottom: 2px solid #39313f; color: #b9afc2; font-size: .95rem; }
.student-progress li[aria-current="step"] { border-color: #ff8496; color: #fff; font-weight: 700; }
.student-progress li.completed { border-color: #9365af; }
.required-note, .student-privacy { color: #c7c0cd; font-size: .9rem; line-height: 1.7; }
.question-section h2 { font-size: 1.5rem; margin-block: 28px 24px; font-weight: 600; }
.question { border: 0; min-width: 0; padding: 0; margin-bottom: 32px; }
.question > label, .question > legend { display: block; margin-bottom: 12px; font-size: 1.08rem; font-weight: 500; line-height: 1.55; }
.question .required-mark { color: #ff8496; margin-inline-start: 4px; }
.question input[type="text"], .question input[type="tel"], .question textarea { width: 100%; border: 1px solid #63596d; border-radius: 10px; padding: 14px 16px; background: #17141d; color: #fff; font: inherit; caret-color: #ff8496; }
.question textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
.question input[type="tel"] { direction: ltr; text-align: right; }
.question input:focus, .question textarea:focus { border-color: #ff8496; }
.question-options { display: flex; flex-direction: column; gap: 8px; }
.question-option { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 8px; background: #17141d; cursor: pointer; line-height: 1.55; min-height: 48px; }
.question-option:hover { background: #211a28; }
.question-option:has(input:checked) { background: #302034; box-shadow: inset 0 0 0 1px #c37cbe; }
.question-option input { flex: 0 0 auto; width: 19px; height: 19px; margin-top: 3px; accent-color: #d54d71; }
.question-hint { margin-block: -4px 12px; color: #c7c0cd; font-size: .9rem; }
.question-other { margin-top: 14px; }
.question-other label { display: block; margin-bottom: 8px; }
.questionnaire-actions { display: flex; justify-content: flex-end; gap: 12px; margin-block: 32px 24px; }
.student-primary, .student-secondary { min-height: 48px; padding: 12px 28px; border: 0; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.student-secondary { background: #28202f; color: #fff; border-radius: 10px; }
.student-secondary:hover { background: #3b2e44; }
#previous-step { margin-inline-end: auto; }
.student-success { padding-block: 48px; text-align: center; }
.student-success svg { color: #ff8496; margin-bottom: 24px; }
.student-success p { color: #c7c0cd; line-height: 1.8; margin-block: 20px 32px; }
.student-success a { display: inline-flex; align-items: center; }
.student-honeypot { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
@media (max-width: 480px) {
    .students-page .login-card { padding: 32px 24px; }
    .students-page .back-home { inset-block-start: 20px; inset-inline-start: 20px; inset-inline-end: auto; }
    .student-header { padding: 20px 16px; }
    .student-logo img { height: 28px; }
    .student-content { padding: 32px 18px 48px; }
    .student-progress ol { gap: 6px; }
    .student-progress li { font-size: .8rem; }
    .student-primary, .student-secondary { padding-inline: 20px; }
}
