:root {
  --ink: #18202d;
  --muted: #6d7785;
  --blue: #2478ed;
  --line: #e0e2e5;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; margin: 0; }

body {
  color: var(--ink);
  background: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.device-page {
  width: min(100%, 408px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 23px 36px;
}

.back-link {
  display: block;
  width: 25px;
  height: 27px;
  color: #20252d;
  font-family: inherit;
  font-size: 39px;
  font-weight: 300;
  line-height: 20px;
  text-decoration: none;
}

.content { padding-top: 34px; }

.eyebrow {
  margin: 0 0 7px;
  color: #9aa4b3;
  font-size: 13px;
  font-weight: 700;
}

h1 {
  max-width: 350px;
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.26;
}

.intro {
  margin: 0;
  color: #76808d;
  font-size: 14px;
  line-height: 1.62;
}

.illustration-frame {
  margin-top: 16px;
  overflow: hidden;
  border-radius: 12px;
  background: #dff6f1;
}

.device-illustration {
  display: block;
  width: 100%;
  height: auto;
}

.pending-status {
  display: flex;
  gap: 11px;
  margin-top: 22px;
  align-items: flex-start;
}

.status-dot {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  border: 2px solid #d8dde3;
  border-radius: 50%;
}

.pending-status h2 {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.pending-status p {
  margin: 0;
  color: #737d8a;
  font-size: 13px;
  line-height: 1.6;
}

.divider {
  height: 1px;
  margin: 20px 0 22px;
  background: var(--line);
}

.school-form { display: flex; flex-direction: column; }

.school-form label {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: lowercase;
}

.school-form input {
  width: 100%;
  height: 45px;
  padding: 0 14px;
  border: 1px solid #cbd0d6;
  border-radius: 10px;
  outline: none;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

.school-form input::placeholder { color: #9da7b4; }
.school-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 2px rgb(36 120 237 / 15%); }

.school-form button {
  height: 43px;
  margin-top: 12px;
  border: 0;
  border-radius: 24px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.school-form button:hover { background: #1769d6; }

.confirmation-error {
  margin: 13px 3px 0;
  font-size: 13px;
  line-height: 1.55;
}

.confirmation-error[hidden] { display: none; }

.error-text {
  display: block;
  color: #d93025;
  font-weight: 600;
}

.login-again-link {
  display: block;
  color: #1877f2;
  font-weight: 600;
  text-decoration: none;
}

.login-again-link:hover { text-decoration: underline; }

@media (min-width: 600px) {
  body { background: #f5f6f7; }
  .device-page { min-height: 748px; margin: 24px auto; background: #fff; box-shadow: 0 1px 5px rgb(0 0 0 / 10%); }
}

@media (max-width: 370px) {
  .device-page { padding-inline: 18px; }
  .intro { font-size: 13px; }
  .desktop-break { display: none; }
}
