/* Oppgrab Recruitment – portal components. Uses the Oppgrab theme variables with safe fallbacks. */
.ogr-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.ogr-notice{margin:0 0 22px;padding:15px 18px;border-radius:10px;border:1px solid var(--line,#dce5ef);border-left:3px solid var(--bright,#0a4d9d);background:var(--surface,#f5f8fc);color:var(--text,#102e53);font-size:15px}
.ogr-notice a{color:var(--bright,#0a4d9d);font-weight:600;text-decoration:underline;text-underline-offset:.2em}
.ogr-notice--ok{border-left-color:#1fa463}
.ogr-notice--error{border-left-color:#e5484d}
.ogr-notice--warn{border-left-color:var(--orange,#ff791b)}
.form-status.is-ok{border-left-color:#1fa463!important}
.form-status.is-error{border-left-color:#e5484d!important}
.ogr-form fieldset{min-width:0}
.ogr-form h3{font-size:19px;margin:26px 0 14px}
.ogr-form h3:first-of-type{margin-top:6px}
.ogr-form small{display:block;margin:-8px 0 16px}
.ogr-form .resume-consent{display:block;position:relative;padding-left:28px;font-weight:500;line-height:1.6}
.ogr-form .resume-consent input{position:absolute;left:0;top:2px;width:18px;height:18px;margin:0}
.ogr-form input[type=file]{padding:10px;cursor:pointer}
.ogr-form button[disabled]{opacity:.6;cursor:progress}
.ogr-form a:not(.button){color:var(--bright,#0a4d9d);text-decoration:underline;text-underline-offset:.2em}
.ogr-card{background:var(--surface,#f5f8fc);border:1px solid var(--line,#dce5ef);border-radius:14px;padding:clamp(22px,4vw,36px)}
.ogr-card h2{font-size:clamp(26px,3vw,36px);margin:12px 0 14px;letter-spacing:-1px}
.ogr-card>p{margin-bottom:18px}
.ogr-left{justify-content:flex-start!important}
.ogr-split{display:grid;grid-template-columns:1.3fr 1fr;gap:24px;align-items:center;margin-top:22px}
.ogr-split h3{margin-bottom:8px}

/* Auth */
.ogr-auth-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(24px,5vw,64px);align-items:start}
.ogr-auth-side{padding-top:10px}
.ogr-auth-side .check-list{margin-top:14px}
.ogr-choice{display:block;padding:20px 22px;margin-top:14px;border:1px solid var(--line,#dce5ef);border-radius:12px;background:var(--card,#fff);transition:transform .2s,border-color .2s}
.ogr-choice:hover{transform:translateY(-2px);border-color:var(--bright,#0a4d9d)}
.ogr-choice strong{display:flex;justify-content:space-between;font:700 17px Manrope,Arial,sans-serif;color:var(--text,#102e53)}
.ogr-choice strong span{color:var(--orange,#ff791b)}
.ogr-choice>span{display:block;margin-top:6px;font-size:14px;color:var(--muted,#586d87)}
.ogr-switch{display:flex;gap:4px;padding:4px;margin-bottom:26px;border-radius:999px;background:var(--soft,#e7f0ff);width:max-content;max-width:100%}
.ogr-switch a{padding:9px 18px;border-radius:999px;font-size:13px;font-weight:600;color:var(--muted,#586d87);text-decoration:none!important}
.ogr-switch a[aria-current=page]{background:var(--blue,#0a4d9d);color:#fff!important}
.ogr-apply-alt{margin-top:16px;font-size:14px}
.ogr-apply-as,.ogr-file-on-record{font-size:14px;margin-bottom:16px}

/* Filters & job board */
.ogr-filters{display:grid;grid-template-columns:1.6fr repeat(4,minmax(0,1fr)) auto;gap:14px;align-items:end;margin:0 0 30px;padding:20px;background:var(--card,#fff);border:1px solid var(--line,#dce5ef);border-radius:14px}
.ogr-filters label{margin:0;font-size:12px}
.ogr-filters input,.ogr-filters select{margin-top:6px}
.ogr-filters__actions{display:flex;gap:12px;align-items:center}
.ogr-filters .button{padding:12px 20px}
.job-card h3 a:hover{color:var(--bright,#0a4d9d)}
.job-card__cta{margin-top:auto;color:var(--bright,#0a4d9d);font-size:14px;font-weight:700;display:flex;justify-content:space-between;border-top:1px solid var(--line,#dce5ef);padding-top:16px}
.ogr-empty{padding:40px;border:1px dashed var(--line,#dce5ef);border-radius:14px;text-align:center}
.ogr-empty h3{margin-bottom:10px}
.ogr-empty p{margin:0 auto 20px;max-width:480px}
.ogr-pagination{display:flex;gap:8px;justify-content:center;margin-top:34px;flex-wrap:wrap}
.ogr-pagination .page-numbers{min-width:40px;height:40px;padding:0 12px;display:inline-grid;place-items:center;border:1px solid var(--line,#dce5ef);border-radius:999px;font-size:14px}
.ogr-pagination .current{background:var(--blue,#0a4d9d);color:#fff;border-color:var(--blue,#0a4d9d)}

/* Dashboard */
.ogr-dash__head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:22px}
.ogr-dash__head h2{font-size:clamp(30px,4vw,46px);margin-top:10px}
.ogr-tabs{display:flex;gap:4px;flex-wrap:wrap;border-bottom:1px solid var(--line,#dce5ef);margin-bottom:28px}
.ogr-tabs a{padding:12px 16px;font-size:14px;font-weight:600;color:var(--muted,#586d87);border-bottom:2px solid transparent;margin-bottom:-1px}
.ogr-tabs a:hover{color:var(--text,#102e53)}
.ogr-tabs a[aria-current=page]{color:var(--text,#102e53);border-bottom-color:var(--orange,#ff791b)}
.ogr-tabs .ogr-tabs__out{margin-left:auto}
.ogr-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;margin-bottom:22px}
.ogr-stat{display:block;padding:22px;border:1px solid var(--line,#dce5ef);border-radius:12px;background:var(--surface,#f5f8fc)}
.ogr-stat strong{display:block;font:800 36px/1.1 Manrope,Arial,sans-serif;color:var(--bright,#0a4d9d)}
.ogr-stat span{font-size:13px;color:var(--muted,#586d87)}
a.ogr-stat:hover{border-color:var(--bright,#0a4d9d)}
.ogr-list{list-style:none;padding:0;margin:10px 0 0}
.ogr-list li a{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid var(--line,#dce5ef);font-size:15px}
.ogr-list li a span{color:var(--muted,#586d87);font-size:13px}
.ogr-table-wrap{overflow-x:auto;border:1px solid var(--line,#dce5ef);border-radius:12px}
.ogr-table{width:100%;border-collapse:collapse;font-size:14px}
.ogr-table th{text-align:left;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted,#586d87);background:var(--surface,#f5f8fc);padding:12px 16px}
.ogr-table td{padding:14px 16px;border-top:1px solid var(--line,#dce5ef);vertical-align:middle}
.ogr-table td a{color:var(--bright,#0a4d9d);font-weight:600}
.ogr-actions{display:flex;gap:14px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.ogr-actions form{margin:0}
.ogr-link-btn{background:none;border:0;padding:0;color:var(--muted,#586d87);font-size:14px;text-decoration:underline;text-underline-offset:.2em}
.ogr-link-btn:hover{color:#e5484d}
.ogr-help{font-size:14px;margin:14px 0}
.ogr-badge{display:inline-block;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:600;background:var(--soft,#e7f0ff);color:var(--bright,#0a4d9d);white-space:nowrap;vertical-align:middle}
.ogr-badge--received,.ogr-badge--pending{background:#ff791b22;color:#c25400}
.ogr-badge--shortlisted,.ogr-badge--interview,.ogr-badge--offered,.ogr-badge--publish{background:#1fa46322;color:#14874f}
.ogr-badge--hired{background:#14874f;color:#fff}
.ogr-badge--rejected,.ogr-badge--withdrawn,.ogr-badge--filled,.ogr-badge--draft{background:#8892a022;color:var(--muted,#586d87)}
.ogr-checks{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:6px 18px;margin-bottom:10px}
.ogr-checks label{display:flex;gap:8px;align-items:center;font-weight:500;margin:0}
.ogr-checks input{width:auto;margin:0}
.ogr-applicants{display:grid;gap:16px}
.ogr-applicant{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:26px;padding:24px;border:1px solid var(--line,#dce5ef);border-radius:12px;background:var(--surface,#f5f8fc)}
.ogr-applicant h3{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:21px;margin:6px 0}
.ogr-applicant__job,.ogr-applicant__meta{font-size:13px}
.ogr-applicant__cover{font-size:14px;margin:12px 0;font-style:italic}
.ogr-applicant__form label{margin-bottom:12px}
.ogr-context{display:grid;gap:10px;margin:14px 0;padding:14px 16px;border-left:2px solid var(--orange,#ff791b);background:var(--card,#fff);border-radius:0 8px 8px 0}
.ogr-context dt{font-size:12px;font-weight:700;color:var(--bright,#0a4d9d)}
.ogr-context dd{margin:2px 0 0;font-size:14px;color:var(--text,#102e53)}
.ogr-post-job textarea{min-height:220px}

@media (max-width:1000px){.ogr-filters{grid-template-columns:1fr 1fr}.ogr-filters__kw{grid-column:1/-1}}
@media (max-width:800px){
  .ogr-auth-grid,.ogr-split,.ogr-applicant{grid-template-columns:1fr}
  .ogr-filters{grid-template-columns:1fr;padding:16px}
  .ogr-table thead{display:none}
  .ogr-table,.ogr-table tbody,.ogr-table tr,.ogr-table td{display:block;width:100%}
  .ogr-table tr{border-top:1px solid var(--line,#dce5ef);padding:8px 0}
  .ogr-table td{border:0;padding:6px 16px}
  .ogr-table td[data-label]::before{content:attr(data-label);display:block;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted,#586d87)}
  .ogr-actions{justify-content:flex-start}
  .ogr-tabs{flex-wrap:nowrap;overflow-x:auto}
  .ogr-tabs a{white-space:nowrap}
}

.ogr-toast{position:fixed;left:22px;bottom:22px;z-index:60;max-width:min(420px,calc(100vw - 110px));display:flex;align-items:flex-start;gap:8px;box-shadow:0 15px 40px #0003;border-radius:10px;background:var(--card,#fff)}
.ogr-toast .ogr-notice{margin:0;border:0;border-left:3px solid var(--bright,#0a4d9d);background:transparent}
.ogr-toast .ogr-notice--ok{border-left-color:#1fa463}
.ogr-toast button{background:none;border:0;color:var(--muted,#586d87);font-size:22px;padding:8px 12px 0 0;cursor:pointer}
