:root {
  --bg: #071629;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-solid: #ffffff;
  --text: #132238;
  --muted: #6a7890;
  --primary: #1357d8;
  --primary-dark: #0b3f9e;
  --accent: #10b98f;
  --gold: #f8c14a;
  --danger: #c93636;
  --border: rgba(188, 203, 226, 0.7);
  --shadow: 0 30px 90px rgba(3, 14, 35, 0.22);
  --soft-shadow: 0 18px 50px rgba(18, 72, 150, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(135deg, #061427 0%, #0b2550 42%, #eef6ff 42%, #f5fbff 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255,255,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(4px);
  pointer-events: none;
  z-index: 0;
}
.orb-one {
  width: 360px;
  height: 360px;
  left: -120px;
  top: 80px;
  background: radial-gradient(circle, rgba(16,185,143,0.46), transparent 68%);
}
.orb-two {
  width: 460px;
  height: 460px;
  right: -170px;
  top: -80px;
  background: radial-gradient(circle, rgba(248,193,74,0.36), transparent 67%);
}

.page {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 76px;
}

.fancy-panel {
  border: 1px solid rgba(255,255,255,0.34);
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.08));
  backdrop-filter: blur(22px);
  box-shadow: 0 35px 90px rgba(0,0,0,0.22);
}

.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 28px;
  align-items: stretch;
  border-radius: 36px;
  padding: clamp(24px, 5vw, 54px);
  margin-bottom: 22px;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: 14%;
  bottom: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,143,0.28), transparent 70%);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.brand-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #061427;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff, var(--gold));
  box-shadow: 0 14px 35px rgba(248,193,74,0.24);
}
.eyebrow {
  margin: 0 0 4px;
  color: #b8ffea;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
}
.micro-copy { margin: 0; color: rgba(255,255,255,0.74); font-weight: 600; }
h1 {
  margin: 0;
  max-width: 720px;
  color: white;
  font-size: clamp(42px, 7.2vw, 86px);
  line-height: 0.92;
  letter-spacing: -0.075em;
}
h1 span {
  background: linear-gradient(135deg, #ffffff, #b8ffea, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.subtitle {
  max-width: 720px;
  color: rgba(255,255,255,0.78);
  font-size: 18px;
  line-height: 1.75;
  margin: 22px 0 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 30px;
}
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  color: #071629;
  background: linear-gradient(135deg, #fff, var(--gold));
  font-weight: 900;
  box-shadow: 0 20px 42px rgba(248,193,74,0.24);
}
.deadline-pill {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  color: #dffef5;
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.18);
  font-weight: 800;
}
.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.score-card {
  border-radius: 30px;
  padding: 28px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--shadow);
}
.floating-card { animation: floatCard 5s ease-in-out infinite; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.card-kicker {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(19,87,216,0.10);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.score-card strong {
  display: block;
  margin-top: 14px;
  color: var(--primary);
  font-size: 58px;
  line-height: 1;
  letter-spacing: -0.06em;
}
.score-card p { margin: 12px 0 0; color: var(--muted); line-height: 1.55; font-weight: 700; }
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mini-stats div {
  padding: 15px 12px;
  border-radius: 22px;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.18);
  color: white;
  text-align: center;
}
.mini-stats strong { display: block; font-size: 24px; }
.mini-stats span { display: block; margin-top: 3px; font-size: 12px; color: rgba(255,255,255,0.72); font-weight: 700; }

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0;
}
.intro-item {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: var(--soft-shadow);
}
.intro-item span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 16px;
  background: #071629;
  color: var(--gold);
  font-weight: 900;
}
.intro-item p { margin: 0; color: #43536d; font-weight: 700; line-height: 1.45; }

.form-card {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.86);
  border-radius: 36px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 46px);
  backdrop-filter: blur(20px);
}
.form-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.form-label {
  margin: 0 0 5px;
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.form-topbar h2 { margin: 0; font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.05em; }
.secure-badge {
  white-space: nowrap;
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(19,87,216,0.10);
  border: 1px solid rgba(19,87,216,0.16);
  font-weight: 900;
}

.section-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 36px 0 18px;
}
.section-title span {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(19,87,216,0.20);
  flex: 0 0 auto;
}
.section-title h3 { margin: 0; font-size: 23px; letter-spacing: -0.035em; }
.section-title p { margin: 5px 0 0; color: var(--muted); }

