/* ============================================================
   Job Seeker Portal — Multi-Step Signup Styles
   Scoped: .gfi-js-portal
   Tokens shared with assurance-portal/portal-styles.css
   ============================================================ */

:root {
    --gfi-js-header-offset: 96px;
    --gfi-js-accent: #4ecca3;
    --gfi-js-accent-dark: #3db892;
    --gfi-js-accent-soft: #f0fdf9;
    --gfi-js-ink: #0d1117;
    --gfi-js-text: #333333;
    --gfi-js-muted: #666666;
    --gfi-js-line: #e2e8f0;
    --gfi-js-surface: #ffffff;
    --gfi-js-surface-alt: #f8fafc;
    --gfi-js-radius: 14px;
    --gfi-js-shadow: 0 4px 24px rgba(0,0,0,.07);
}

/* --- Page setup ---------------------------------------- */
.page-template-job-seeker-portal-template-job-seeker-signup-php .entry-title {
    display: none !important;
}

body[class*="job-seeker-signup-php"] #main {
    padding-top: var(--gfi-js-header-offset, 96px) !important;
}

/* --- Root tokens --------------------------------------- */
.gfi-js-portal {
    --js-accent:       var(--gfi-js-accent);
    --js-accent-dark:  var(--gfi-js-accent-dark);
    --js-accent-soft:  var(--gfi-js-accent-soft);
    --js-ink:          var(--gfi-js-ink);
    --js-text:         var(--gfi-js-text);
    --js-muted:        var(--gfi-js-muted);
    --js-line:         var(--gfi-js-line);
    --js-surface:      var(--gfi-js-surface);
    --js-surface-alt:  var(--gfi-js-surface-alt);
    --js-radius:       var(--gfi-js-radius);
    --js-shadow:       var(--gfi-js-shadow);

    font-family: inherit;
    color: var(--js-text);
    padding: 40px 0 80px;
    background: #ffffff;
    min-height: 70vh;
}

.gfi-js-portal *,
.gfi-js-portal *::before,
.gfi-js-portal *::after {
    box-sizing: border-box;
}

/* --- Shell -------------------------------------------- */
.gfi-js-shell {
    width: min(680px, calc(100% - 32px));
    margin: 0 auto;
}

/* ============================================================
   PROGRESS STEPPER
   ============================================================ */
.gfi-js-progress {
    margin-bottom: 32px;
}

.gfi-js-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 0 4px;
}

/* Connecting line behind dots */
.gfi-js-steps::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 24px;
    right: 24px;
    height: 2px;
    background: var(--js-line);
    z-index: 0;
}

/* Filled progress line */
.gfi-js-steps::after {
    content: "";
    position: absolute;
    top: 18px;
    left: 24px;
    height: 2px;
    background: var(--js-accent);
    transition: width 0.4s ease;
    z-index: 0;
    width: var(--js-progress-width, 0%);
    max-width: calc(100% - 48px);
}

.gfi-js-step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.gfi-js-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--js-surface);
    border: 2px solid var(--js-line);
    color: var(--js-muted);
    font-size: 13px;
    font-weight: 700;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.gfi-js-step-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--js-muted);
    letter-spacing: 0.03em;
    white-space: nowrap;
    transition: color 0.25s ease;
}

/* Active step */
.gfi-js-step-dot.is-active .gfi-js-step-num {
    background: var(--js-accent);
    border-color: var(--js-accent);
    color: #000;
}
.gfi-js-step-dot.is-active .gfi-js-step-label {
    color: var(--js-accent-dark);
}

/* Completed step */
.gfi-js-step-dot.is-done .gfi-js-step-num {
    background: var(--js-accent-dark);
    border-color: var(--js-accent-dark);
    color: #fff;
}
.gfi-js-step-dot.is-done .gfi-js-step-num::before {
    content: "✓";
}
.gfi-js-step-dot.is-done .gfi-js-step-label {
    color: var(--js-accent-dark);
}

/* ============================================================
   CARD
   ============================================================ */
.gfi-js-card {
    background: var(--js-surface);
    border: 1px solid var(--js-line);
    border-radius: var(--js-radius);
    padding: 36px;
    box-shadow: var(--js-shadow);

    animation: jsCardIn 0.3s ease both;
}

@keyframes jsCardIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.gfi-js-card[hidden] {
    display: none !important;
}

/* Card header */
.gfi-js-card-header {
    margin-bottom: 28px;
}

.gfi-js-card-title {
    margin: 6px 0 8px;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--js-ink);
}

.gfi-js-card-sub {
    margin: 0;
    color: var(--js-muted);
    font-size: 15px;
    line-height: 1.65;
}

