/* City Facilities Management brand tokens, matching the IT Operations portal. */
:root {
  --city-lime: #81BB00;
  --city-blue-light: #002F87;
  --city-blue-mid: #01277A;
  --city-blue-dark: #002474;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-100: #f1f5f9;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, system-ui, -apple-system, sans-serif;
  color: var(--city-blue-dark);
  background: #ffffff;
}

.split {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* ---- Left: brand panel ---- */
.brand {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 3rem;
  background: var(--city-blue-mid);
  color: #ffffff;
  text-align: center;
}

.brand .glow-a,
.brand .glow-b {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.brand .glow-a {
  top: -20%; left: -20%;
  width: 800px; height: 800px;
  background: rgba(129, 187, 0, 0.10);
  filter: blur(120px);
}

.brand .glow-b {
  bottom: -20%; right: -20%;
  width: 600px; height: 600px;
  background: var(--city-blue-light);
  filter: blur(100px);
}

.brand-body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.brand h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}

.brand h1 .lime { color: var(--city-lime); }

.brand p {
  color: var(--slate-300);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 32rem;
  margin: 0 auto;
}

.brand footer {
  position: relative;
  z-index: 1;
  font-size: 0.875rem;
  color: var(--slate-400);
  font-weight: 500;
}

/* ---- Right: action panel ---- */
.panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #ffffff;
}

.panel-inner { width: 100%; max-width: 24rem; }

.logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.logo img { width: 12rem; height: auto; }

.heading { text-align: center; margin-bottom: 2rem; }

.heading h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--city-blue-mid);
  margin: 0 0 0.5rem;
}

.heading p { color: var(--slate-500); margin: 0; }

.actions { display: flex; flex-direction: column; gap: 1rem; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-decoration: none;
  background: var(--city-blue-light);
  border: 1px solid var(--city-blue-dark);
  border-radius: 0.75rem;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(1, 39, 122, 0.2);
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}

.btn:hover {
  background: var(--city-blue-dark);
  box-shadow: 0 20px 25px -5px rgba(1, 39, 122, 0.3);
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid var(--city-lime);
  outline-offset: 3px;
}

.btn .tile {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 0.25rem;
  border-radius: 0.125rem;
}

.btn .tile svg { width: 1rem; height: 1rem; display: block; }

.footnote {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-100);
  text-align: center;
}

.footnote p {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: rgba(0, 36, 116, 0.5);
}

.status {
  margin: 0 0 1.5rem;
  color: var(--slate-500);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}

.fallback { margin-top: 1.25rem; font-size: 0.8rem; text-align: center; }
.fallback a { color: var(--city-blue-light); }

/* ---- Small screens: brand panel is decorative, so drop it ---- */
@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; }
  .brand { display: none; }
}
