:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --text: #222;
  --muted: #6b6b6b;
  --border: #d9d9d9;
  --shadow: rgba(0, 0, 0, 0.06);
  --brand-red: #b21b1b; /* close to screenshot’s red button */
  --brand-red-dark: #8f1414;
  --link-red: #b21b1b;
  --focus: rgba(178, 27, 27, 0.2);
  --max-panel: 520px;
  --pad: 40px;
  --radius: 3px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans",
    sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
}

.page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr minmax(340px, var(--max-panel));
}

/* LEFT: full-bleed photo */
.hero {
  position: relative;
  background-image: url("./unilag.jpg"); /* <-- replace */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* subtle vignette like the screenshot (optional but helps match) */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 800px at 30% 20%, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.06));
}

/* RIGHT: panel */
.panel {
  background: var(--panel);
  border-left: 1px solid rgba(0, 0, 0, 0.06);
}

.panel__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: var(--pad);
  gap: 18px;
}

/* Brand header */
.brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
}

.brand__mark svg {
  display: block;
}
.brand__mark svg rect {
  fill: var(--brand-red);
}

.brand__text {
  line-height: 1.05;
}

.brand__name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #444;
}

.brand__cn {
  margin-top: 4px;
  font-size: 12px;
  color: #777;
}

/* Title */
.title {
  margin: 6px 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: #777;
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field .label {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
}

.input {
  width: 100%;
  height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  font-size: 13px;
  background: #fff;
}

.input::placeholder { color: #9a9a9a; }

.input:focus {
  border-color: rgba(178, 27, 27, 0.45);
  box-shadow: 0 0 0 3px var(--focus);
}

.hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: #b21b1b;
  min-height: 14px;
}

/* Checkboxes */
.checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}

.check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12px;
  color: #666;
  user-select: none;
}

.check input {
  margin-top: 2px;
}

/* Button */
.btn {
  width: 120px;
  height: 36px;
  border: none;
  border-radius: 2px;
  background: var(--brand-red);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 0 var(--shadow);
  margin-top: 6px;
}

.btn:hover { background: var(--brand-red-dark); }
.btn:active { transform: translateY(1px); }

/* Links list */
.links {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.linkItem {
  font-size: 12px;
  color: #777;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.linkItem .chev {
  color: var(--link-red);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

.linkItem:hover { color: #444; }

/* Footer pinned towards bottom like screenshot */
.footer {
  margin-top: auto;
  padding-top: 18px;
  font-size: 12px;
  color: #777;
}

/* RESPONSIVE: stack on small screens */
@media (max-width: 860px) {
  .page {
    grid-template-columns: 1fr;
    grid-template-rows: 38vh 1fr;
  }

  .panel {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .panel__inner {
    padding: 24px;
  }

  .btn {
    width: 100%;
    max-width: 220px;
  }
}

@media (max-width: 420px) {
  .page {
    grid-template-rows: 32vh 1fr;
  }

  .panel__inner {
    padding: 18px;
  }
}