/* Kicker */
.gfi-card-kicker {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--js-accent-soft);
    border: 1px solid rgba(78,204,163,.4);
    color: var(--js-accent-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

/* ============================================================
   FORM FIELDS  (re-use .gfi-input / .gfi-select / .gfi-textarea
   from portal-styles.css — define locally so this file works
   standalone too)
   ============================================================ */
.gfi-js-portal .gfi-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.gfi-js-inline-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.gfi-js-salary-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 10px;
    align-items: end;
}

.gfi-js-salary-input {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.gfi-js-salary-separator {
    align-self: center;
    justify-self: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--js-muted);
    padding-bottom: 14px;
}

.gfi-js-step-stack {
    display: grid;
    gap: 18px;
}

.gfi-js-portal .gfi-form-field {
    display: grid;
    gap: 7px;
}

.gfi-js-portal .gfi-form-field.is-full {
    grid-column: 1 / -1;
}

.gfi-js-portal .gfi-form-label {
    font-size: 16px;
    font-weight: 800;
    color: #111827;
    letter-spacing: 0.01em;
    line-height: 1.45;
}

.gfi-js-portal .gfi-form-hint {
    margin: 0;
    font-size: 12px;
    color: var(--js-muted);
    line-height: 1.5;
}

.gfi-js-portal .gfi-input,
.gfi-js-portal .gfi-select,
.gfi-js-portal .gfi-textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid var(--js-line);
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    font-family: inherit;
    color: #374151;
    line-height: 1.4;
    transition: border-color .18s ease, box-shadow .18s ease;
    appearance: none;
}

.gfi-js-portal .gfi-input:focus,
.gfi-js-portal .gfi-select:focus,
.gfi-js-portal .gfi-textarea:focus {
    outline: none;
    border-color: var(--js-accent);
    box-shadow: 0 0 0 3px rgba(78,204,163,.18);
}

.gfi-js-portal .gfi-input.gfi-is-invalid,
.gfi-js-portal .gfi-select.gfi-is-invalid,
.gfi-js-portal .gfi-textarea.gfi-is-invalid,
.gfi-js-tag-wrap.gfi-has-error,
.gfi-js-radio-group.gfi-has-error,
.gfi-js-step-panel.gfi-has-error {
    border-color: #e11d48 !important;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, .12);
}

.gfi-js-portal .gfi-form-field[hidden],
.gfi-js-portal .gfi-js-step-panel[hidden] {
    display: none !important;
}

.gfi-js-portal .gfi-textarea {
    min-height: 110px;
    resize: vertical;
}

.gfi-js-step-panel {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--js-line);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
}

.gfi-js-step-panel-accent {
    border-color: rgba(78,204,163,.42);
    background:
        linear-gradient(135deg, rgba(78,204,163,.12) 0%, rgba(240,253,249,.95) 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}

.gfi-js-step-panel-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.gfi-js-step-eyebrow {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--js-accent-dark);
}

.gfi-js-step-panel-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
    color: var(--js-ink);
}

.gfi-js-step-panel-sub {
    margin: 0;
    max-width: none;
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
}

.gfi-js-step-alert {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #f0d79a;
    background: #fff7e3;
    color: #7d5a0d;
    font-size: 14px;
    line-height: 1.6;
}

/* Optional / required labels */
.gfi-js-req      { color: var(--js-accent-dark); }
.gfi-js-optional { color: var(--js-muted); font-weight: 400; }

/* Fields wrapper spacing */
.gfi-js-fields {
    display: grid;
    gap: 20px;
}

/* ============================================================
   PASSWORD TOGGLE
   ============================================================ */
.gfi-password-wrap {
    position: relative;
}

.gfi-password-wrap .gfi-input {
    padding-right: 70px;
}

.gfi-password-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 700;
    color: var(--js-muted);
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

/* ============================================================
   OTP INPUT
   ============================================================ */
.gfi-js-otp-input {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.35em;
}

/* ============================================================
   AVATAR UPLOAD
   ============================================================ */
.gfi-js-avatar-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gfi-js-avatar-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--js-surface-alt);
    border: 2px dashed var(--js-line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--js-muted);
    overflow: hidden;
    flex-shrink: 0;
    transition: border-color .2s;
}

.gfi-js-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gfi-js-avatar-preview.has-image {
    border-style: solid;
    border-color: var(--js-accent);
}

