:root{
  --bg:#f3f7fc;
  --card:#fff;
  --ink:#17263d;
  --muted:#64748b;
  --accent:#1867d2;
  --border:#dce5f0;
  --shadow:0 20px 65px rgba(25,49,91,.12)
}

.layout {
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:50px;align-items:start
}

.intro{
  padding-top:35px
}

.eyebrow {
  color:var(--accent);
  font-size:.8rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight:800
}

.intro h1{
  font-size:clamp(2rem,4vw,3.5rem);
  line-height:1.13;
  margin:18px 0
}

.intro p {
  color:var(--muted);
  max-width:390px
}

.benefits {
  padding-left:20px;
  color:#d0e0f1
}

.benefits li {
  margin:12px 0;
}

.card {
  background:rgba(16,30,51,.96);
  border:1px solid var(--line);
  border-radius:20px;
  padding:30px;
  box-shadow:0 20px 70px #0004
}
.card h2 {
  margin:0 0 6px;
  font-size:1.6rem
}
.sub {
  margin:0 0 25px;
  color:var(--muted);
  font-size:.92rem
}
.fields {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px
}
.field {
  display:flex;
  flex-direction:column;
  gap:7px
}
.full {
  grid-column:1/-1
}
label {
  font-size:.88rem;
  font-weight:650
}
input:not([type=checkbox]) {
  width:100%;
  padding:12px 13px;
  background:#081528;
  color:#fff;
  border:1px solid #3a4d67;
  border-radius:9px;
  font:inherit;
  outline:none
}
input:focus-visible {
  border-color:var(--focus);
  box-shadow:0 0 0 3px #56d6e92b
}
input::placeholder {
  color:#7f91a8
}
.hint {
  color:var(--muted);
  font-size:.78rem
}
.checks {
  margin:24px 0;
  display:grid;
  gap:15px
}
.check {
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:.87rem;
  color:#c7d7e8;
  font-weight:400
}
.check input {
  accent-color:#37c9df;
  margin-top:5px;
  flex:none
}
.submit {
  border:0;
  border-radius:10px;
  background:linear-gradient(120deg,#53d6e7,#7ae8c5);
  color:#062034;
  padding:14px 20px;
  width:100%;
  font:inherit;
  font-weight:800;
  cursor:pointer
}
.submit:hover {
  filter:brightness(1.08)
}
.footer {
  text-align:center;
  color:var(--muted);
  font-size:.82rem;
  margin-top:26px
}
.alert {
  background:#4a1e2c;
  border:1px solid #b6546d;
  border-radius:10px;
  padding:12px 15px;
  margin-bottom:18px;
  color:#ffe1e8
}
.alert ul {
  margin:6px 0;
  padding-left:20px
}
.success {
  background:#123b33;
  border-color:#348b70;
  color:#d6fff1
}

@media(max-width:800px) {
  .layout {
    grid-template-columns:1fr;
    gap:22px
  }
  .intro {
    padding-top:0
  }
  .header {
    margin-bottom:25px
  }
  .card {
    padding:22px
  }
}
@media(max-width:480px) {
  .fields {
    grid-template-columns:1fr
  }
  .full {
    grid-column:auto
  }
}



/************/
/* LOGIN    */
/************/
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f7fb;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-container {
    width: 100%;
    max-width: 440px;
}

.brand {
    text-align: center;
    margin-bottom: 25px;
}

.brand h1 {
    margin: 0;
    font-size: 30px;
    color: #155eef;
}

.brand p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 14px;
}

.login-card {
    background: #fff;
    padding: 32px;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,.07);
}

.login-card h2 {
    font-size: 23px;
    margin: 0 0 8px;
}

.subtitle {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 19px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 7px;
}

