*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --lilac-deep: #9b6bb5;
  --lilac-mid: #c9a0dc;
  --lilac-soft: #e8d4f0;
  --lilac-pale: #f5ebfa;
  --plum-dark: #3d2454;
  --plum-mid: #5c3d72;
  --cream: rgba(255, 252, 254, 0.92);
  --rose-accent: #c76b98;
  --shadow: 0 24px 60px rgba(61, 36, 84, 0.22);
}

body.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  color: var(--plum-dark);
  background-color: var(--lilac-mid);
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(255, 255, 255, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 85% 90%, rgba(155, 107, 181, 0.45) 0%, transparent 55%),
    linear-gradient(160deg, var(--lilac-soft) 0%, var(--lilac-mid) 45%, var(--lilac-deep) 100%);
}

.login-scene {
  width: 100%;
  max-width: 440px;
  position: relative;
}

.login-scene::before,
.login-scene::after {
  content: "♡";
  position: absolute;
  font-size: 1.1rem;
  color: rgba(199, 107, 152, 0.45);
  pointer-events: none;
}

.login-scene::before {
  top: -1.8rem;
  left: 1.2rem;
  transform: rotate(-12deg);
}

.login-scene::after {
  bottom: -1.4rem;
  right: 1.5rem;
  transform: rotate(8deg);
}

.login-card {
  background: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1.25rem;
  padding: 2.75rem 2.5rem 2.25rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  text-align: center;
}

.login-eyebrow {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose-accent);
  margin-bottom: 0.75rem;
}

.login-card h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.85rem, 5vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--plum-dark);
  margin-bottom: 0.65rem;
}

.login-tagline {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--plum-mid);
  line-height: 1.45;
  margin-bottom: 2rem;
  padding: 0 0.25rem;
}

.login-error {
  background: rgba(199, 107, 152, 0.12);
  border: 1px solid rgba(199, 107, 152, 0.35);
  border-radius: 0.6rem;
  color: #8b3a5c;
  font-size: 1.05rem;
  font-style: italic;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}

.login-form {
  text-align: left;
}

.field {
  margin-bottom: 1.35rem;
}

.field label {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--plum-mid);
  margin-bottom: 0.45rem;
}

.field label span {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(92, 61, 114, 0.75);
  margin-top: 0.15rem;
}

.field input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  color: var(--plum-dark);
  background: var(--lilac-pale);
  border: 1.5px solid rgba(155, 107, 181, 0.35);
  border-radius: 0.65rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder {
  color: rgba(92, 61, 114, 0.45);
  font-style: italic;
}

.field input:focus {
  border-color: var(--lilac-deep);
  box-shadow: 0 0 0 3px rgba(155, 107, 181, 0.2);
}

.login-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.95rem 1.25rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, var(--lilac-deep) 0%, var(--rose-accent) 100%);
  border: none;
  border-radius: 0.65rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(123, 79, 158, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.login-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(123, 79, 158, 0.42);
}

.login-submit:active {
  transform: translateY(0);
}

.login-footer {
  margin-top: 1.75rem;
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(92, 61, 114, 0.6);
  line-height: 1.4;
}