.gfi-js-avatar-upload {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Hide real file input */
.gfi-js-file-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

/* ============================================================
   SECTOR CHECKBOXES
   ============================================================ */
.gfi-js-sector-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.gfi-js-sector-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1.5px solid var(--js-line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--js-text);
    cursor: pointer;
    user-select: none;
    transition: border-color .18s, background .18s, color .18s;
}

.gfi-js-sector-chip input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.gfi-js-sector-chip:has(input:checked),
.gfi-js-sector-chip.is-checked {
    background: var(--js-accent-soft);
    border-color: var(--js-accent);
    color: var(--js-accent-dark);
    font-weight: 700;
}

.gfi-js-sector-chip.is-suggested {
    border-color: rgba(78,204,163,.32);
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(78,204,163,.08);
    color: var(--js-text);
    font-weight: 500;
}

.gfi-js-sector-chip.is-dimmed {
    opacity: .68;
}

.gfi-js-sector-chip.is-suggested:has(input:checked),
.gfi-js-sector-chip.is-suggested.is-checked {
    background: var(--js-accent-soft);
    border-color: var(--js-accent);
    box-shadow: none;
    color: var(--js-accent-dark);
    font-weight: 700;
}

/* ============================================================
   TAG INPUT (core_skills, ideal_job_titles, etc.)
   ============================================================ */
.gfi-js-tag-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border: 1.5px solid var(--js-line);
    border-radius: 10px;
    background: #fff;
    min-height: 52px;
    cursor: text;
    transition: border-color .18s, box-shadow .18s;
}

.gfi-js-autocomplete-field {
    position: relative;
}

.gfi-js-tag-wrap:focus-within {
    border-color: var(--js-accent);
    box-shadow: 0 0 0 3px rgba(78,204,163,.18);
}

.gfi-js-tag-pills {
    display: contents;
}

.gfi-js-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px 4px 12px;
    background: var(--js-accent-soft);
    border: 1px solid rgba(78,204,163,.45);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--js-accent-dark);
    white-space: nowrap;
}

.gfi-js-pill-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    color: var(--js-accent-dark);
    padding: 0;
    font-family: inherit;
    transition: background .15s;
}

.gfi-js-pill-remove:hover {
    background: rgba(78,204,163,.35);
}

.gfi-js-tag-input {
    flex: 1;
    min-width: 120px;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    color: #374151;
    background: transparent;
    padding: 2px 4px;
}

.gfi-js-autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 20;
    display: grid;
    gap: 2px;
    max-height: 240px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--js-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, .12);
}

.gfi-js-autocomplete-dropdown[hidden] {
    display: none !important;
}

.gfi-js-autocomplete-option {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #374151;
    font-size: 13px;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background .16s ease, color .16s ease;
}

.gfi-js-autocomplete-option:hover,
.gfi-js-autocomplete-option:focus-visible {
    outline: none;
    background: var(--js-accent-soft);
    color: var(--js-accent-dark);
}

.gfi-js-suggestion-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gfi-js-suggestion-chip {
    border: 1px solid rgba(78,204,163,.35);
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    color: #17604a;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    font-family: inherit;
    cursor: pointer;
    transition: transform .12s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.gfi-js-suggestion-chip:hover,
.gfi-js-suggestion-chip:focus-visible {
    outline: none;
    transform: translateY(-1px);
    border-color: var(--js-accent);
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(78,204,163,.16);
}

/* ============================================================
   YES / NO RADIO
   ============================================================ */
.gfi-js-radio-group {
    display: flex;
    gap: 12px;
}

.gfi-js-radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1.5px solid var(--js-line);
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    transition: border-color .18s, background .18s;
}

.gfi-js-radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.gfi-js-radio-option:has(input:checked) {
    border-color: var(--js-accent);
    background: var(--js-accent-soft);
    color: var(--js-accent-dark);
}

/* ============================================================
   FILE DROP ZONE (Resume)
   ============================================================ */
.gfi-js-dropzone {
    border: 2px dashed var(--js-line);
    border-radius: 12px;
    padding: 40px 24px;
    text-align: center;
    transition: border-color .2s, background .2s;
    background: var(--js-surface-alt);
}

.gfi-js-dropzone.is-over {
    border-color: var(--js-accent);
    background: var(--js-accent-soft);
}

.gfi-js-dropzone-icon {
    color: var(--js-muted);
    margin-bottom: 14px;
}

.gfi-js-dropzone-text {
    margin: 0 0 16px;
    color: var(--js-muted);
    font-size: 15px;
    line-height: 1.7;
}

.gfi-js-dropzone-text span {
    display: block;
    color: var(--js-muted);
    font-size: 13px;
}

