/* Login page — full-screen centered card */

.session-layout {
  min-height: 100dvh;
  background: var(--bg-screens, #0e0e14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Sans", sans-serif;
}

.session-flash {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
}

.session-flash--error {
  background: rgba(209, 75, 40, 0.25);
  border-color: rgba(209, 75, 40, 0.5);
}

.session-main {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* ── Card ───────────────────────────────────────────── */

.login-card {
  width: 100%;
  max-width: 380px;
  background: #16161f;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

@keyframes login-shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-8px); }
  40%       { transform: translateX(8px); }
  60%       { transform: translateX(-5px); }
  80%       { transform: translateX(5px); }
}

.login-card--shake {
  animation: login-shake 0.4s ease;
}

/* ── Brand ──────────────────────────────────────────── */

.login-card__brand {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.login-card__wordmark {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.login-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, #d14b28);
  flex-shrink: 0;
}

.login-card__tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 32px;
}

/* ── Form ───────────────────────────────────────────── */

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-form__error {
  background: rgba(209, 75, 40, 0.15);
  border: 1px solid rgba(209, 75, 40, 0.4);
  border-radius: 8px;
  color: #f87c5a;
  font-size: 13px;
  padding: 10px 14px;
}

.login-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.login-form__label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.login-form__input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15px;
  padding: 10px 14px;
  transition: border-color 0.15s ease, background 0.15s ease;
  width: 100%;
  box-sizing: border-box;
}

.login-form__input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.login-form__input:focus {
  outline: none;
  border-color: var(--accent, #d14b28);
  background: rgba(255, 255, 255, 0.07);
}

.login-form__submit {
  margin-top: 8px;
  background: var(--accent, #d14b28);
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 12px;
  transition: background 0.15s ease, transform 0.1s ease;
  width: 100%;
}

.login-form__submit:hover {
  background: #e05530;
}

.login-form__submit:active {
  transform: scale(0.98);
}