.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

label {
  display: block;
  color: #263750;
  font-weight: 850;
  margin-bottom: 16px;
}
input, textarea {
  width: 100%;
  margin-top: 9px;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 15px 16px;
  font: inherit;
  color: var(--text);
  background: rgba(255,255,255,0.82);
  outline: none;
  transition: 0.22s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
textarea { resize: vertical; }
input:hover, textarea:hover { border-color: rgba(19,87,216,0.45); background: #fff; }
input:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 5px rgba(19,87,216,0.11);
  background: #fff;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.impact-grid label {
  margin: 0;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,251,255,0.86));
  border: 1px solid rgba(188,203,226,0.72);
  box-shadow: var(--soft-shadow);
}
.impact-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-right: 7px;
  border-radius: 12px;
  background: rgba(16,185,143,0.12);
}

fieldset {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  margin: 4px 0 22px;
  background: rgba(255,255,255,0.62);
}
legend { padding: 0 10px; font-weight: 900; color: var(--primary-dark); }
.checks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.checks label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 17px;
  font-weight: 850;
  cursor: pointer;
  transition: 0.2s ease;
}
.checks label:hover { transform: translateY(-2px); border-color: rgba(16,185,143,0.52); }
.checks input { width: auto; margin: 0; accent-color: var(--primary); }

.file-drop input { border-style: dashed; background: rgba(19,87,216,0.04); }
.file-drop small { display: block; margin-top: 8px; color: var(--muted); font-weight: 700; }

.note {
  margin: 26px 0;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(19,87,216,0.10), rgba(16,185,143,0.12), rgba(248,193,74,0.16));
  border: 1px solid rgba(19,87,216,0.12);
  color: #344862;
  font-weight: 700;
  line-height: 1.6;
}
.submit-btn {
  width: 100%;
  border: 0;
  cursor: pointer;
  border-radius: 22px;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font: inherit;
  font-weight: 950;
  font-size: 18px;
  letter-spacing: 0.01em;
  box-shadow: 0 22px 46px rgba(19,87,216,0.27);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.submit-btn b { font-size: 24px; line-height: 1; }
.submit-btn:hover { transform: translateY(-3px); box-shadow: 0 28px 58px rgba(19,87,216,0.34); filter: saturate(1.08); }

.alert {
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: 20px;
  font-weight: 900;
  box-shadow: var(--soft-shadow);
}
.alert.success { background: #e9fff8; border: 1px solid #a7f2db; color: #08785c; }
.alert.error { background: #fff0f0; border: 1px solid #ffc0c0; color: var(--danger); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .page { width: min(100% - 22px, 1180px); padding-top: 16px; }
  .hero { border-radius: 28px; }
  .intro-strip, .grid.two, .grid.three, .impact-grid, .checks { grid-template-columns: 1fr; }
  .form-topbar { flex-direction: column; align-items: flex-start; }
  .secure-badge { white-space: normal; }
  h1 { letter-spacing: -0.055em; }
}

/* Premium slim v2 overrides */
body {
  background:
    radial-gradient(circle at 12% 12%, rgba(16,185,143,0.26), transparent 26%),
    radial-gradient(circle at 86% 6%, rgba(248,193,74,0.28), transparent 25%),
    linear-gradient(135deg, #041026 0%, #09235a 38%, #eef7ff 38%, #f8fcff 100%);
}
.page {
  width: min(980px, calc(100% - 30px));
  padding: 26px 0 56px;
}
.hero {
  grid-template-columns: 1.2fr 0.8fr;
  border-radius: 34px;
  padding: clamp(22px, 4vw, 40px);
  margin-bottom: 16px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.13);
  pointer-events: none;
}
.brand-row { margin-bottom: 18px; }
.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(248,193,74,0.28), inset 0 1px 0 rgba(255,255,255,0.75);
}
h1 { font-size: clamp(38px, 6vw, 68px); letter-spacing: -0.065em; }
.subtitle { font-size: 16px; line-height: 1.6; margin-top: 16px; }
.hero-actions { margin-top: 22px; }
.primary-link, .deadline-pill { min-height: 42px; padding: 0 16px; font-size: 13px; }
.score-card { border-radius: 26px; padding: 22px; }
.score-card strong { font-size: 48px; }
.mini-stats div { padding: 12px 8px; border-radius: 18px; }
.intro-strip { gap: 10px; margin: 14px 0; }
.intro-item { padding: 12px; border-radius: 20px; }
.intro-item span { width: 36px; height: 36px; border-radius: 13px; }
.intro-item p { font-size: 13px; }
.form-card {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 32px);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.93), rgba(255,255,255,0.84));
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--gold));
}
.form-topbar { margin-bottom: 4px; padding-bottom: 16px; }
.form-topbar h2 { font-size: clamp(23px, 3vw, 32px); }
.secure-badge {
  color: #071629;
  background: linear-gradient(135deg, rgba(248,193,74,0.95), rgba(255,255,255,0.95));
  border-color: rgba(248,193,74,0.55);
  box-shadow: 0 12px 25px rgba(248,193,74,0.18);
}
.section-title { gap: 12px; margin: 26px 0 12px; }
.section-title span { width: 36px; height: 36px; border-radius: 14px; }
.section-title h3 { font-size: 20px; }
.section-title p { font-size: 13px; }
.grid { gap: 12px; }
label { margin-bottom: 12px; font-size: 14px; }
input, textarea {
  margin-top: 7px;
  border-radius: 14px;
  padding: 12px 13px;
  font-size: 14px;
}
textarea[rows="5"] { min-height: 112px; }
textarea[rows="4"] { min-height: 94px; }
textarea[rows="3"] { min-height: 78px; }
.impact-grid.rating-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.impact-card {
  position: relative;
  padding: 14px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(245,250,255,0.92));
  border: 1px solid rgba(188,203,226,0.78);
  box-shadow: 0 14px 38px rgba(18,72,150,0.11);
  overflow: hidden;
}
.impact-card::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -45px;
  top: -45px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(248,193,74,0.28), transparent 68%);
}
.impact-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #172844;
  position: relative;
  z-index: 1;
}
.impact-icon {
  margin: 0;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, rgba(16,185,143,0.16), rgba(19,87,216,0.10));
}
.rating-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  position: relative;
  z-index: 1;
}
.rating-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.rating-options label {
  margin: 0;
  padding: 9px 6px;
  border-radius: 14px;
  border: 1px solid rgba(188,203,226,0.86);
  background: rgba(255,255,255,0.74);
  color: #586981;
  cursor: pointer;
  text-align: center;
  font-size: 12px;
  font-weight: 950;
  transition: 0.18s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}
