/* SRHU Online - Student Grievance Redressal */
:root {
  --sgr-ink: #1a1a2e;
  --sgr-muted: #5f6b7a;
  --sgr-primary: #0f2557;
  --sgr-primary-dark: #0a1830;
  --sgr-accent: #c9a227;
  --sgr-accent-dark: #a5720f;
  --sgr-accent-light: #d4b83f;
  --sgr-bg: #f7f4ea;
  --sgr-surface: #ffffff;
  --sgr-border: #e3ddc9;
  --sgr-border-strong: #d1c9ab;
  --sgr-soft-blue: #eef2f8;
  --sgr-soft-gold: #fdf6e3;
  --sgr-soft-green: #f1f8f1;
  --sgr-danger: #b42318;
  --sgr-radius: 14px;
  --sgr-shadow: 0 12px 34px rgba(15, 37, 87, 0.10);
  --sgr-shell: 1360px;
}

.sgr-page {
  min-height: 100vh;
  background: var(--sgr-bg);
  color: var(--sgr-ink);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.sgr-page *, .sgr-page *::before, .sgr-page *::after {
  box-sizing: border-box;
}

.sgr-shell {
  width: min(var(--sgr-shell), calc(100% - 48px));
  margin-inline: auto;
}

.sgr-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1830 0%, #0f2557 55%, #16326e 100%);
  color: #fff;
  padding: 44px 0 48px;
}

.sgr-hero::after {
  content: "";
  position: absolute;
  right: -110px;
  top: -170px;
  width: 420px;
  height: 420px;
  border: 70px solid rgba(212, 184, 63, 0.10);
  border-radius: 50%;
  pointer-events: none;
}

.sgr-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.sgr-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.sgr-breadcrumb a:hover {
  text-decoration: underline;
}

.sgr-hero-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.sgr-eyebrow,
.sgr-section-kicker,
.sgr-form-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.sgr-eyebrow {
  color: #f0d98c;
}

.sgr-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.18;
  color: #ffffff;
  font-weight: 700;
}

.sgr-hero h1 span {
  display: block;
  font-size: 0.62em;
  font-weight: 600;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.9);
}

.sgr-hero-copy {
  max-width: 780px;
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.7;
}

.sgr-hero-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: #fff;
}

.sgr-hero-badge svg {
  width: 19px;
  height: 19px;
  fill: #d4b83f;
}

.sgr-content-section {
  padding: 42px 0 68px;
}

.sgr-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(340px, 3fr);
  align-items: start;
  gap: 28px;
}

.sgr-information {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.sgr-section-card,
.sgr-contact-card,
.sgr-esamadhaan-card,
.sgr-form-panel {
  background: var(--sgr-surface);
  border: 1px solid var(--sgr-border);
  border-radius: var(--sgr-radius);
  box-shadow: var(--sgr-shadow);
}

.sgr-section-card {
  padding: 28px;
}

.sgr-section-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.sgr-section-number {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  color: var(--sgr-primary);
  background: var(--sgr-soft-blue);
  font-weight: 800;
  font-size: 13px;
}

.sgr-section-kicker {
  color: var(--sgr-accent-dark);
}

.sgr-section-heading h2,
.sgr-contact-card h2,
.sgr-esamadhaan-card h2,
.sgr-form-header h2 {
  margin: 0;
  color: var(--sgr-ink);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.2;
}

.sgr-section-card > p,
.sgr-contact-card p,
.sgr-esamadhaan-card p {
  margin: 0;
  color: var(--sgr-muted);
  font-size: 15px;
  line-height: 1.75;
}

.sgr-principles {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.sgr-principles span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid #f0e4bb;
  border-radius: 999px;
  background: var(--sgr-soft-gold);
  color: #8a6410;
  font-size: 12.5px;
  font-weight: 700;
}

.sgr-principles span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sgr-accent);
}

.sgr-table-wrap {
  overflow-x: auto;
  margin-top: 20px;
  border: 1px solid var(--sgr-border);
  border-radius: 10px;
  -webkit-overflow-scrolling: touch;
}

.sgr-table {
  width: 100%;
  min-width: 640px;
  table-layout: fixed;
  border-collapse: collapse;
  background: #fff;
  font-size: 13.5px;
  margin-bottom: 0;
}

.sgr-table td:nth-child(1) {
  width: 36%;
}

.sgr-table td:nth-child(2) {
  width: 42%;
}

.sgr-table td:nth-child(3) {
  width: 22%;
}

