/*
 * STILL_ — Login Page
 * File: /app/assets/css/login.css
 * Version: 1.0
 *
 * Styles for the coach login screen.
 * Requires still.css to be loaded first for design tokens.
 *
 * Pages using this:
 *   - /app/coach/login.php
 */


/* ============================================================
   LOGIN SCREEN LAYOUT
   ============================================================ */

.login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}

.login-screen::before {
  content: '';
  position: fixed;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse 70% 50% at 80% 30%, rgba(184,148,42,0.05) 0%, transparent 70%);
  pointer-events: none;
}


/* ============================================================
   LOGIN CARD
   ============================================================ */

.login-card {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--ember-gradient);
}

.login-logo {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--white);
  text-align: center;
  margin-bottom: 8px;
}

.login-logo em {
  color: var(--gold-bright);
  font-style: normal;
}

.login-subtitle {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: center;
  margin-bottom: 36px;
}


/* ============================================================
   LOGIN FORM FIELDS
   ============================================================ */

.login-field {
  margin-bottom: 20px;
}

.login-field label {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
  display: block;
  margin-bottom: 8px;
}

.login-field input {
  width: 100%;
  background: var(--surface-3);
  border: 1px solid var(--border-focus);
  border-radius: var(--r);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.login-field input:focus {
  border-color: var(--gold-muted);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.login-field input::placeholder {
  color: var(--dim);
}


/* ============================================================
   LOGIN MESSAGES
   ============================================================ */

.login-error {
  font-size: 0.9375rem;
  color: var(--negative);
  background: var(--negative-dim);
  border: 1px solid rgba(184, 92, 74, 0.25);
  padding: 10px 14px;
  border-radius: var(--r);
  margin-bottom: 20px;
  text-align: center;
}

.login-notice {
  font-size: 13px;
  color: var(--gold-bright);
  background: rgba(184,148,42,0.08);
  border: 1px solid rgba(184,148,42,0.2);
  padding: 10px 14px;
  border-radius: var(--r);
  margin-bottom: 20px;
  text-align: center;
}


/* ============================================================
   LOGIN BUTTONS
   ============================================================ */

.login-btn {
  width: 100%;
  background: var(--gold-bright);
  color: var(--bg);
  border: none;
  border-radius: var(--r);
  padding: 13px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.login-btn:hover {
  background: var(--white);
  transform: translateY(-1px);
}

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

.login-btn--ghost {
  background: transparent;
  color: var(--gold-bright);
  border: 1px solid var(--gold-muted);
}

.login-btn--ghost:hover {
  background: var(--gold-glow);
  color: var(--gold-bright);
}


/* ============================================================
   LOGIN FOOTER
   ============================================================ */

.login-footer {
  text-align: center;
  margin-top: 28px;
  font-size: 11px;
  color: var(--dim-2);
  font-family: var(--font-head);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