.rating-options label span {
  display: block;
  min-height: 15px;
  color: rgba(248,193,74,0.68);
  font-size: 10px;
  letter-spacing: -0.1em;
  margin-bottom: 3px;
}
.rating-options label:hover {
  transform: translateY(-2px);
  border-color: rgba(19,87,216,0.34);
  color: var(--primary-dark);
}
.rating-options input:checked + label {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 24px rgba(19,87,216,0.22);
}
.rating-options input:checked + label span { color: var(--gold); }
fieldset { border-radius: 20px; padding: 16px; margin-bottom: 18px; }
.checks { gap: 9px; }
.checks label { padding: 11px; border-radius: 15px; font-size: 13px; }
.note { margin: 20px 0; padding: 14px 16px; border-radius: 18px; font-size: 13px; }
.submit-btn { border-radius: 18px; padding: 15px 20px; font-size: 16px; }
.alert { border-radius: 17px; padding: 13px 16px; }
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .impact-grid.rating-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .page { width: min(100% - 20px, 980px); }
  .hero { padding: 22px; border-radius: 26px; }
  .intro-strip { grid-template-columns: 1fr; }
  .rating-options { grid-template-columns: repeat(2, 1fr); }
}


.brand-logo-wrap {
  padding: 10px 14px;
  border-radius: 22px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 18px 44px rgba(4, 17, 47, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
}
.brand-logo {
  width: 150px;
  height: auto;
  display: block;
}
.approval-panel {
  border: 1px solid rgba(188,203,226,0.78);
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(246,251,255,0.90));
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 18px 42px rgba(18,72,150,0.10);
}
.approval-line {
  margin: 0 0 14px;
  padding: 14px 16px;
  border-radius: 16px;
  color: #27405e;
  background: linear-gradient(135deg, rgba(19,87,216,0.08), rgba(16,185,143,0.09));
  border: 1px solid rgba(19,87,216,0.12);
  font-weight: 700;
  line-height: 1.55;
}
.approval-grid { margin-top: 4px; }
.approval-card {
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(188,203,226,0.72);
}
.approval-label {
  margin-bottom: 10px;
  display: block;
  font-size: 14px;
  color: #1b2d48;
}
.toggle-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
.toggle-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.toggle-options label {
  margin: 0;
  padding: 12px 10px;
  border-radius: 14px;
  text-align: center;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(188,203,226,0.9);
  color: #59708e;
  font-weight: 900;
  cursor: pointer;
  transition: 0.18s ease;
}
.toggle-options label:hover {
  transform: translateY(-2px);
  border-color: rgba(19,87,216,0.35);
  color: #16345e;
}
.toggle-options input:checked + label {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(19,87,216,0.18);
}
@media (max-width: 720px) {
  .brand-row { align-items: flex-start; }
  .brand-logo-wrap { min-width: 0; width: 100%; max-width: 220px; }
  .brand-logo { width: 100%; }
  .toggle-options { grid-template-columns: 1fr; }
}