.sgr-table caption {
  padding: 14px 16px;
  color: var(--sgr-ink);
  background: #f8fafc;
  text-align: left;
  font-weight: 700;
  border-bottom: 1px solid var(--sgr-border);
  font-size: 14px;
}

.sgr-table th,
.sgr-table td {
  padding: 12px 14px;
  border-right: 1px solid var(--sgr-border);
  border-bottom: 1px solid var(--sgr-border);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
  color: var(--sgr-ink);
}

.sgr-table th {
  background: var(--sgr-primary);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}

.sgr-table th:last-child,
.sgr-table td:last-child {
  border-right: 0;
}

.sgr-table tbody tr:nth-child(even) {
  background: #fbfcfe;
}

.sgr-role {
  font-weight: 700;
  color: var(--sgr-primary-dark);
}

.sgr-timeline {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.sgr-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 0 0 20px;
}

.sgr-timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 32px;
  bottom: 0;
  width: 2px;
  background: #f0e4bb;
}

.sgr-timeline-marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sgr-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 0 0 5px #fdf6e3;
}

.sgr-timeline h3 {
  margin: 2px 0 4px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--sgr-ink);
}

.sgr-timeline p {
  margin: 0;
  color: var(--sgr-muted);
  font-size: 14px;
  line-height: 1.65;
}

.sgr-bullet-list {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--sgr-muted);
}

.sgr-bullet-list li {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.7;
}

.sgr-bullet-list li:last-child {
  margin-bottom: 0;
}

.sgr-support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.sgr-contact-card,
.sgr-esamadhaan-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 22px;
}

.sgr-icon-box {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--sgr-soft-blue);
}

.sgr-icon-box svg {
  width: 21px;
  height: 21px;
  fill: var(--sgr-primary);
}

.sgr-icon-box--green {
  background: var(--sgr-soft-gold);
}

.sgr-icon-box--green svg {
  fill: var(--sgr-accent-dark);
}

.sgr-inline-link,
.sgr-external-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--sgr-primary);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.sgr-inline-link:hover,
.sgr-external-link:hover {
  text-decoration: underline;
}

.sgr-form-panel {
  overflow: hidden;
  border-top: 4px solid var(--sgr-accent);
}

