/* The look of AP2's sign-in page (rp-forms AdmissionsLogin: .public-form-page + .verification-card), so the address's sign-in
   and its products' screens read as one product. AP2's page is light only, so this is too. */

@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --text: #1e293b;
  --muted: #64748b;
  --line: #d1d5db;
  --line-soft: #e2e8f0;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --on-primary: #f8fafc;
  --sunken: #f1f5f9;
  --error: #dc2626;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 24px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0fdf4 100%);
  color: var(--text);
  font: 14px/1.5 "IBM Plex Sans", system-ui, sans-serif;
}

.card {
  width: 100%;
  max-width: 380px;
  padding: 40px 48px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
}

h1 { margin: 0 0 12px; font-size: 22px; font-weight: 700; line-height: 1.4; }
p { color: var(--muted); margin: 0 0 24px; }

.logo { display: block; max-width: 180px; max-height: 48px; margin: 0 auto 16px; object-fit: contain; }
.sign-in-icon { display: block; margin: 0 auto 16px; color: var(--primary); }

form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 500; }

input, select {
  font: inherit;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
}

input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--primary);
}

button {
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: var(--primary);
  color: var(--on-primary);
  cursor: pointer;
}
button:hover { background: var(--primary-hover); }

button.secondary { background: #fff; color: var(--text); border: 1px solid var(--line-soft); }
button.secondary:hover { background: var(--sunken); }

.error { color: var(--error); font-weight: 500; margin: 0 0 16px; }
form .error { margin: 0; }

.or { text-align: center; margin: 12px 0; font-size: 13px; }
.company { margin: 0; }
.company button { width: 100%; }

.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.check input { height: 16px; width: 16px; padding: 0; accent-color: var(--primary); }
fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
legend { font-size: 14px; font-weight: 500; margin-bottom: 10px; padding: 0; }
.saved { color: var(--primary); font-weight: 500; }
.small { font-size: 13px; margin: 16px 0 0; }
a { color: var(--primary); }
.quiet { margin-top: 16px; }
.quiet button { background: transparent; color: var(--primary); border: 1px solid var(--line-soft); }
.quiet button:hover { background: var(--sunken); }

.card.wide { max-width: 880px; text-align: left; }
h2 { margin: 28px 0 12px; font-size: 16px; font-weight: 600; }
.muted { color: var(--muted); font-size: 13px; }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line-soft); }
th { font-size: 12px; color: var(--muted); font-weight: 600; }
.card.wide form { margin-bottom: 20px; }
.locked { padding: 12px; border: 1px solid var(--line-soft); border-radius: 6px; }
.quiet button.danger { color: var(--error); border-color: var(--error); }
.history { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.history li { padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }

@media (max-width: 480px) {
  body { padding: 24px 16px; }
  .card { padding: 32px 24px; }
}