/* MIS Admin Dashboard */
.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 169, 226, 0.20), transparent 24%),
    radial-gradient(circle at 92% 8%, rgba(0, 85, 164, 0.22), transparent 26%),
    linear-gradient(135deg, #021a38 0%, #0055a4 42%, #eef8ff 42%, #f7fcff 100%);
}
.admin-mini-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  color: #e8f8ff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  font-weight: 900;
  font-size: 13px;
}
.admin-login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.admin-login-card {
  width: min(460px, 100%);
  padding: 34px;
  border-radius: 30px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 30px 90px rgba(0,0,0,0.24);
  border: 1px solid rgba(255,255,255,0.82);
}
.admin-login-logo {
  width: 230px;
  display: block;
  margin: 0 auto 18px;
}
.admin-login-card h1 {
  color: #08284d;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 12px 0 8px;
}
.admin-login-card p {
  color: #5f7189;
  margin: 0 0 18px;
  line-height: 1.6;
  font-weight: 650;
}
.admin-login-card small {
  display: block;
  margin-top: 14px;
  color: #64758c;
  line-height: 1.5;
}
.admin-error {
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff0f0;
  color: #b42424;
  border: 1px solid #ffc6c6;
  font-weight: 850;
  margin-bottom: 14px;
}
.admin-page {
  width: min(1380px, calc(100% - 28px));
  margin: 0 auto;
  padding: 26px 0 60px;
}
.admin-hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border-radius: 32px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 25px 70px rgba(0, 38, 88, 0.20);
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}
.admin-brand img {
  width: 220px;
  padding: 12px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(0, 85, 164, 0.12);
}
.admin-chip {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0,85,164,0.12), rgba(0,169,226,0.14));
  color: #0055a4;
  font-weight: 950;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.admin-hero h1 {
  color: #08284d;
  font-size: clamp(30px, 4vw, 48px);
  margin: 10px 0 6px;
  line-height: 1;
  letter-spacing: -0.055em;
}
.admin-hero p {
  margin: 0;
  color: #60738b;
  font-weight: 650;
  line-height: 1.55;
  max-width: 720px;
}
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.admin-btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #0055a4, #00a9e2);
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0,85,164,0.18);
}
.admin-btn.ghost {
  background: #ffffff;
  color: #0055a4;
  border: 1px solid rgba(0,85,164,0.18);
}
.admin-btn.danger {
  background: linear-gradient(135deg, #b72222, #e05757);
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin: 18px 0;
}
.admin-stats div {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(255,255,255,0.82);
  box-shadow: 0 18px 42px rgba(0,85,164,0.12);
}
.admin-stats span {
  display: block;
  color: #63748b;
  font-size: 13px;
  font-weight: 800;
}
.admin-stats strong {
  display: block;
  margin-top: 6px;
  color: #0055a4;
  font-size: 36px;
  letter-spacing: -0.04em;
}
.admin-filters {
  display: grid;
  grid-template-columns: 1fr 220px auto auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 18px 42px rgba(0,85,164,0.12);
  margin-bottom: 18px;
}
.admin-filters label { margin: 0; }
.admin-filters select {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 13px;
  font: inherit;
  color: var(--text);
  background: rgba(255,255,255,0.88);
  outline: none;
}
.admin-table-card {
  border-radius: 30px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.82);
  box-shadow: 0 25px 70px rgba(0, 38, 88, 0.18);
  overflow: hidden;
}
.table-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(180, 202, 226, 0.7);
}
.table-top h2 {
  margin: 0;
  color: #08284d;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.table-top span {
  color: #0055a4;
  font-weight: 900;
}
.table-scroll { overflow: auto; max-height: 72vh; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1500px;
  font-size: 13px;
}
.admin-table th {
  position: sticky;
  top: 0;
  background: #0055a4;
  color: #ffffff;
  text-align: left;
  padding: 13px 12px;
  white-space: nowrap;
  z-index: 2;
}
.admin-table td {
  padding: 13px 12px;
  border-bottom: 1px solid rgba(180, 202, 226, 0.60);
  vertical-align: top;
  color: #23364f;
}
.admin-table tbody tr:hover { background: rgba(0,169,226,0.06); }
.admin-table details {
  margin-top: 8px;
}
.admin-table summary {
  cursor: pointer;
  color: #0055a4;
  font-weight: 900;
}
.admin-table details p {
  margin: 8px 0;
  line-height: 1.5;
  color: #42566f;
}
.rating-cell span {
  display: inline-flex;
  margin: 0 5px 5px 0;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(0,85,164,0.08);
  color: #0055a4;
  font-weight: 850;
  white-space: nowrap;
}
.status {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 950;
  background: #f2f5f8;
  color: #63748b;
}
.status.yes { background: #e9fff8; color: #078361; }
.status.no { background: #fff0f0; color: #b42424; }
.status.pending { background: #fff8df; color: #946900; }
.attachment-link {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: #00a9e2;
  text-decoration: none;
  font-weight: 900;
}
.empty-row {
  text-align: center;
  padding: 30px !important;
  color: #65778e !important;
  font-weight: 900;
}
@media (max-width: 980px) {
  .admin-hero, .admin-brand { flex-direction: column; align-items: flex-start; }
  .admin-actions { justify-content: flex-start; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-filters { grid-template-columns: 1fr; }
  .admin-brand img { width: 190px; }
}
@media (max-width: 620px) {
  .admin-page { width: min(100% - 18px, 1380px); padding-top: 14px; }
  .admin-login-card { padding: 24px; border-radius: 24px; }
  .admin-stats { grid-template-columns: 1fr; }
  .admin-actions a, .admin-actions button { width: 100%; }
}


/* Hero logo overflow fix - compact PharmEvo header */
.hero {
  grid-template-columns: minmax(0, 1fr) 260px !important;
  gap: 18px !important;
  align-items: center !important;
  padding: clamp(20px, 3vw, 34px) !important;
  overflow: hidden !important;
}
.hero-left {
  min-width: 0 !important;
}
.brand-row {
  align-items: flex-start !important;
  gap: 14px !important;
  margin-bottom: 18px !important;
}
.brand-logo-wrap {
  flex: 0 0 auto !important;
  width: 260px !important;
  max-width: 38vw !important;
  min-width: 0 !important;
  padding: 8px 10px !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,0.97) !important;
}
.brand-logo {
  width: 100% !important;
  max-width: 240px !important;
  height: auto !important;
  display: block !important;
}
.eyebrow {
  max-width: 190px !important;
  line-height: 1.25 !important;
}
.micro-copy {
  max-width: 180px !important;
  line-height: 1.25 !important;
}
h1 {
  font-size: clamp(34px, 5vw, 58px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.055em !important;
}
.subtitle {
  max-width: 680px !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}
.score-card {
  padding: 18px !important;
  border-radius: 22px !important;
}
.score-card strong {
  font-size: 40px !important;
}
.mini-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}
.mini-stats div {
  padding: 10px 7px !important;
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr !important;
  }
  .hero-right {
    display: grid !important;
    grid-template-columns: 160px 1fr !important;
    align-items: stretch !important;
  }
}
@media (max-width: 720px) {
  .brand-row {
    flex-direction: column !important;
  }
  .brand-logo-wrap {
    width: 230px !important;
    max-width: 100% !important;
  }
  .brand-logo {
    max-width: 210px !important;
  }
  .hero-right {
    grid-template-columns: 1fr !important;
  }
}
