/* Courtesy page layout — scoped to this static package only */

html,
body {
  height: 100%;
}

body.courtesy-page {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  margin: 0;
  background-color: #fff;
}

body.courtesy-page > header,
body.courtesy-page > footer {
  flex-shrink: 0;
}

main.courtesy-main {
  flex: 1 0 auto;
  padding: 2.5rem 0 3rem;
}

.courtesy-panel {
  max-width: 720px;
  margin: 0 auto;
}

.courtesy-panel h1 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #17324d;
}

.courtesy-panel .courtesy-lead {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: #455b71;
}

.courtesy-requirements {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
}

.courtesy-requirements li {
  margin-bottom: 0.5rem;
}

.courtesy-confirm {
  margin: 1.5rem 0 0;
}

.courtesy-confirm .form-check-label {
  font-weight: 600;
  color: #17324d;
}

.courtesy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-top: 1.25rem;
}

.courtesy-actions .btn {
  min-width: 10rem;
}

.courtesy-note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: #5b6f82;
}

/* Brand logo sizing for static header (no JSP context) */
.it-brand-wrapper img.icon {
  max-height: 72px;
  width: auto;
  height: auto;
}

/* Match live MIT menu hover: full-height white pill on all items (not only .last) */
@media (min-width: 992px) {
  .menu-main .nav > li > a {
    display: inline-block;
    line-height: 3.2;
    vertical-align: top;
  }
}

@media (max-width: 767.98px) {
  main.courtesy-main {
    padding: 1.5rem 0 2rem;
  }

  .courtesy-panel h1 {
    font-size: 1.5rem;
  }

  .courtesy-actions .btn {
    width: 100%;
  }
}
