/* Same look as the old Mavie back-office login page (backoffice.mavie.global/login):
   light page, white rounded card, Rubik, indigo links; logo gradient as accent. */
@font-face { font-family: "Rubik"; src: url("/assets/rubik-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("/assets/rubik-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("/assets/rubik-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --ink: #1f1f1f;
  --text: #3a3a3a;
  --muted: #6b6b6b;
  --indigo: #4830c1;     /* links on the old login page */
  --cyan: #46e1fc;       /* logo gradient start */
  --pink: #e14696;       /* logo gradient end */
  --page: #fafafa;
  --line: #eef0f4;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }

body {
  font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--page);
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.card {
  position: relative;
  width: 100%;
  max-width: 580px;
  padding: 40px 40px 36px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(20, 20, 43, 0.08);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
}

.logo { display: block; width: 200px; height: auto; margin: 0 auto 28px; }

h1 {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
  text-wrap: balance;
}

h2 {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin: 28px 0 10px;
}

p { margin: 0 0 14px; text-wrap: pretty; }
.lead { font-size: 16px; color: var(--ink); }
.centered { text-align: center; }

a { color: var(--indigo); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
a:hover, a:focus-visible { color: var(--pink); }

.actions { display: grid; gap: 12px; margin: 18px 0 24px; }

.button {
  display: block;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--indigo);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
}
.button:hover, .button:focus-visible { background: #3a26a0; color: #fff; }

.signoff { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text); }

@media (max-width: 480px) {
  .card { padding: 32px 22px 28px; }
  .logo { width: 170px; }
  h1 { font-size: 19px; }
}
