html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.consent-body {
  margin-bottom: 0;
  background:
    radial-gradient(circle at top left, rgba(153, 24, 48, 0.15), transparent 35%),
    radial-gradient(circle at bottom right, rgba(212, 175, 55, 0.18), transparent 28%),
    linear-gradient(180deg, #f9f6ef 0%, #f4efe3 100%);
}

.consent-bg-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(153, 24, 48, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(153, 24, 48, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.35;
}

.consent-page-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
}

.consent-brand-bar {
  margin-bottom: 1rem;
}

.consent-brand-bar-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(153, 24, 48, 0.12);
  color: #991830;
  box-shadow: 0 10px 30px rgba(77, 44, 16, 0.08);
  backdrop-filter: blur(10px);
}

.consent-brand-bar-eyebrow,
.consent-brand-bar-copy {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.consent-brand-bar-divider {
  width: 1px;
  height: 1rem;
  background: rgba(153, 24, 48, 0.24);
}

.consent-content-card {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(153, 24, 48, 0.12);
  border-radius: 1.5rem;
  box-shadow: 0 24px 60px rgba(77, 44, 16, 0.14);
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.consent-content-card--elevated {
  padding: 1.5rem;
}

.consent-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.9fr);
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
}

.consent-hero-brand,
.consent-hero-aside,
.consent-terms-panel,
.consent-action-panel {
  border-radius: 1.25rem;
  border: 1px solid rgba(153, 24, 48, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 236, 0.98));
}

.consent-hero-brand {
  padding: 1.5rem;
}

.consent-hero-aside {
  padding: 1.25rem;
  display: flex;
}

.consent-aside-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #991830 0%, #6f1223 100%);
  color: #fff;
}

.consent-aside-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f6e7b4;
}

.consent-aside-value {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}

.consent-aside-note {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}

.consent-page-title-wrap {
  margin-top: 1rem;
}

.consent-brand-name {
  color: #991830;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.consent-brand-subtitle {
  color: #6f1223;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.consent-page-title {
  margin: 0;
  color: #2c1f18;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.consent-page-intro {
  margin: 0.5rem 0 0;
  max-width: 62ch;
  color: #5c4a3c;
  font-size: 1.02rem;
  line-height: 1.6;
}

.consent-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1rem;
}

.consent-terms-panel,
.consent-action-panel {
  padding: 1.25rem;
}

.consent-panel-title {
  margin-bottom: 0.9rem;
  color: #991830;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.consent-terms-list {
  margin: 0;
  padding-left: 1.15rem;
  color: #3b2e24;
}

.consent-terms-list li {
  margin-bottom: 0.9rem;
  line-height: 1.6;
}

.consent-action-copy {
  margin-bottom: 1rem;
  color: #5c4a3c;
  line-height: 1.6;
}

.consent-checkbox-row {
  display: flex;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  background: rgba(153, 24, 48, 0.04);
  border: 1px solid rgba(153, 24, 48, 0.1);
}

.consent-checkbox-row .form-check-input {
  margin-top: 0.25rem;
}

.consent-checkbox-row .form-check-label {
  color: #2c1f18;
  font-weight: 600;
}

.tuskegee-navbar {
  background: linear-gradient(90deg, #991830 0%, #6f1223 100%);
}

.tuskegee-navbar-inner {
  gap: 1rem;
}

.tuskegee-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff !important;
  text-decoration: none;
}

.tuskegee-brand:hover {
  color: #f6e7b4 !important;
}

.tuskegee-brand-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.tuskegee-admin-button {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.tuskegee-admin-button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.tuskegee-admin-chip {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #f7e6ac;
  font-size: 0.8rem;
  font-weight: 700;
}

.dashboard-login-shell,
.dashboard-page {
  padding: 1rem 0 2rem;
}

.dashboard-login-card,
.dashboard-table-card,
.dashboard-summary-card {
  border: 1px solid rgba(153, 24, 48, 0.12);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 236, 0.98));
  box-shadow: 0 20px 40px rgba(77, 44, 16, 0.08);
}

.dashboard-login-card {
  max-width: 540px;
  margin: 2rem auto;
  padding: 2rem;
}

.dashboard-kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: #991830;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dashboard-login-title,
.dashboard-title {
  color: #2c1f18;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.dashboard-copy,
.dashboard-login-copy {
  color: #5c4a3c;
  line-height: 1.6;
}

.dashboard-login-alert {
  border-radius: 1rem;
}

.dashboard-primary-button,
.dashboard-approve-button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #991830, #7d1729);
}

.dashboard-primary-button:hover,
.dashboard-approve-button:hover {
  color: #fff;
  background: linear-gradient(135deg, #7d1729, #63111f);
}

.dashboard-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1.25rem;
}

.dashboard-summary-card {
  min-width: 220px;
  padding: 1.5rem;
  background: linear-gradient(180deg, #991830 0%, #6f1223 100%);
  color: #fff;
}

.dashboard-summary-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f6e7b4;
}

.dashboard-summary-value {
  font-size: 2.5rem;
  font-weight: 800;
}

.dashboard-table-card {
  padding: 1rem;
}

.dashboard-table thead th {
  color: #6f1223;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-badge-pending {
  background: rgba(212, 175, 55, 0.2);
  color: #7a5a05;
}

.status-badge-approved {
  background: rgba(25, 135, 84, 0.14);
  color: #146c43;
}

.status-badge-denied {
  background: rgba(220, 53, 69, 0.14);
  color: #b02a37;
}

.dashboard-empty-state {
  padding: 3rem 1rem;
  text-align: center;
  color: #5c4a3c;
}

.eligible-fund-list {
  display: grid;
  gap: 0.6rem;
}

.eligible-fund-heading {
  color: #6f1223;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eligible-fund-card {
  padding: 0.65rem 0.8rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(153, 24, 48, 0.12);
  background: rgba(153, 24, 48, 0.04);
}

.eligible-fund-name {
  color: #2c1f18;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .dashboard-hero {
    flex-direction: column;
  }

  .dashboard-summary-card {
    min-width: auto;
  }

  .dashboard-login-card {
    padding: 1.5rem;
  }
}

.tuskegee-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.tuskegee-brand-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tuskegee-brand-subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f6e7b4;
}

.tuskegee-nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}

.tuskegee-nav-link:hover,
.tuskegee-nav-link:focus {
  color: #f6e7b4 !important;
}

.scholarship-brand-header {
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(153, 24, 48, 0.08), rgba(153, 24, 48, 0.02));
  border: 1px solid rgba(153, 24, 48, 0.12);
}

.scholarship-brand-logo {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
}

.scholarship-brand-name {
  color: #991830;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.scholarship-brand-subtitle {
  color: #6f1223;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

@media (max-width: 992px) {
  .consent-hero,
  .consent-body-grid {
    grid-template-columns: 1fr;
  }

  .consent-content-card--elevated {
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .consent-page-wrapper {
    padding: 0.75rem;
  }

  .consent-brand-bar-inner {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }

  .consent-hero-brand,
  .consent-hero-aside,
  .consent-terms-panel,
  .consent-action-panel {
    padding: 1rem;
  }

  .consent-brand-name {
    font-size: 1.1rem;
  }

  .consent-page-title {
    font-size: 1.8rem;
  }
}