
/* =========================================================
   H-TECH INNOVATIONS HUB
   STUDENT CERTIFICATE PORTAL
   Uses the existing shared.css design system.
   ========================================================= */

html,
body {
  overflow-x: hidden;
}

.student-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 7% 76px;
  background:
    radial-gradient(ellipse 45% 75% at 85% 40%, rgba(0, 180, 166, 0.1), transparent 70%),
    var(--navy);
}

.student-hero::after {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 420px;
  height: 420px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 35px rgba(255, 255, 255, 0.025),
    0 0 0 75px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.student-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.student-hero .sec-tag {
  margin-bottom: 22px;
}

.student-hero .sec-h {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.08;
}

.student-highlight {
  color: var(--yellow);
}

.student-hero .sec-sub {
  max-width: 650px;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

.student-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.student-hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.student-approval-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.student-status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  background: var(--teal, #00b4a6);
  border-radius: 50%;
}

.student-main {
  background: var(--light);
}

.student-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 32px;
}

.student-section-heading .sec-h {
  margin: 8px 0 10px;
}

.student-section-heading .sec-sub {
  max-width: 630px;
  margin: 0;
}

.student-text-link {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.student-text-link:hover {
  color: var(--teal, #00b4a6);
}

.student-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.85fr);
  align-items: start;
  gap: 24px;
}

.student-form-panel,
.student-info-panel,
.student-notice-panel,
.student-help-panel {
  background: #fff;
  border: 1px solid var(--light2);
  border-radius: var(--radius, 12px);
}

.student-form-panel {
  padding: 32px;
  box-shadow: 0 10px 35px rgba(16, 28, 59, 0.035);
}

.student-panel-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 24px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--light2);
}

.student-step-badge {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  place-items: center;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
}

.student-panel-heading h3,
.student-info-panel h3,
.student-notice-panel h3,
.student-help-panel h3 {
  margin: 0;
  color: var(--navy);
  font-size: 19px;
  font-weight: 800;
}

.student-panel-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.student-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 21px 18px;
}

.student-field {
  min-width: 0;
}

.student-field-full {
  grid-column: 1 / -1;
}

.student-field label {
  display: block;
  margin-bottom: 9px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.student-field input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--light2);
  border-radius: 7px;
  outline: none;
  font-family: inherit;
  font-size: 13px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.student-field input::placeholder {
  color: #9aa4b4;
}

.student-field input:focus {
  border-color: var(--teal, #00b4a6);
  box-shadow: 0 0 0 3px rgba(0, 180, 166, 0.11);
}

.student-field small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.student-optional {
  color: var(--muted);
  font-weight: 400;
}

.student-confirmation {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 16px;
  margin-top: 25px;
  background: var(--light);
  border: 1px solid var(--light2);
  border-radius: 8px;
}

.student-confirmation input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 3px 0 0;
  accent-color: var(--teal, #00b4a6);
}

.student-confirmation label {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
  cursor: pointer;
}

.student-submit {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 23px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
}

.student-form-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}

.student-message {
  margin-top: 18px;
  padding: 15px;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.7;
}

.student-message-warning {
  color: #765000;
  background: #fff7df;
  border: 1px solid #efd991;
}

.student-sidebar {
  display: grid;
  gap: 18px;
}

.student-info-panel {
  padding: 25px 23px;
}

.student-info-panel > .sec-tag {
  margin-bottom: 10px;
}

.student-info-panel h3 {
  margin-bottom: 25px;
  font-size: 21px;
  line-height: 1.4;
}

.student-process-step {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding-bottom: 24px;
}

.student-process-step:last-child {
  padding-bottom: 0;
}

.student-process-number {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.student-process-step h4 {
  margin: 3px 0 6px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.student-process-step p,
.student-notice-panel p,
.student-help-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.student-notice-panel {
  padding: 22px;
  background: rgba(255, 219, 67, 0.09);
  border-color: rgba(220, 175, 30, 0.3);
}

.student-notice-panel h3 {
  margin-bottom: 9px;
  font-size: 16px;
}

.student-help-panel {
  padding: 23px;
}

.student-help-panel h3 {
  margin-bottom: 9px;
  font-size: 17px;
}

.student-help-panel a {
  display: inline-block;
  margin-top: 15px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.student-help-panel a:hover {
  color: var(--teal, #00b4a6);
}

.student-footer {
  padding: 30px 7%;
  color: rgba(255, 255, 255, 0.7);
  background: var(--navy2);
}

.student-footer-inner {
  display: flex;
  max-width: 1120px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin: 0 auto;
}

.student-footer-brand {
  max-width: 400px;
}

.student-footer-brand img {
  display: block;
  width: auto;
  max-width: 210px;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}

.student-footer p {
  margin: 9px 0 0;
  font-size: 12px;
  line-height: 1.8;
}

.student-footer-details {
  text-align: right;
}

.student-footer-details p:first-child {
  color: #fff;
}

.student-footer a {
  color: inherit;
}

.student-footer a:hover {
  color: var(--yellow);
}

@media (max-width: 900px) {
  .student-hero {
    padding-right: 5%;
    padding-left: 5%;
  }

  .student-content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .student-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .student-info-panel {
    grid-row: span 2;
  }
}

@media (max-width: 600px) {
  .student-hero {
    padding: 92px 24px 55px;
  }

  .student-hero .sec-h {
    font-size: 38px;
  }

  .student-hero .sec-sub {
    font-size: 14px;
  }

  .student-hero-actions {
    flex-direction: column;
  }

  .student-hero-actions a {
    width: 100%;
    text-align: center;
  }

  .student-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .student-form-panel {
    padding: 22px 17px;
  }

  .student-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .student-field-full {
    grid-column: auto;
  }

  .student-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .student-info-panel {
    grid-row: auto;
  }

  .student-footer-inner {
    flex-direction: column;
    gap: 18px;
  }

  .student-footer-details {
    text-align: left;
  }
}
