/* Auth-flow specific styling (login.php / verify.php) — matches the
   visual language of the ISMS project's employee authentication pages. */
:root {
  --brand-blue: #0070B2;
  --brand-blue-deep: #0059A3;
  --accent-blue: #409EE9;
  --accent-blue-tint: #EAF4FD;
  --accent-blue-tint-border: #CFE6F7;
  --button-fill: var(--brand-blue);
  --button-fill-hover: var(--brand-blue-deep);
  --border: #E1E6ED;
  --text-navy: #101B2A;
  --text-gray: #5B6472;
  --text-gray-light: #8992A1;
  --danger: #C0392B;
}

body.auth-body { background: #F4F7FB; }

.gv-auth-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 0 8px;
}
.gv-auth-brand .gv-brand-wordmark { height: 32px; width: auto; }
.gv-auth-notice {
  margin: 12px 0 0;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2px;
  color: var(--brand-blue-deep);
  background: var(--accent-blue-tint);
  border: 1px solid var(--accent-blue-tint-border);
  border-radius: 20px;
}

.wrap.narrow { max-width: 480px; margin: 0 auto; padding: 0 16px 60px; }

.auth-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(16, 27, 42, 0.10);
  border: 1px solid var(--border);
}
.auth-card-header {
  background: var(--brand-blue);
  color: #fff;
  padding: 12px 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.auth-card-body { padding: 36px 32px 32px; }
.auth-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.auth-steps .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.auth-steps .dot.active { background: var(--button-fill-hover); }
.auth-steps .line { width: 46px; height: 1px; background: var(--border); }
.auth-title {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--text-navy);
  margin: 0 0 6px;
}
.auth-subtitle {
  text-align: center;
  font-size: 14px;
  color: var(--text-gray);
  margin: 0 0 28px;
}
.auth-subtitle strong { color: var(--text-navy); }

label.field-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 8px;
}
label.field-label .req { color: var(--danger); }

.email-split {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}
.email-split input {
  flex: 1;
  border: none;
  padding: 13px 14px;
  font-size: 15px;
  min-width: 0;
}
.email-split input:focus { outline: 2px solid var(--accent-blue); outline-offset: -1px; }
.email-split .suffix {
  background: #EAF1FB;
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 14px;
  white-space: nowrap;
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
}

input[type=text].otp-input {
  width: 100%;
  letter-spacing: 10px;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.btn-primary {
  width: 100%;
  background: var(--button-fill);
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: block;
  text-align: center;
  box-sizing: border-box;
}
.btn-primary:hover { background: var(--button-fill-hover); }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; }

.btn-plain {
  width: 100%;
  background: transparent;
  color: var(--text-gray);
  border: 1px solid var(--border);
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  box-sizing: border-box;
}
.btn-plain:hover { border-color: var(--text-gray-light); color: var(--text-navy); }
.btn-plain:disabled { opacity: .55; cursor: not-allowed; }

.countdown {
  text-align: center;
  font-size: 13px;
  color: var(--text-gray);
  margin: -6px 0 20px;
}
.countdown strong { color: var(--text-navy); font-weight: 700; }
.countdown.expiring strong { color: var(--danger); }

.auth-links { text-align: center; margin-top: 16px; }
.auth-links a { color: var(--brand-blue); font-size: 13px; text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 13.5px;
}
.alert.error { background: #FDEDEC; color: var(--danger); border: 1px solid #F5C6C0; }
.alert.info { background: #EAF3FF; color: #1D4E89; border: 1px solid #C7DDFB; }

.gv-access-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-gray);
  line-height: 1.6;
  margin: 28px 0 4px;
}
.gv-copyright {
  text-align: center;
  font-size: 11.5px;
  color: var(--text-gray-light);
  margin: 0;
}
