:root {
  --bg: #111827;
  --panel: #fffaf0;
  --ink: #1d140d;
  --muted: #675846;
  --line: rgba(89, 62, 32, 0.16);
  --gold: #aa7d2b;
  --red: #8d2f1f;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(rgba(17, 24, 39, 0.6), rgba(17, 24, 39, 0.78)),
    url("../images/seal.bg.webp") center / min(920px, 100%) no-repeat,
    linear-gradient(135deg, #f7f2ea, #d8c7aa);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.login-panel {
  width: min(100%, 520px);
  padding: 28px;
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.brand-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}

.brand-row img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.45rem;
}

.login-form {
  display: grid;
  gap: 10px;
}

label {
  font-weight: 700;
}

input,
button {
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
  font: inherit;
}

input {
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--ink);
  padding: 0 12px;
}

input:focus {
  outline: 3px solid rgba(170, 125, 43, 0.24);
  border-color: rgba(170, 125, 43, 0.6);
}

button {
  border: 0;
  background: var(--red);
  color: #fffaf0;
  font-weight: 800;
  cursor: pointer;
}

button:hover,
button:focus {
  background: #752619;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.destination-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.destination-row a {
  display: grid;
  min-height: 42px;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(170, 125, 43, 0.3);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  background: rgba(255, 246, 228, 0.74);
}

@media (max-width: 560px) {
  .login-shell {
    padding: 18px;
  }

  .login-panel {
    padding: 20px;
  }

  .brand-row {
    grid-template-columns: 56px 1fr;
  }

  .brand-row img {
    width: 56px;
    height: 56px;
  }
}