input, select {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

input:focus, select:focus {
    border-color: #155eef;
    box-shadow: 0 0 0 3px rgba(21,94,239,.09);
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 65px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #155eef;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    padding: 6px;
}

.login-btn {
    width: 100%;
    background: #155eef;
    border: none;
    color: white;
    padding: 13px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.login-btn:hover {
    background: #0048d8;
}

.alert {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.6;
}

.alert-info {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.register-section {
    text-align: center;
    margin-top: 23px;
    font-size: 13px;
    color: #64748b;
}

.register-section a,
.back-link {
    color: #155eef;
    text-decoration: none;
    font-weight: 600;
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 22px;
    font-size: 13px;
}

.job-notice {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    padding: 13px;
    border-radius: 8px;
    margin-bottom: 22px;
    font-size: 13px;
    line-height: 1.6;
}

.login-tabs {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.login-tab {
    flex: 1;
    padding: 12px;
    border: 1px solid #d7dce5;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
}

.login-tab.active {
    background: #ecf3ff;
    border-color: #7198db;
    color: #174ea6;
}

.login-panel[hidden] {
    display: none !important;
}

.otp-help {
    margin: 12px 0 18px;
    font-size: 0.9rem;
}

.otp-code {
    text-align: center;
    letter-spacing: 0.25em;
    font-size: 1.3rem;
}

.otp-resend {
    margin-top: 14px;
    text-align: center;
}

/************/
/* REGISTER */
/************/
a {
  color:var(--accent);
  text-decoration:none
}
a:hover {
  text-decoration:underline
}

.login-container {
  width:min(100% - 32px,460px);
  margin:0 auto;
  padding:52px 0 32px
}

.register-container {
  width:min(100% - 32px,650px);
  padding-top:32px
}

.brand {
  text-align:center;
  margin-bottom:25px
}
.brand h1 {
  margin:0;
  font-size:clamp(1.7rem,4vw,2.15rem);
  letter-spacing:-.035em;
  color:#174c93
}
.brand p {
  margin:6px 0 0;
  color:var(--muted)
}

.login-card {
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:34px;
  box-shadow:var(--shadow)
}

.login-card h2 {
  margin:0 0 7px;
  font-size:1.45rem;
  letter-spacing:-.02em
}
.subtitle {
  margin:0 0 26px;
  color:var(--muted)
}

.form-group {
  margin-bottom:18px;
  min-width:0
}
.form-group label {
  display:block;
  margin-bottom:7px;
  font-size:.9rem;
  font-weight:650
}

.form-group input {
  width:100%;
  min-width:0;
  border:1px solid #cbd7e5;
  border-radius:9px;
  padding:12px 13px;
  background:#fff;
  color:var(--ink);
  font:inherit;
  outline:0;
  transition:border-color .15s,box-shadow .15s
}

.form-group input:focus {
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(24,103,210,.12)
}

.form-group input::placeholder {
  color:#94a3b8
}

.password-wrapper {
  position:relative
}
.password-wrapper input {
  padding-right:66px
}
.toggle-password {
  position:absolute;
  right:8px;
  top:50%;
  transform:translateY(-50%);
  background:transparent;
  border:0;
  color:var(--accent);
  padding:8px;
  cursor:pointer;
  font-weight:650
}

.login-btn {
  display:block;
  width:100%;
  border:0;
  border-radius:10px;
  background:linear-gradient(110deg,#155ab8,#2480e2);
  color:#fff;
  padding:13px 18px;
  font:inherit;
  font-weight:700;
  cursor:pointer
}
.login-btn:hover {
  filter:brightness(1.07)
}

.register-section {
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid var(--border);
  text-align:center;
  color:var(--muted)
}
.register-section a {
  font-weight:700
}

.back-link {
  display:block;
  text-align:center;
  margin-top:22px;
  font-weight:600
}

.alert {
  border-radius:10px;
  padding:12px 14px;
  margin-bottom:17px;
  border:1px solid #c8d9f6;
  background:#eff6ff;
  color:#1d4f91
}
.alert-error {
  border-color:#fecaca;
  background:#fff1f2;
  color:#991b1b
}
.alert-success {
  border-color:#bbf7d0;
  background:#f0fdf4;
  color:#166534
}
.alert ul {
  margin:0;
  padding-left:20px
}

.job-notice {
  border:1px solid #b7d5ff;
  border-radius:10px;
  background:#eff6ff;
  padding:13px 15px;
  margin-bottom:20px;
  color:#234b83
}
.job-notice strong {
  display:block;
  margin-bottom:3px
}

.register-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:18px
}
.register-full {
  grid-column:1/-1
}

.register-consents {
  display:grid;
  gap:13px;
  margin:5px 0 24px
}
.consent-row {
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#475569;
  font-size:.9rem;
  cursor:pointer
}
.consent-row input {
  margin-top:4px;
  width:16px;
  height:16px;
  flex:none;
  accent-color:var(--accent)
}

@media(max-width:540px) {
  .login-container {
    padding-top:28px
  }
  .login-card {
    padding:23px 20px
  }
  .register-grid {
    grid-template-columns:1fr
  }
  .register-full {
    grid-column:auto
  }
}

/*************************************/
/* RESEND VERIFICATION               */
/*************************************/
body:has(.auth-header) {
  display:flex;
  flex-direction:column
}

.auth-header {
  width:100%;
  background:rgba(255,255,255,.88);
  border-bottom:1px solid var(--border)
}

.header-inner {
  width:min(100% - 40px,1100px);
  margin:auto;
  min-height:86px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px
}

.auth-header .brand {
  display:inline-flex;
  align-items:center;
  margin:0;
  text-align:left;
  color:inherit
}

.auth-header .brand:hover {
  text-decoration:none
}

.auth-header .brand h1 {
  font-size:1.5rem;
  line-height:1.2;
  margin:0;
  color:#174c93
}

.auth-header .brand p {
  font-size:.86rem;
  margin:4px 0 0;
  color:var(--muted)
}

.login-link {
  font-weight:650;
  white-space:nowrap
}

.auth-main {
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  padding:46px 16px
}

.verification-container {
  width:min(100%,480px)
}

.verification-card {
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:36px;
  box-shadow:var(--shadow)
}

.email-icon-wrapper {
  display:flex;
  justify-content:center;
  margin-bottom:18px
}

.email-icon {
  display:grid;
  place-items:center;
  width:66px;
  height:66px;
  border-radius:20px;
  background:linear-gradient(145deg,#e5f1ff,#d9eaff);
  color:var(--accent)
}

.email-icon svg {
  width:33px;
  height:33px;
  stroke:currentColor
}


.verification-header {
  text-align:center;
  margin-bottom:25px
}

.verification-header h1 {
  font-size:1.55rem;
  letter-spacing:-.025em;
  line-height:1.3;
  margin:0 0 9px
}

.verification-header p {
  color:var(--muted);
  margin:0;
  line-height:1.65
}

.verification-card .form-label {
  display:block;
  margin-bottom:7px;
  font-size:.9rem;
  font-weight:650
}

.verification-card .form-control {
  display:block;
  width:100%;
  min-width:0;
  border:1px solid #cbd7e5;
  border-radius:9px;
  padding:12px 13px;
  background:#fff;
  color:var(--ink);
  font:inherit;
  outline:none;
  transition:border-color .15s,box-shadow .15s
}

.verification-card .form-control:focus {
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(24,103,210,.12)
}

.verification-card .form-control::placeholder {
  color:#94a3b8
}

.verification-card .btn-primary {
  display:block;
  width:100%;
  border:0;
  border-radius:10px;
  background:linear-gradient(110deg,#155ab8,#2480e2);
  color:white;
  padding:13px 18px;
  font:inherit;
  font-weight:700;
  cursor:pointer;
  transition:filter .15s
}

.verification-card .btn-primary:hover:not(:disabled) {
  filter:brightness(1.07)
}

.verification-card .btn-primary:disabled {
  opacity:.65;
  cursor:wait
}

.help-text {
  margin-top:23px;
  padding:15px 16px;
  border:1px solid #d7e6fb;
  border-radius:10px;
  background:#f4f8ff;
  color:#52637c;
  font-size:.88rem;
  line-height:1.7
}

.help-text strong {
  color:#234b83
}

.back-login {
  text-align:center;
  margin-top:23px;
  font-weight:650
}

.auth-footer {
  text-align:center;
  color:var(--muted);
  font-size:.8rem;
  padding:20px 16px 28px
}

@media(max-width:540px) {
  .header-inner {
    width:min(100% - 28px,1100px);
    min-height:76px
  }
  .auth-header .brand h1 {
    font-size:1.15rem
  }
  .auth-header .brand p {
    font-size:.72rem
  }
  .login-link {
    font-size:.85rem
  }
  .auth-main {
    padding:25px 14px
  }
  .verification-card {
    padding:25px 20px
  }
  .verification-header h1 {
    font-size:1.35rem
  }
}


/*************************************/
/* CANDIDATE TERMS AND PRIVACY PAGES */
/*************************************/
.legal-container {
  width:min(100% - 32px,850px);
  margin:0 auto;
  padding:30px 0 48px
}
.legal-header {
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  margin-bottom:18px;
  font-weight:700;
  color:#174c93
}
.legal-card {
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:clamp(22px,5vw,44px);
  box-shadow:var(--shadow)
}
.legal-card h1 {
  margin:0 0 10px;
  font-size:clamp(1.65rem,4vw,2.2rem);
  line-height:1.2
}
.legal-card h2 {
  margin:27px 0 9px;
  font-size:1.08rem;
  color:#174c93
}
.legal-card p,.legal-card li {
  line-height:1.75;
  color:#415169
}
.legal-card ul {
  padding-left:23px
}
.legal-lead {
  font-size:1.06rem
}
.legal-note {
  background:#f0f6ff;
  border-left:3px solid #6ca3e8;
  padding:12px 15px;
  border-radius:5px
}
.legal-footer {
  text-align:center;
  color:var(--muted);
  margin-top:22px;
  font-size:.87rem
}

