﻿/* =====================================================================
   CEB Employee Portal - design system (revamp 2026)
   Replaces Content/style.css for every page that uses Site.Master.
   Also restyles the legacy class names still used in the page markup
   (contentform, form-group, textbox, bouton-next, upload_label, ...).
   ===================================================================== */

:root {
    --navy: #00265d;
    --navy-600: #0b3a7e;
    --navy-050: #eef3fb;
    --gold: #fdb927;
    --gold-600: #e6a300;
    --bg: #f3f5f9;
    --card: #ffffff;
    --text: #1d2433;
    --muted: #667085;
    --border: #d9e0ea;
    --border-strong: #b9c3d3;
    --danger: #b42318;
    --danger-050: #fef3f2;
    --success: #067647;
    --success-050: #ecfdf3;
    --warning-050: #fffaeb;
    --warning: #b54708;
    --radius: 10px;
    --radius-sm: 6px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
    --focus: 0 0 0 3px rgba(11, 58, 126, .25);
    --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.5;
}

form.app-form {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    width: auto;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

a { color: var(--navy-600); }
a:hover { color: var(--navy); }

img { max-width: 100%; }

hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 20px 0;
}

/* ---------- top bar ---------- */
.topbar {
    background: var(--navy);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

.topbar-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
}

.brand:hover { color: #fff; }

.brand img {
    height: 40px;
    width: auto;
    background: #fff;
    border-radius: 8px;
    padding: 3px 6px;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; letter-spacing: .2px; }
.brand-text small { font-size: 12px; color: #c9d6ee; }

.mainnav {
    display: flex;
    gap: 4px;
    flex: 1;
}

.mainnav a {
    color: #dce6f7;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 500;
    white-space: nowrap;
}

.mainnav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.mainnav a.active { background: var(--gold); color: var(--navy); }

.userbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.user-meta { display: flex; flex-direction: column; line-height: 1.2; }
.user-name { font-weight: 600; font-size: 14px; }
.user-coy { font-size: 12px; color: #c9d6ee; }

.nav-toggle {
    display: none;
    margin-left: auto;
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 4px 0;
    border-radius: 2px;
}

/* ---------- wizard stepper ---------- */
.stepper-wrap {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.stepper {
    list-style: none;
    margin: 0 auto;
    padding: 14px 20px;
    max-width: 1240px;
    display: flex;
    gap: 0;
    overflow-x: auto;
}

.stepper li {
    flex: 1;
    min-width: 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    color: var(--muted);
    font-size: 12.5px;
    text-align: center;
}

.stepper li::before {
    content: "";
    position: absolute;
    top: 14px;
    left: -50%;
    width: 100%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.stepper li:first-child::before { display: none; }
.stepper li.done::before, .stepper li.current::before { background: var(--navy-600); }

.stepper .dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--border-strong);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.stepper li.done .dot { background: var(--navy-600); border-color: var(--navy-600); color: #fff; font-size: 0; }
.stepper li.done .dot::after { content: "\2713"; font-size: 14px; }
.stepper li.current .dot { border-color: var(--gold-600); background: var(--gold); color: var(--navy); }
.stepper li.current { color: var(--navy); font-weight: 600; }

/* ---------- page shell ---------- */
.page {
    flex: 1;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 20px 40px;
}

.page-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 32px 32px;
}

.page-card > h1:first-child,
.page-card h1 {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 650;
    color: var(--navy);
    text-align: left;
    text-shadow: none;
    background: none;
    padding: 0;
    margin: 0 0 6px;
    border-radius: 0;
}

.page-card h2 { font-size: 19px; color: var(--navy); margin: 24px 0 10px; }
.page-card h3 { font-size: 16px; color: var(--text); margin: 18px 0 8px; }

.page-intro { color: var(--muted); margin: 0 0 20px; }

.site-footer {
    text-align: center;
    color: var(--muted);
    font-size: 12.5px;
    padding: 18px 20px 28px;
}

/* ---------- alerts & messages ---------- */
.alert {
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    margin: 0 0 16px;
    border: 1px solid transparent;
    font-size: 14px;
}

.alert-error, .alert-danger { background: var(--danger-050); border-color: #fecdca; color: var(--danger); }
.alert-success { background: var(--success-050); border-color: #abefc6; color: var(--success); }
.alert-warning { background: var(--warning-050); border-color: #fedf89; color: var(--warning); }
.alert-info { background: var(--navy-050); border-color: #c7d7f0; color: var(--navy); }
.alert:empty { display: none; }

/* legacy red labels (errmsg / Label1 / Label2 ...) become alerts when they contain text */
.page-card span[id$="_errmsg"]:not(:empty),
.page-card span[id$="_Label1"]:not(:empty),
.page-card span[id$="_Label2"]:not(:empty),
.page-card span[id$="_msg"]:not(:empty) {
    display: block;
    background: var(--danger-050);
    border: 1px solid #fecdca;
    color: var(--danger) !important;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin: 8px 0 14px;
    font-weight: 500 !important;
}

.page-card span[id$="_errmsg"] + br,
.page-card span[id$="_Label1"] + br,
.page-card span[id$="_Label2"] + br { display: none; }

/* ---------- legacy layout: contentform / two columns ---------- */
.contentform { padding: 8px 0 0; }

.contentform::after { content: ""; display: table; clear: both; }

.leftcontact, .rightcontact {
    width: 50%;
    float: left;
    border: 0;
    padding: 0 16px 0 0;
}

.rightcontact { padding: 0 0 0 16px; }

/* ---------- form fields ---------- */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 16px;
    height: auto;
    overflow: visible;
    clear: both;
    width: 100%;
}

.form-group > span:first-child,
.field-label {
    position: static !important;
    width: auto !important;
    font-weight: 600;
    font-size: 13.5px;
    color: #344054;
}

.form-group > span:first-child > span,
.req { color: var(--danger); margin-left: 2px; }

.textbox, .tb1, .tb2, .tb3, .tb4,
.page-card input[type="text"], .page-card input[type="date"], .page-card input[type="email"],
.page-card input[type="number"], .page-card input[type="tel"], .page-card input[type="password"],
.page-card select, .page-card textarea {
    width: 100%;
    max-width: none;
    height: 40px;
    margin: 0;
    float: none;
    padding: 8px 12px;
    font: inherit;
    font-size: 14.5px;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    transition: border-color .15s, box-shadow .15s;
}

.page-card textarea, textarea.textbox { height: auto; min-height: 64px; resize: vertical; line-height: 1.4; }

.textbox:focus, .page-card input:focus, .page-card select:focus, .page-card textarea:focus {
    outline: none;
    border-color: var(--navy-600);
    box-shadow: var(--focus);
}

.textbox[disabled], .page-card input[disabled], .page-card select[disabled], .page-card textarea[disabled] {
    background: #f2f4f7;
    color: var(--muted);
}

select.textbox { width: 100% !important; }

.page-card input[type="checkbox"], .page-card input[type="radio"] {
    width: auto;
    height: auto;
    float: none;
    margin: 0 6px 0 0;
    accent-color: var(--navy-600);
}

.hint { color: var(--muted); font-size: 12.5px; }

/* validators */
.err_msg_field, .err_msg_field1, .validation {
    position: static !important;
    top: auto;
    font-size: 12.5px;
    color: var(--danger);
    margin: 0;
}

.err_msg_field[style*="visibility:hidden"],
.err_msg_field1[style*="visibility:hidden"] { display: none; }

.validation:empty { display: none; }

/* ---------- buttons ---------- */
.btn, .bouton-next, .bouton-back, .bouton-reset, .bouton-prev, .submit, .download-button, .logout_btn,
:where(.page-card input[type="submit"], .page-card button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto !important;
    height: 40px !important;
    min-width: 0;
    padding: 0 18px;
    margin: 0;
    float: none;
    font: inherit;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}

.btn:focus-visible, .bouton-next:focus-visible, .bouton-back:focus-visible { outline: none; box-shadow: var(--focus); }

/* primary = navy */
.btn-primary, .bouton-next, .submit, .download-button,
:where(.page-card input[type="submit"]) {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.btn-primary:hover, .bouton-next:hover, .submit:hover, .download-button:hover,
:where(.page-card input[type="submit"]):hover { background: var(--navy-600); color: #fff; }

/* accent = gold */
.btn-accent { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-accent:hover { background: var(--gold-600); border-color: var(--gold-600); color: var(--navy); }

/* secondary = outline */
.btn-secondary, .bouton-back, .bouton-prev, .bouton-reset, .btn-default {
    background: #fff;
    color: var(--navy);
    border-color: var(--border-strong);
}

.btn-secondary:hover, .bouton-back:hover, .bouton-prev:hover, .bouton-reset:hover { background: var(--navy-050); }

.btn-danger { background: #fff; color: var(--danger); border-color: #fda29b; }
.btn-danger:hover { background: var(--danger-050); }

.btn-ghost { background: transparent; color: inherit; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.page-card .btn-ghost { color: var(--navy); border-color: var(--border); }

.btn-link {
    background: none;
    border: 0;
    color: var(--navy-600);
    padding: 0 4px;
    height: auto !important;
    text-decoration: underline;
    font-weight: 500;
}

.btn-sm { height: 32px !important; padding: 0 12px; font-size: 13px; }
.btn-lg { height: 48px !important; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100% !important; }

.btn[disabled], .btn.aspNetDisabled, input[type="submit"][disabled] {
    opacity: .45;
    cursor: not-allowed;
}

/* action bar at the bottom of forms */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.form-actions .spacer { flex: 1; }

/* legacy back/next tables */
.page-card table[style*="height"] { height: auto !important; margin-top: 24px; }
.page-card table[style*="height"] td { padding: 0 8px 0 0; }

/* ---------- uploads ---------- */
input.input_upload { display: none !important; }

label.upload_label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    min-height: 38px;
    padding: 6px 12px;
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-sm);
    background: #f8fafc;
    color: var(--navy-600) !important;
    font-size: 13px !important;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    float: none !important;
    height: auto !important;
}

label.upload_label::before { content: "\2191"; font-weight: 700; }
label.upload_label:hover { border-color: var(--navy-600); background: var(--navy-050); }

span.remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px !important;
    height: 22px;
    border-radius: 50%;
    background: var(--danger-050) !important;
    color: var(--danger);
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    margin-right: 6px;
}

.file-cell { display: flex; flex-direction: column; gap: 6px; }

.file-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--navy-050);
    color: var(--navy);
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-chip::before { content: "\1F4C4"; font-size: 12px; }

.file_btn { display: none; }

/* native file input used in repeaters */
.page-card input[type="file"] {
    width: 100%;
    height: auto;
    font-size: 13px;
    padding: 6px;
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-sm);
    background: #f8fafc;
    float: none;
    margin: 0;
}

/* ---------- tables ---------- */
.page-card table { border-collapse: collapse; width: 100%; }

.data-table, .table, .tertiary table, .prev-emp table, .secondary table, .primary table {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
}

.data-table th, .table th,
.tertiary table tr:first-child td, .prev-emp table tr:first-child td {
    background: #f6f8fb !important;
    color: #344054;
    font-weight: 600;
    font-size: 13px;
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
}

.data-table td, .table td, .tertiary td, .prev-emp td, .secondary td, .primary td {
    padding: 10px 12px;
    border-bottom: 1px solid #edf0f5;
    vertical-align: top;
    border-left: 0;
    border-right: 0;
}

.data-table tr:last-child td, .table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: #fafbfd; }
.tertiary p, .prev-emp p { margin: 0; line-height: 1.3; }

.table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.badge-success { background: var(--success-050); color: var(--success); }
.badge-warning { background: var(--warning-050); color: var(--warning); }
.badge-muted { background: #f2f4f7; color: #475467; }
.badge-danger { background: var(--danger-050); color: var(--danger); }
.badge-info { background: var(--navy-050); color: var(--navy); }

/* ---------- dynamic rows (add / remove) ---------- */
.entries { display: flex; flex-direction: column; gap: 14px; }

.entry {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    padding: 16px 18px;
    position: relative;
}

.entry-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: -2px 0 12px;
}

.entry-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: var(--muted);
}

.entry-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px 14px;
}

.entry-grid .col-2 { grid-column: span 2; }
.entry-grid .col-3 { grid-column: span 3; }
.entry-grid .col-4 { grid-column: span 4; }
.entry-grid .col-5 { grid-column: span 5; }
.entry-grid .col-6 { grid-column: span 6; }
.entry-grid .col-12 { grid-column: span 12; }
.entry-grid .form-group { margin: 0; }

.add-row {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.add-row .hint { margin: 0; }

.entry.is-empty { background: #fcfcfd; }

/* client-side add/remove rows inside fixed subject tables */
tr.row-hidden { display: none; }
.row-remove {
    background: none;
    border: 0;
    color: var(--danger);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 6px;
}

/* ---------- section headings used by secondary pages ---------- */
.secondary-contentform h3 {
    background: var(--navy-050);
    color: var(--navy);
    font-size: 15px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    margin: 0 0 14px;
    text-align: left;
}

.secondary-contentform h4 {
    background: var(--warning-050);
    color: var(--warning);
    font-size: 14px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    margin: -8px 0 14px;
    text-align: left;
}

.secondary-contentform .form-group input,
.secondary.form-group input { width: 100% !important; height: 40px !important; float: none !important; }

/* requirements list at top of education pages */
.page-card > ul { color: #475467; padding-left: 20px; margin: 4px 0 12px; }

/* ---------- declaration checkbox ---------- */
.checkbox_container {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding: 12px 16px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    background: #fff;
    user-select: none;
}

.checkbox_container input { position: static; opacity: 1; width: 18px !important; height: 18px; margin: 0; }
.checkbox_container .checkmark { display: none; }

/* ---------- cards / lists ---------- */
.toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 16px 0;
}

.toolbar .grow { flex: 1; }

.search-box {
    display: flex;
    gap: 8px;
    flex: 1;
    min-width: 240px;
    max-width: 680px;
    flex-wrap: wrap;
}

.search-box .textbox:first-child { min-width: 200px; }

.search-box .textbox { flex: 1; }

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.stat {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    background: #fff;
}

a.stat-link { display: block; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.stat-link:hover { border-color: var(--navy-600); color: inherit; }
a.stat-link.is-active { border-color: var(--navy-600); box-shadow: inset 0 0 0 1px var(--navy-600); background: var(--navy-050); }

.stat .num { font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.stat .lbl { color: var(--muted); font-size: 13px; }

.progress { height: 6px; border-radius: 999px; background: #edf0f5; overflow: hidden; margin-top: 10px; }
.progress > span { display: block; height: 100%; background: var(--gold); }

.pager {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 13.5px;
}

.empty-state {
    text-align: center;
    color: var(--muted);
    padding: 36px 16px;
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius);
}

/* vacancy cards */
.vacancy-list { display: grid; gap: 12px; }

.vacancy {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 18px;
    align-items: center;
    border: 1px solid var(--border);
    border-left: 4px solid var(--navy-600);
    border-radius: var(--radius);
    padding: 16px 18px;
    background: #fff;
}

.vacancy.is-closed { border-left-color: var(--border-strong); background: #fafbfc; }
.vacancy.is-applied { border-left-color: var(--success); }
.vacancy h3 { margin: 0; font-size: 16.5px; color: var(--navy); }
.vacancy .meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }
.vacancy .meta b { color: var(--text); font-weight: 600; }
.vacancy .links { display: flex; gap: 14px; font-size: 13.5px; flex-wrap: wrap; }
.vacancy .action { grid-row: 1 / span 3; grid-column: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

/* login */
.auth {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    min-height: 460px;
    margin: -28px -32px -32px;
    border-radius: var(--radius);
    overflow: hidden;
}

.auth-side {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-600) 100%);
    color: #fff;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.auth-side img { width: 120px; background: #fff; border-radius: 12px; padding: 8px 12px; }
.auth-side h1 { color: #fff !important; font-size: 26px !important; }
.auth-side p { color: #d6e2f5; margin: 0; }
.auth-side ul { margin: 6px 0 0; padding-left: 18px; color: #d6e2f5; }

/* login: illustration panel */
.auth-side.auth-hero { padding: 0; background: #0a2f78; display: block; position: relative; overflow: hidden; }
.auth-side.auth-hero .auth-hero-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: left top;
    background: none; padding: 0; border-radius: 0;
}

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.auth-main { padding: 40px 40px; display: flex; flex-direction: column; justify-content: center; }
.auth-main h2 { margin: 0 0 4px; font-size: 21px; color: var(--navy); }

.segmented { display: inline-flex; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); overflow: hidden; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label { padding: 8px 18px; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--muted); border-right: 1px solid var(--border-strong); }
.segmented label:last-of-type { border-right: 0; }
.segmented input:checked + label { background: var(--navy); color: #fff; }

.otp-input { font-size: 24px !important; letter-spacing: 10px; text-align: center; height: 52px !important; font-weight: 700; }

.link-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; }

/* ---------- toast ---------- */
#toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--navy);
    color: #fff;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    opacity: 0;
    transition: all .25s;
    pointer-events: none;
    z-index: 999;
}

#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- overlay / loader (exports) ---------- */
#overlay {
    position: fixed;
    inset: 0;
    background: rgba(16, 24, 40, .45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 500;
    color: #fff;
    font-weight: 600;
    flex-direction: column;
    gap: 14px;
}

.loader {
    width: 44px;
    height: 44px;
    border: 4px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
    .leftcontact, .rightcontact { width: 100%; float: none; padding: 0; }
    .entry-grid .col-2, .entry-grid .col-3, .entry-grid .col-4, .entry-grid .col-5 { grid-column: span 6; }
    .auth { grid-template-columns: 1fr; }
    .auth-side { padding: 28px; }
    .auth-side.auth-hero { height: 260px; }
}

@media (max-width: 760px) {
    .nav-toggle { display: block; }
    .topbar-inner { flex-wrap: wrap; gap: 10px; }
    .mainnav, .userbox { display: none; width: 100%; }
    body.nav-open .mainnav { display: flex; flex-direction: column; }
    body.nav-open .userbox { display: flex; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .15); }
    .page { padding: 14px 10px 30px; }
    .page-card { padding: 20px 16px 24px; }
    .auth { margin: -20px -16px -24px; }
    .auth-main { padding: 26px 20px; }
    .auth-side.auth-hero { height: 175px; }
    .entry-grid .col-2, .entry-grid .col-3, .entry-grid .col-4, .entry-grid .col-5, .entry-grid .col-6 { grid-column: span 12; }
    .vacancy { grid-template-columns: 1fr; }
    .vacancy .action { grid-row: auto; grid-column: 1; align-items: flex-start; }
    .stepper .lbl { display: none; }
    .stepper li { min-width: 40px; }
}

@media print {
    .topbar, .stepper-wrap, .site-footer, .form-actions, .btn { display: none !important; }
    .page-card { border: 0; box-shadow: none; padding: 0; }
    body { background: #fff; }
}
