/* HRM login sayfası — design-drafts/hrm-1-login.html'in CSS'i */

body { min-height: 100vh; display: flex; overflow: hidden; }

.login-root {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  position: relative;
  z-index: 1;
}
@media (max-width: 960px) {
  .login-root { grid-template-columns: 1fr; }
  .stage { display: none; }
}

/* ───── STAGE (left) ───── */
.stage {
  position: relative;
  padding: 36px 44px;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  overflow: hidden;
}
.stage::before, .stage::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px);
}
.stage::before {
  top: -100px; left: -50px; width: 400px; height: 400px;
  background: radial-gradient(circle, var(--brand-wash-2), transparent 60%);
}
.stage::after {
  bottom: -120px; right: -80px; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(91,156,255,0.12), transparent 60%);
}
.stage-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 10%, transparent 80%);
  opacity: 0.5; pointer-events: none;
}

.stage-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; margin-bottom: 56px; }
.mark-group { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.mark-box {
  width: 44px; height: 44px;
  background: var(--brand);
  color: var(--brand-ink);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 20px; letter-spacing: -0.05em;
  position: relative; overflow: hidden;
  box-shadow: 0 0 32px var(--brand-ring);
}
.mark-box::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 50%);
}
.mark-word { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.mark-word .w-name { font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: -0.022em; }
.mark-word .w-name em { font-style: normal; color: var(--brand); }
.mark-word .w-tag {
  font-family: var(--f-mono);
  font-size: 9px; color: var(--ink-4);
  text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600; margin-top: 4px;
}

.folio-right {
  font-family: var(--f-mono); font-size: 9.5px; color: var(--ink-4);
  letter-spacing: 0.18em; text-transform: uppercase;
  text-align: right; line-height: 1.6; font-weight: 600;
}
.folio-right .live { display: inline-flex; align-items: center; gap: 6px; color: var(--success); }
.folio-right .live .dot {
  width: 6px; height: 6px; background: var(--success);
  border-radius: 50%; box-shadow: 0 0 10px var(--success);
}

.stage-main { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 560px; }

.headline-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 10px;
  color: var(--brand);
  text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700;
  margin-bottom: 24px; padding: 6px 12px;
  background: var(--brand-wash); border: 1px solid var(--brand-ring);
  border-radius: var(--r-pill); align-self: flex-start;
}
.headline-eyebrow .pulse { width: 6px; height: 6px; background: var(--brand); border-radius: 50%; box-shadow: 0 0 10px var(--brand); }

.headline { font-size: clamp(38px, 4.8vw, 58px); line-height: 1.02; font-weight: 800; color: var(--ink); letter-spacing: -0.032em; margin-bottom: 18px; }
.headline .hi { color: var(--brand); }

.sub-line { font-size: 16px; color: var(--ink-3); line-height: 1.5; max-width: 500px; margin-bottom: 40px; }

.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 24px 0 0; border-top: 1px solid var(--border); max-width: 560px; }
.stat-cell { display: flex; flex-direction: column; gap: 6px; }
.stat-cell .s-label { font-family: var(--f-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-4); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.stat-cell .s-label .d { width: 5px; height: 5px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); }
.stat-cell .s-value { font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -0.024em; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 6px; }
.stat-cell .s-value .unit { font-size: 12px; font-weight: 500; color: var(--ink-4); }
.stat-cell .s-value .brand-up { font-size: 13px; color: var(--brand); font-weight: 700; }

.ecosystem { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 20px; }
.eco-label { font-family: var(--f-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-4); font-weight: 700; flex-shrink: 0; }
.eco-modules { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.eco-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--r-sm); font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid transparent; background: var(--brand-wash); color: var(--brand); border-color: var(--brand-ring); }
.eco-chip.ec  { background: var(--info-wash); color: var(--info); border-color: rgba(96,165,250,0.28); }
.eco-chip.qr  { background: rgba(192,132,252,0.10); color: #c084fc; border-color: rgba(192,132,252,0.28); }
.eco-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ───── FORM SIDE ───── */
.form-side { position: relative; display: flex; align-items: center; justify-content: center; padding: 36px; background: var(--bg); }
.form-wrap { width: 100%; max-width: 400px; }

.form-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-4); font-weight: 700; margin-bottom: 16px; }
.form-eyebrow .dot { width: 6px; height: 6px; background: var(--brand); border-radius: 50%; box-shadow: 0 0 10px var(--brand); }