/* File info row after selection */
.gfi-js-file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 12px 16px;
    background: var(--js-accent-soft);
    border: 1px solid rgba(78,204,163,.4);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--js-accent-dark);
}

.gfi-js-file-info[hidden] {
    display: none !important;
}

.gfi-js-remove-file {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--js-muted);
    line-height: 1;
    padding: 0 4px;
    font-family: inherit;
}

/* ============================================================
   ACTIONS ROW
   ============================================================ */
.gfi-js-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

/* Buttons — re-use portal classes, define defaults here */
.gfi-portal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 10px;
    border: 1.5px solid transparent;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, color .18s ease,
                transform .12s ease, box-shadow .18s ease;
}

.gfi-portal-btn:active {
    transform: scale(.98);
}

.gfi-portal-btn.is-primary {
    background: var(--js-accent);
    border-color: var(--js-accent);
    color: #000;
    flex: 1;
}

.gfi-portal-btn.is-primary:hover {
    background: var(--js-accent-dark);
    border-color: var(--js-accent-dark);
    box-shadow: 0 4px 14px rgba(78,204,163,.35);
}

.gfi-portal-btn.is-secondary {
    background: #fff;
    border-color: var(--js-line);
    color: var(--js-text);
}

.gfi-portal-btn.is-secondary:hover {
    border-color: var(--js-accent);
    background: var(--js-accent-soft);
    color: var(--js-accent-dark);
}

.gfi-portal-btn:disabled,
.gfi-portal-btn.is-loading {
    opacity: .6;
    cursor: not-allowed;
    pointer-events: none;
}

.gfi-js-btn-icon {
    flex-shrink: 0;
}

/* ============================================================
   NOTICE
   ============================================================ */
.gfi-js-notice {
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.gfi-js-notice[hidden] { display: none !important; }

.gfi-js-notice.is-error {
    background: #fff6f6;
    border: 1px solid #efc3c3;
    color: #a33a3a;
}

.gfi-js-notice.is-success {
    background: var(--js-accent-soft);
    border: 1px solid rgba(78,204,163,.45);
    color: var(--js-accent-dark);
}

/* ============================================================
   LINK ROW / TEXT BUTTONS
   ============================================================ */
.gfi-js-link-row {
    margin: 18px 0 0;
    text-align: center;
    font-size: 13px;
    color: var(--js-muted);
}

.gfi-js-link-row a,
.gfi-js-text-btn {
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    color: var(--js-accent-dark);
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.gfi-js-link-row a:hover,
.gfi-js-text-btn:hover {
    text-decoration: underline;
}

/* ============================================================
   DONE SCREEN
   ============================================================ */
.gfi-js-done-card {
    text-align: center;
    padding: 56px 36px;
}

.gfi-js-done-icon {
    margin-bottom: 20px;
    animation: jsCheckPop .5s cubic-bezier(.34,1.56,.64,1) both;
}

@keyframes jsCheckPop {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
    body[class*="job-seeker-signup-php"] #main {
        padding-top: var(--gfi-js-header-offset, 96px) !important;
    }

    .gfi-js-portal {
        padding: 20px 0 48px;
    }

    .gfi-js-shell {
        width: calc(100% - 24px);
    }

    .gfi-js-card {
        padding: 24px 20px;
    }

    .gfi-js-portal .gfi-form-grid {
        grid-template-columns: 1fr;
    }

    .gfi-js-inline-grid {
        grid-template-columns: 1fr;
    }

    .gfi-js-salary-grid {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    }

    .gfi-js-steps {
        padding: 0;
    }

    .gfi-js-steps::before,
    .gfi-js-steps::after {
        top: 16px;
        left: 16px;
        right: 16px;
    }

    .gfi-js-step-label {
        display: none;
    }

    .gfi-js-step-num {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .gfi-js-card-title {
        font-size: 22px;
    }

    .gfi-js-portal .gfi-form-label {
        font-size: 15px;
    }

    .gfi-js-portal .gfi-input,
    .gfi-js-portal .gfi-select,
    .gfi-js-portal .gfi-textarea,
    .gfi-js-radio-option,
    .gfi-js-tag-input {
        font-size: 14px;
    }

    .gfi-js-autocomplete-option,
    .gfi-js-portal .gfi-form-hint {
        font-size: 13px;
    }

    .gfi-js-actions {
        flex-direction: column-reverse;
    }

    .gfi-js-actions > .gfi-portal-btn {
        width: 100%;
    }

    .gfi-portal-btn.is-primary {
        flex: unset;
        width: 100%;
    }

    .gfi-js-salary-separator {
        padding-bottom: 12px;
    }
}


/* ============================================================
   JOB BOARD — PROFILE / GUEST BANNER
   ============================================================ */

.gfi-js-board-banner {
    background: var(--gfi-js-surface);
    border-bottom: 1px solid var(--gfi-js-line);
    padding: 0;
    width: 100%;
    font-family: inherit;
}

.gfi-js-board-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Logged-in profile banner --- */
.gfi-js-banner-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gfi-js-banner-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gfi-js-accent-soft, #f0fdf9);
    border: 3px solid var(--gfi-js-accent, #4ecca3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gfi-js-accent, #4ecca3);
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(78, 204, 163, 0.16);
}

.gfi-js-banner-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.gfi-js-banner-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gfi-banner-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--gfi-js-ink);
    line-height: 1.2;
}

