/* Login & registration – Friso HCP Hub visual identity (colours and fonts from hub.css). */

:root {
  --navy: #13288A;
  --deep: #0B1D5E;
  --teal: #2E5F7E;
  --ink: #1B2340;
  --body: #3A4258;
  --muted: #5A6275;
  --line: #E3E5EA;
}

.auth-body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Source Sans 3', sans-serif;
  color: var(--ink);
  background: var(--deep);
}

.auth-shade {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(11, 29, 94, .55), rgba(11, 29, 94, .75));
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.auth-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(11, 29, 94, .35);
}
.auth-card--wide { max-width: 760px; }

.auth-card-head {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--navy);
  padding: 16px 32px;
}
.auth-card-head img { height: 48px; }
.auth-hubname {
  font-family: Poppins, sans-serif;
  font-size: 15px;
  color: #C9D2F2;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.auth-card-body { padding: 32px; }

.auth-body .eyebrow {
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}
.auth-title {
  font-family: Poppins, sans-serif;
  font-weight: 500;
  font-size: 28px;
  color: var(--navy);
  margin: 6px 0 6px;
}
.auth-lead { color: var(--muted); font-size: 16px; margin-bottom: 24px; }

.auth-body .form-label { font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.auth-body .form-control,
.auth-body .form-select {
  border-color: #C4C9D4;
  border-radius: 12px;
  min-height: 48px;
  font-size: 16px;
  color: var(--ink);
}
.auth-body .form-control-lg { min-height: 52px; font-size: 17px; }
.auth-body .form-control:focus,
.auth-body .form-select:focus,
.auth-body .form-check-input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 .25rem rgba(157, 179, 232, .6);
}
.auth-body .form-check-input:checked { background-color: var(--navy); border-color: var(--navy); }
.auth-body .form-text { color: var(--muted); }

.auth-consent {
  background: #F5F3EE;
  border-radius: 12px;
  padding: 16px 16px 16px 44px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--body);
}
.auth-consent .form-check-input { margin-left: -28px; margin-top: .2em; }
.auth-consent a { color: var(--navy); font-weight: 600; }

.auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-family: Poppins, sans-serif;
  font-weight: 500;
  font-size: 16px;
  transition: background-color .15s;
}
.auth-btn:hover { background: var(--deep); }
.auth-btn:focus-visible { outline: 3px solid #9DB3E8; outline-offset: 2px; }

.auth-switch { margin: 20px 0 0; text-align: center; color: var(--muted); }
.auth-switch a { color: var(--navy); font-weight: 600; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

.auth-footnote { margin: 20px 0 0; color: #DCE2F5; font-size: 14px; text-align: center; }

@media (max-width: 575.98px) {
  .auth-wrap { padding: 16px 12px; justify-content: flex-start; }
  .auth-card-head { padding: 12px 20px; }
  .auth-card-head img { height: 40px; }
  .auth-card-body { padding: 24px 20px; }
  .auth-title { font-size: 24px; }
}