.form-title { font-size: 34px; font-weight: 800; color: var(--ink); line-height: 1.05; letter-spacing: -0.028em; margin-bottom: 10px; }
.form-sub { font-size: 13.5px; color: var(--ink-3); line-height: 1.5; margin-bottom: 32px; }

.f-row { margin-bottom: 16px; }
.f-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.f-lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); }
.f-forgot { font-size: 11.5px; color: var(--brand); font-weight: 600; transition: color var(--t-fast); text-decoration: none; }
.f-forgot:hover { color: var(--brand-2); text-decoration: underline; }

.f-input-wrap { position: relative; }
.f-input {
  width: 100%; height: 46px;
  padding: 0 44px 0 14px;
  font-size: 14px; color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  transition: all var(--t-fast);
  font-weight: 400;
  font-family: inherit;
}
.f-input::placeholder { color: var(--ink-5); }
.f-input:hover { border-color: var(--border-3); }
.f-input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-ring); outline: none; }
.f-input.input-validation-error { border-color: var(--danger); }

.f-trail { position: absolute; right: 6px; top: 6px; width: 34px; height: 34px; border-radius: var(--r-sm); color: var(--ink-4); display: flex; align-items: center; justify-content: center; transition: all var(--t-fast); border: none; background: transparent; cursor: pointer; }
.f-trail:hover { background: var(--surface-2); color: var(--ink); }

.f-row-opt { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.remember { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-2); cursor: pointer; position: relative; }
.remember input { position: absolute; opacity: 0; }
.remember .r-box { width: 17px; height: 17px; border: 1.5px solid var(--border-3); border-radius: 4px; background: var(--surface); display: flex; align-items: center; justify-content: center; transition: all var(--t-fast); }
.remember .r-box svg { width: 10px; height: 10px; stroke-width: 2.8; color: var(--brand-ink); opacity: 0; transition: opacity var(--t-fast); }
.remember input:checked + .r-box { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 14px var(--brand-ring); }
.remember input:checked + .r-box svg { opacity: 1; }

.btn-submit {
  width: 100%; height: 50px;
  padding: 0 20px;
  font-size: 14px; font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--brand-ink);
  background: var(--brand);
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--t-fast);
  display: flex; align-items: center; justify-content: center;
  gap: 10px; position: relative; overflow: hidden;
  box-shadow: 0 6px 22px var(--brand-ring), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-submit:hover { background: var(--brand-2); transform: translateY(-1px); box-shadow: 0 12px 32px var(--brand-ring), inset 0 1px 0 rgba(255,255,255,0.28); }

.divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-4); font-weight: 600; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.sso-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px; }
.sso-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 14px; font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-md); cursor: pointer; transition: all var(--t-fast); }
.sso-btn:hover { border-color: var(--border-hover); background: var(--surface-2); color: var(--ink); }

.micro-foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.micro-foot .note { font-size: 12px; color: var(--ink-4); }
.micro-foot .note a { color: var(--brand); font-weight: 600; text-decoration: none; }
.micro-foot .note a:hover { text-decoration: underline; }

.theme-toggle {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--ink-3);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--t-fast);
  z-index: 10;
}
.theme-toggle:hover { background: var(--surface-3); color: var(--ink); border-color: var(--border-2); }

.login-error {
  background: var(--danger-wash);
  border: 1px solid var(--danger);
  color: var(--danger);
  font-size: 12.5px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--r-md);
  margin-bottom: 18px;
}
.login-error ul { list-style: none; padding: 0; margin: 0; }

@media (max-width: 640px) {
  .form-side { padding: 24px; }
  .form-title { font-size: 28px; }
}