.gfi-banner-title {
    font-size: 12px;
    color: var(--gfi-js-muted);
    line-height: 1.2;
}

.gfi-js-banner-right {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: flex-end;
}

.gfi-banner-logout {
    font-size: 13px;
    color: var(--gfi-js-muted);
    text-decoration: none;
    border: 1px solid var(--gfi-js-line);
    padding: 5px 12px;
    border-radius: 6px;
    transition: all .2s;
}

.gfi-banner-logout:hover {
    color: #e74c3c;
    border-color: #e74c3c;
    background: #fff5f5;
}

/* --- Guest CTA banner --- */
.gfi-js-board-banner--guest {
    background: linear-gradient(90deg, var(--gfi-js-accent-soft) 0%, #e8fdf5 100%);
    border-bottom: 1px solid rgba(78,204,163,.32);
}

.gfi-banner-guest-text {
    font-size: 14px;
    font-weight: 500;
    color: #1a6b50;
}

.gfi-js-banner-ctas {
    display: flex;
    gap: 10px;
    align-items: center;
}

.gfi-banner-cta-primary {
    background: var(--gfi-js-accent);
    color: #0d2d22;
    font-weight: 600;
    font-size: 13px;
    padding: 7px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s;
}

.gfi-banner-cta-primary:hover {
    background: var(--gfi-js-accent-dark);
    color: #0d2d22;
}

.gfi-banner-cta-secondary {
    font-size: 13px;
    font-weight: 500;
    color: #1a6b50;
    text-decoration: none;
    padding: 7px 14px;
    border: 1px solid var(--gfi-js-accent);
    border-radius: 8px;
    transition: all .2s;
}

.gfi-banner-cta-secondary:hover {
    background: rgba(78,204,163,.1);
}


/* ============================================================
   LOGIN PAGE SPECIFIC
   ============================================================ */

/* Hide title on login page */
.page-template-job-seeker-portal-template-job-seeker-login-php .entry-title {
    display: none !important;
}

body[class*="job-seeker-login-php"] #main {
    padding-top: var(--gfi-js-header-offset, 96px) !important;
}

/* Notice / alert strip */
.gfi-js-notice {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    border: 1px solid transparent;
}

.gfi-js-notice.is-error {
    background: #fff5f5;
    color: #c0392b;
    border-color: #fca5a5;
}

.gfi-js-notice.is-success {
    background: #f0fdf9;
    color: #1a6b50;
    border-color: #4ecca3;
}

/* Link row (e.g. "Don't have an account?") */
.gfi-js-link-row {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-top: 20px;
}

.gfi-js-link-row a {
    color: #4ecca3;
    text-decoration: none;
    font-weight: 600;
}

.gfi-js-link-row a:hover {
    color: #3db892;
}

/* Password show/hide toggle */
.gfi-password-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.gfi-password-wrap .gfi-input {
    flex: 1;
    padding-right: 64px !important;
}

.gfi-password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: #4ecca3;
    padding: 4px;
    letter-spacing: .05em;
}

/* Loading spinner dots */
.gfi-js-spinner {
    display: inline-flex;
    gap: 3px;
    animation: gfi-dots 1s steps(3, end) infinite;
}

@keyframes gfi-dots {
    0%   { opacity: 0; }
    33%  { opacity: .4; }
    66%  { opacity: .7; }
    100% { opacity: 1; }
}

@media (max-width: 480px) {
    .gfi-js-board-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .gfi-js-banner-ctas {
        width: 100%;
    }

    .gfi-banner-cta-primary,
    .gfi-banner-cta-secondary {
        flex: 1;
        text-align: center;
    }
}

body.gfi-js-portal-context .gfi-portal-nav-current {
    color: var(--theme-palette-color-1, #2f7a7e) !important;
    box-shadow: inset 0 -2px 0 currentColor;
}
