.pdf {
  padding: 10px;
  background: #dce4eb;
  text-align: center;
}

.pdf-pages {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 12px;
}

.pdf-page {
  display: block;
  max-width: 100%;
  height: auto;
  background: #fff;
  box-shadow: 0 3px 14px rgba(8, 44, 84, 0.16);
}

.pdf-status {
  width: 100%;
  margin: 0;
  padding: 16px;
  border-radius: 9px;
  background: #fff;
  color: #68768b;
}

.pdf-ready {
  padding: 8px;
  color: #16875b;
  background: #e7f7ef;
}

.pdf-error {
  color: #b42318;
  background: #fff0ee;
}

button,
.btn,
.copy {
  cursor: pointer;
}

.btn,
.copy,
.nav .logout-button {
  border-color: #082c54;
  background: #082c54;
  color: #fff;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.btn:hover,
.copy:hover,
.nav .logout-button:hover {
  border-color: #031d38;
  background: #031d38;
  color: #fff;
}

.btn.light {
  border-color: #fff;
  background: #fff;
  color: #082c54;
}

.btn.light:hover {
  border-color: #e7eef6;
  background: #e7eef6;
  color: #082c54;
}

.recent-students .copy {
  border-color: #dfe6ee;
  background: #fff;
  color: #0c4f88;
}

.recent-students .copy:hover {
  border-color: #cbd6e2;
  background: #edf3f8;
  color: #082c54;
}

.nav .logout-button {
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid #082c54;
  border-radius: 8px;
  font-weight: 700;
}

.nav nav > a {
  padding: 8px 11px;
  border-radius: 8px;
  transition: background-color 160ms ease;
}

.nav nav > a:hover,
.nav nav > a.active {
  background: #edf3f8;
  color: #082c54;
}

.bot-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.captcha-label {
  padding: 12px;
  border: 1px solid #cbd6e2;
  border-radius: 9px;
  background: #f7f9fc;
}

.captcha-question {
  display: block;
  margin: 5px 0 8px;
  color: #082c54;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.field-error {
  display: block;
  margin-top: 2px;
  color: #b42318;
  font-size: 13px;
  font-weight: 650;
}

input.input-error {
  border-color: #d92d20;
  background: #fff8f7;
}

.delete-button {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #b42318;
  border-radius: 7px;
  background: #fff;
  color: #b42318;
  font: inherit;
  font-weight: 700;
}

.delete-button:hover {
  background: #b42318;
  color: #fff;
}

.inline-form {
  display: inline;
}

@media (max-width: 800px) {
  main {
    padding-bottom: 180px;
  }

  .student-head {
    padding: 16px;
  }

  .student-head h1 {
    margin: 3px 0 10px;
    font-size: 24px;
    line-height: 1.14;
  }

  .student-head .eyebrow {
    margin-bottom: 2px;
  }

  .student-head .meta {
    display: grid;
    gap: 3px;
    line-height: 1.35;
  }

  .pdf {
    margin-inline: -16px;
    padding: 6px;
  }

  .pdf-pages {
    gap: 8px;
  }

  .accept .btn {
    font-size: 15.5px;
    letter-spacing: 0.015em;
    min-height: 50px;
  }
}
