:root {
  --teal-900: #202030;
  --teal-800: #2c2c40;
  --coral-500: #691D30;
  --coral-600: #51162a;
  --cream: #f8f5f1;
  --cream-deep: #efe8de;
  --ink-900: #14141c;
  --ink-700: #2e2e3a;
  --ink-500: #5e5e6a;
  --ink-200: #d6d6dc;
  --white: #fff;
  --shadow-lg: 0 30px 60px -20px rgba(20, 20, 28, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink-900);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(105, 29, 48, 0.12), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(32, 32, 48, 0.10), transparent 55%),
    var(--cream);
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: 18px;
  padding: 40px 36px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(20, 20, 28, 0.06);
}

.brand-mark {
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ink-200);
}
.brand-name {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 32px;
  letter-spacing: 0.02em;
  color: var(--coral-500);
  font-weight: 400;
  line-height: 1;
}
.brand-tag {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-top: 6px;
  font-weight: 500;
}

h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: 28px;
  color: var(--teal-900);
  margin: 0 0 6px;
}
.muted {
  color: var(--ink-500);
  font-size: 14px;
  margin: 0 0 24px;
}

label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-700);
  margin-bottom: 8px;
}

input[type="password"],
select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--ink-200);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: var(--cream);
  transition: border-color 0.15s ease, background 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
}
select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%235e5e6a' d='M0 0l5 6 5-6z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
input[type="password"]:focus,
select:focus {
  outline: none;
  border-color: var(--coral-500);
  background: var(--white);
}

.btn-primary {
  width: 100%;
  margin-top: 18px;
  padding: 13px 16px;
  background: var(--coral-500);
  color: var(--white);
  border: 0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn-primary:hover { background: var(--coral-600); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.error {
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(105, 29, 48, 0.08);
  border-left: 3px solid var(--coral-500);
  color: var(--coral-600);
  font-size: 14px;
  border-radius: 6px;
}

.footer-note {
  margin-top: 32px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-500);
  letter-spacing: 0.05em;
}