.sgr-form-header {
  padding: 23px 22px 19px;
  background: linear-gradient(180deg, #f9fbfd 0%, #fff 100%);
  border-bottom: 1px solid var(--sgr-border);
}

.sgr-form-kicker {
  color: var(--sgr-accent-dark);
}

.sgr-form-header h2 {
  color: var(--sgr-primary-dark);
  font-size: 22px;
}

.sgr-form-header p {
  margin: 8px 0 0;
  color: var(--sgr-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.sgr-form {
  padding: 20px 22px 22px;
}

.sgr-status-check {
  margin: 18px 22px 0;
  padding: 16px;
  border: 1px solid #f0e4bb;
  border-radius: 12px;
  background: linear-gradient(180deg, #fdf8ec 0%, #ffffff 100%);
}

.sgr-status-check-copy h3 {
  margin: 0 0 12px;
  color: var(--sgr-primary-dark);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.sgr-status-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.sgr-status-field {
  margin-bottom: 0;
}

.sgr-status-submit {
  min-height: 43px;
  align-self: start;
  margin-top: 22px;
  padding: 9px 14px;
  border: 0;
  border-radius: 8px;
  background: var(--sgr-accent);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.sgr-status-submit:hover {
  background: var(--sgr-accent-dark);
}

.sgr-status-result {
  margin-top: 13px;
  padding: 12px;
  border: 1px solid #cde7cf;
  border-radius: 10px;
  background: var(--sgr-soft-green);
}

.sgr-status-result span {
  display: block;
  color: #356c39;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.sgr-status-result strong {
  display: block;
  margin-top: 4px;
  color: var(--sgr-ink);
  font-size: 18px;
}

.sgr-message-stack {
  padding: 16px 22px 0;
}

.sgr-alert {
  margin-bottom: 12px;
  padding: 11px 12px;
  border-radius: 8px;
  background: var(--sgr-soft-blue);
  color: var(--sgr-primary-dark);
  font-size: 13px;
  line-height: 1.5;
}

.sgr-alert--success {
  background: var(--sgr-soft-green);
  color: #27672e;
}

.sgr-alert--error {
  background: #fff4f2;
  color: var(--sgr-danger);
}

.sgr-reference-box {
  margin: 16px 22px 0;
  padding: 14px;
  border: 1px solid #cde7cf;
  border-radius: 10px;
  background: var(--sgr-soft-green);
}

.sgr-reference-box span {
  display: block;
  color: #356c39;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.sgr-reference-box strong {
  display: block;
  margin-top: 4px;
  color: var(--sgr-ink);
  font-size: 20px;
}

.sgr-required-note {
  margin-bottom: 13px;
  color: var(--sgr-muted);
  font-size: 11.5px;
  text-align: right;
}

.sgr-required-note span,
.sgr-field label span,
.sgr-fieldset legend span {
  color: var(--sgr-danger);
}

.sgr-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
}

.sgr-field {
  min-width: 0;
  margin-bottom: 15px;
}

.sgr-form-grid .sgr-field {
  margin-bottom: 0;
}

.sgr-field label,
.sgr-fieldset legend {
  display: block;
  margin-bottom: 7px;
  color: #29384c;
  font-size: 12.5px;
  font-weight: 700;
}

.sgr-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sgr-char-count {
  color: #7b8796;
  font-size: 11px;
  white-space: nowrap;
}

.sgr-field input,
.sgr-field select,
.sgr-field textarea {
  width: 100%;
  border: 1px solid var(--sgr-border-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--sgr-ink);
  font: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.sgr-field input,
.sgr-field select {
  min-height: 43px;
  padding: 9px 11px;
}

.sgr-field textarea {
  min-height: 138px;
  padding: 10px 11px;
  line-height: 1.55;
  resize: vertical;
}

.sgr-field input:focus,
.sgr-field select:focus,
.sgr-field textarea:focus {
  border-color: var(--sgr-primary);
  box-shadow: 0 0 0 3px rgba(15, 37, 87, 0.15);
}

.errorlist {
  margin: 7px 0 0;
  padding-left: 18px;
  color: var(--sgr-danger);
  font-size: 12px;
  line-height: 1.45;
}

.sgr-fieldset {
  min-width: 0;
  margin: 18px 0 16px;
  padding: 0;
  border: 0;
}

.sgr-radio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sgr-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--sgr-border);
  border-radius: 8px;
  background: #fbfcfe;
  color: #354459;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.sgr-radio:hover {
  border-color: #aac2dc;
  background: var(--sgr-soft-blue);
}

.sgr-radio:has(input:checked) {
  border-color: #83afd7;
  background: var(--sgr-soft-blue);
}

.sgr-radio input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--sgr-primary);
  flex: 0 0 auto;
}

.sgr-radio span {
  min-width: 0;
  font-size: 11.5px;
  line-height: 1.25;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.sgr-privacy-note {
  margin: 2px 0 15px;
  color: #788494;
  font-size: 11.5px;
  line-height: 1.55;
}

.sgr-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 46px;
  padding: 11px 16px;
  border: 0;
  border-radius: 9px;
  background: var(--sgr-primary);
  color: #fff;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.16s ease, box-shadow 0.16s ease;
}

.sgr-submit svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.sgr-submit:hover {
  background: var(--sgr-primary-dark);
  box-shadow: 0 8px 18px rgba(10, 24, 48, 0.22);
}

.sgr-submit[disabled] {
  cursor: wait;
  opacity: 0.72;
}

[hidden] {
  display: none !important;
}

@media (min-width: 1100px) and (min-height: 820px) {
  .sgr-form-panel {
    position: sticky;
    top: 90px;
  }
}

@media (max-width: 1180px) {
  .sgr-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .sgr-form-column {
    order: -1;
  }
  .sgr-radio-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .sgr-shell {
    width: min(100% - 32px, var(--sgr-shell));
  }
  .sgr-hero-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .sgr-support-grid {
    grid-template-columns: 1fr;
  }
  .sgr-radio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .sgr-shell {
    width: min(100% - 22px, var(--sgr-shell));
  }
  .sgr-hero h1 {
    font-size: 28px;
  }
  .sgr-section-card {
    padding: 18px 16px;
  }
  .sgr-form-header {
    padding: 20px 16px 17px;
  }
  .sgr-form {
    padding: 17px 16px 19px;
  }
  .sgr-form-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .sgr-radio-grid {
    grid-template-columns: 1fr;
  }
  .sgr-status-check {
    margin: 16px 16px 0;
  }
  .sgr-status-form {
    grid-template-columns: 1fr;
  }
  .sgr-status-submit {
    width: 100%;
    margin-top: 0;
  }
}
