/*
 * Workrlab — Auth styles
 * Login, wachtwoord vergeten
 */

/* ── Full-page body ── */
.auth-page {
  min-height: 100vh;
  background: #020d1a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 64px;
  position: relative;
  overflow: hidden;
}

/* Grid overlay */
.auth-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.055) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 0%, transparent 78%);
  pointer-events: none;
  z-index: 0;
}

/* Top glow */
.auth-glow {
  position: fixed;
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(99,102,241,.2) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

/* Large outlined "Login" background word */
.auth-bg-word {
  position: fixed;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(120px, 18vw, 220px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(99,102,241,.07);
  paint-order: stroke fill;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
}

/* ── Floating cards ── */
@keyframes floatA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes floatB { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes floatC { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

.float-card {
  position: fixed;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,.35), 0 2px 8px rgba(0,0,0,.18);
  z-index: 2;
}

.float-card-match {
  top: 10%;
  left: 3%;
  width: 210px;
  padding: 15px 17px;
  animation: floatA 5s ease-in-out infinite;
}

.float-card-pipeline {
  top: 12%;
  right: 3%;
  width: 168px;
  padding: 14px 16px;
  animation: floatB 5s ease-in-out 1.2s infinite;
}

.float-card-placement {
  bottom: 12%;
  right: 4%;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floatC 5s ease-in-out 2.4s infinite;
}

.float-card-brand {
  bottom: 14%;
  left: 3%;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: floatB 7s ease-in-out 0.6s infinite;
  min-width: 160px;
  background: linear-gradient(135deg, #060d1f 0%, #0c1e40 100%);
  border: 1px solid rgba(99,102,241,.25);
  box-shadow: 0 16px 48px rgba(0,0,0,.5), 0 0 0 1px rgba(99,102,241,.1), 0 2px 8px rgba(0,0,0,.3);
}

.float-card-brand-logo {
  display: block;
}

.float-card-brand-divider {
  height: 1px;
  background: rgba(255,255,255,.08);
}

.float-card-brand-tagline {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.float-card-brand-stats {
  display: flex;
  gap: 14px;
}

.float-card-brand-stat-val {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1;
}

.float-card-brand-stat-lbl {
  font-size: 9px;
  color: rgba(255,255,255,.35);
  margin-top: 2px;
  font-weight: 500;
}

/* Card internals */
.fc-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 99px;
  margin-bottom: 10px;
}

.fc-badge-match { background: #eef2ff; color: #4f46e5; }
.fc-badge-pipe  { background: #f1f5f9; color: #64748b; }

.fc-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.fc-avatar {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  margin-bottom: 9px;
}

.fc-name { font-size: 12px; font-weight: 700; color: #0f172a; margin-bottom: 1px; }
.fc-sub  { font-size: 10px; color: #64748b; margin-bottom: 9px; }

.fc-score-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.fc-score-pct {
  font-size: 18px;
  font-weight: 800;
  color: #4f46e5;
  letter-spacing: -.04em;
  flex-shrink: 0;
}

.fc-score-bar {
  flex: 1;
  height: 4px;
  background: #eef2ff;
  border-radius: 99px;
  overflow: hidden;
}

.fc-score-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #6366f1, #818cf8);
}

.fc-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 9px;
}

.fc-skill {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.fc-skill-match { background: #dcfce7; color: #166534; }
.fc-skill-miss  { background: #f1f5f9; color: #94a3b8; text-decoration: line-through; text-decoration-color: #cbd5e1; }

/* Pipeline */
.pipeline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 11px;
}

.pipeline-row + .pipeline-row { border-top: 1px solid #f1f5f9; }
.pipeline-label { color: #64748b; font-weight: 500; }

.pipeline-bar-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
}

.pipeline-mini-bar {
  width: 36px;
  height: 4px;
  background: #f1f5f9;
  border-radius: 99px;
  overflow: hidden;
}

.pipeline-mini-fill { height: 100%; border-radius: 99px; }
.pipeline-val       { font-weight: 700; font-size: 11px; min-width: 14px; text-align: right; }

.c-won  { color: #16a34a; }
.c-prop { color: #4f46e5; }
.c-qual { color: #d97706; }
.c-new  { color: #64748b; }
.b-won  { background: #22c55e; }
.b-prop { background: #6366f1; }
.b-qual { background: #f59e0b; }
.b-new  { background: #94a3b8; }

/* Placement card */
.fc-pl-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4ade80, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.fc-pl-name   { font-size: 12px; font-weight: 700; color: #0f172a; }
.fc-pl-sub    { font-size: 10px; color: #64748b; margin-top: 1px; }
.fc-pl-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  padding: 2px 7px;
  border-radius: 99px;
  margin-top: 4px;
}

/* ── Center column ── */
@keyframes authFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

.auth-center {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: authFadeUp .5s cubic-bezier(.22,1,.36,1) both;
}

/* Logo on dark */
.auth-logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  margin-bottom: 28px;
}

.auth-logo-tag {
  font-size: 9px;
  color: rgba(255,255,255,.28);
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* White form card */
.auth-card {
  width: 100%;
  background: #fff;
  border-radius: 24px;
  padding: 40px 44px;
  box-shadow:
    0 32px 80px rgba(0,0,0,.55),
    0 0 0 1px rgba(99,102,241,.18),
    inset 0 1px 0 rgba(255,255,255,.9);
  margin-bottom: 20px;
}

/* ── Tenant pill ── */
.tenant-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 99px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 16px;
  width: fit-content;
}

.tenant-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(34,197,94,.25);
}

/* ── Headings ── */
.login-heading {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -.04em;
  line-height: 1.15;
  margin-bottom: 4px;
}

.login-subheading {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 28px;
  line-height: 1.55;
}

/* ── Form ── */
.login-form .form-label {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  letter-spacing: .01em;
}

.login-form .form-input {
  padding: 11px 14px;
  border-color: #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
  color: #0f172a;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}

.login-form .input-group .form-input {
  padding-left: 42px;
}

.login-form .input-group .input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
  line-height: 1;
  font-size: 16px;
}

.login-form .form-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99,102,241,.12);
  outline: none;
}

.login-form .form-group {
  margin-bottom: 16px;
}

/* Forgot */
.forgot-row {
  display: flex;
  justify-content: flex-end;
  margin-top: -8px;
  margin-bottom: 20px;
}

.forgot-link {
  font-size: 12px;
  font-weight: 600;
  color: #6366f1;
  text-decoration: none;
  transition: color .15s;
}

.forgot-link:hover { color: #4f46e5; }

/* Login button */
.btn-login {
  width: 100%;
  padding: 13px 24px;
  background: #4f46e5;
  color: white;
  border: none;
  border-radius: 99px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: -.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .18s, transform .15s, box-shadow .18s;
  position: relative;
  overflow: hidden;
}

.btn-login::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12) 0%, transparent 60%);
  pointer-events: none;
}

.btn-login:hover {
  background: #4338ca;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(99,102,241,.4);
}

.btn-login:active { transform: scale(.99); }

/* Divider */
.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
}

.form-divider-line {
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.form-divider-text {
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
  white-space: nowrap;
}

/* Microsoft SSO */
.btn-sso {
  width: 100%;
  padding: 11px;
  background: white;
  color: #334155;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all .18s;
}

.btn-sso:hover {
  background: #f8fafc;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99,102,241,.08);
}

/* Footer notes (on dark bg, below card) */
.auth-footer-note {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.28);
  margin-top: 10px;
}

.auth-footer-note a {
  color: #818cf8;
  font-weight: 600;
  text-decoration: none;
}

.auth-footer-note a:hover { color: #a5b4fc; text-decoration: underline; }

/* Platform link fixed bottom */
.platform-link {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  color: rgba(255,255,255,.18);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: color .15s;
  z-index: 10;
}

.platform-link:hover { color: rgba(255,255,255,.45); }

/* ─────────────────────────────────────────
   Wachtwoord vergeten pagina
───────────────────────────────────────── */

.reset-container {
  width: 100%;
  max-width: 420px;
  background: white;
  border: 1px solid rgba(99,102,241,.2);
  border-radius: 24px;
  padding: 44px 48px;
  box-shadow: 0 32px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(99,102,241,.08);
  position: relative;
  z-index: 1;
  animation: authFadeUp .4s cubic-bezier(.22,1,.36,1) both;
}

.reset-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 32px;
}

.reset-logo img { height: 32px; display: block; }

.reset-logo-name {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -.025em;
}

.reset-icon-wrap {
  width: 48px;
  height: 48px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #6366f1;
}

.reset-heading {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -.04em;
  margin-bottom: 8px;
}

.reset-subheading {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 28px;
}

.btn-reset {
  width: 100%;
  padding: 13px;
  background: #4f46e5;
  color: white;
  border: none;
  border-radius: 99px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s, transform .15s, box-shadow .18s;
}

.btn-reset:hover  { background: #4338ca; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(99,102,241,.35); }
.btn-reset:active { transform: scale(.99); }

.back-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: #94a3b8;
  margin-top: 20px;
  text-decoration: none;
  transition: color .15s;
}

.back-link:hover { color: #64748b; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .float-card { display: none; }
}

@media (max-width: 600px) {
  .auth-bg-word { display: none; }
  .auth-card { padding: 28px 24px; }
  .auth-page { padding: 24px 16px 56px; }
}
