/* pantalla de login (pública: no comparte styles.css, que solo se sirve con sesión) */
:root {
  --cream: #FBF3EF;
  --paper: #FFFBF8;
  --white: #fff;
  --wine: #3A1A22;
  --red: #C8203F;
  --pink: #E88AA3;
  --pink-pale: #F9DDE5;
  --pink-line: #E8A9BA;
  --muted: #8A5A66;

  --serif: 'Instrument Serif', serif;
  --sans: Manrope, sans-serif;
  --mono: 'DM Mono', monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--cream); color: var(--wine);
  font-family: var(--sans); -webkit-font-smoothing: antialiased;
  display: flex; align-items: center; justify-content: center;
  padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
}

.login { width: min(380px, 100%); display: flex; flex-direction: column; align-items: center; text-align: center; }
.login-icon { border-radius: 22px; box-shadow: 4px 4px 0 var(--pink); margin-bottom: 18px; }

.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
h1 { margin: 2px 0 22px; font-family: var(--serif); font-weight: 400; font-size: 52px; line-height: 1; }
h1 em { color: var(--red); }

.card {
  width: 100%; text-align: left;
  background: var(--white); border: 1.5px solid var(--wine); border-radius: 28px;
  box-shadow: 6px 6px 0 var(--pink); padding: 24px 22px 22px;
  display: flex; flex-direction: column; gap: 8px;
}

label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
input {
  width: 100%; height: 50px; padding: 0 16px;
  font: inherit; font-size: 17px; color: var(--wine);
  background: var(--paper); border: 1.5px dashed var(--pink-line); border-radius: 16px;
  outline: none; transition: border-color .15s;
}
input:focus { border-style: solid; border-color: var(--wine); }

.error { min-height: 20px; margin: 4px 0 0; font-size: 14px; color: var(--red); }

button {
  height: 52px; margin-top: 4px; border: none; border-radius: 999px; cursor: pointer;
  background: var(--wine); color: var(--white); font: inherit; font-weight: 700; font-size: 16px;
  transition: transform .1s, opacity .15s;
}
button:hover { opacity: .92; }
button:active { transform: scale(.98); }
button:disabled { opacity: .6; cursor: default; }

.foot { margin-top: 26px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--muted); }
