/* ===========================================================
   Northgate University — Student Zone
   Shared stylesheet used by header.php / sidebar.php / footer.php
   =========================================================== */

:root {
  --navy: #0b1f3a;
  --navy-dark: #061527;
  --blue: #1d4ed8;
  --blue-light: #3b82f6;
  --gold: #d4a017;
  --bg: #f4f6fb;
  --card-bg: #ffffff;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --success: #16a34a;
  --radius: 12px;
  --shadow: 0 4px 14px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 20px 40px rgba(11, 31, 58, 0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* ---------- Thin utility top bar ---------- */
.topbar {
  background: var(--navy);
  color: #cbd5e1;
  font-size: 11.5px;
  padding: 7px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
  gap: 6px;
}

.topbar-left b { color: #fff; letter-spacing: 0.5px; margin-right: 10px; }
.topbar-sep { color: #93a3bd; }

.topbar-badge {
  background: #fef3c7;
  color: #92400e;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.3px;
}

.topbar-right { display: flex; gap: 18px; }
.topbar-right a { display: inline-flex; align-items: center; gap: 5px; color: #cbd5e1; }
.topbar-right a:hover { color: #fff; }

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---------- Layout shell ---------- */
.portal-shell {
  display: flex;
  min-height: 100vh;
}

.main-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  color: var(--text);
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  /*width: 42px;*/
  height: 46px;
  flex-shrink: 0;
}

.brand-text .name {
  font-weight: 800;
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: 0.4px;
  color: var(--navy);
}

.brand-divider {
  width: 1px;
  height: 30px;
  background: var(--border);
  margin: 0 4px;
}

.brand-zone {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

.header-nav a { padding-bottom: 4px; border-bottom: 2px solid transparent; }
.header-nav a:hover { color: var(--navy); }
.header-nav a.is-active {
  color: var(--blue);
  border-bottom-color: var(--gold);
  font-weight: 700;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  background: rgba(255,255,255,0.08);
  padding: 6px 12px;
  border-radius: 20px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--navy);
  font-size: 22px;
  cursor: pointer;
}

.header-account {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-btn {
  position: relative;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  cursor: pointer;
}

.icon-btn:hover { background: #e2e8f0; color: var(--navy); }

.notif-badge {
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  border: 1.5px solid #fff;
  font-size: 9.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.account-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 10px 6px 6px;
  border-radius: 24px;
  background: #f8fafc;
  border: 1px solid var(--border);
  cursor: pointer;
}

.account-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.account-text { display: flex; flex-direction: column; line-height: 1.25; }
.account-name { font-size: 13px; font-weight: 600; color: var(--text); }
.account-signout { font-size: 11px; color: var(--text-light); }

/* ---------- Sidebar ---------- */
.sidebar {
  width: 250px;
  background: #fff;
  color: var(--text);
  padding: 20px 16px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
}

.sidebar-profile {
  padding: 0 8px 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.sidebar-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-profile-name { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.sidebar-profile-reg { font-size: 11.5px; color: var(--text-light); }

.sidebar-section-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  margin: 4px 8px 8px;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  margin-bottom: 3px;
  color: var(--text);
  transition: background 0.15s ease, color 0.15s ease;
}

.sidebar-arrow { margin-left: auto; color: #cbd5e1; }

.sidebar-nav li a:hover {
  background: #f1f5f9;
}

.sidebar-nav li.active a {
  background: var(--navy);
  color: #fff;
}

.sidebar-nav li.active a .sidebar-arrow { color: rgba(255,255,255,0.6); }

.sidebar-icon {
  width: 18px;
  text-align: center;
  font-size: 15px;
  display: flex;
}

.sidebar-card {
  margin-top: 20px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: var(--radius);
  padding: 14px;
  font-size: 12.5px;
  color: var(--text-light);
}

.sidebar-card strong { color: var(--navy); display: block; margin-bottom: 4px; }
.sidebar-card-link { display: inline-block; margin-top: 6px; color: var(--blue); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #a9b6cc;
  padding: 18px 28px;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }

.footer-links {
  display: flex;
  gap: 16px;
}

/* ---------- Content wrapper ---------- */
.content {
  flex: 1;
  padding: 32px;
}

/* ---------- Login page (full-screen split layout) ---------- */
.login-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.login-visual {
  background: linear-gradient(160deg, var(--navy) 0%, #12305c 55%, var(--blue) 140%);
  color: #fff;
  padding: 36px 48px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.login-visual::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.login-visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.login-brand-box {
  background: #fff;
  border-radius: 10px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-brand-logo-img {
  height: 44px;
  flex-shrink: 0;
}

.login-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.login-brand-copy .login-brand-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.2px;
}

.login-brand-sub {
  font-size: 10.5px;
  color: var(--text-light);
  font-weight: 600;
}

.login-copy {
  position: relative;
  z-index: 1;
  max-width: 460px;
}

.eyebrow-light {
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.login-copy h1 {
  font-size: 32px;
  line-height: 1.3;
  margin: 12px 0 14px;
}

.login-copy h1 span { color: var(--gold); }

.login-copy p.sub {
  font-size: 14px;
  color: #cdd7ea;
  margin-bottom: 28px;
}

.login-feature-row {
  display: flex;
  gap: 12px;
}

.portal-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.portal-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #a9b6cc;
  margin-bottom: 14px;
}

.portal-card-head a {
  color: #86efac;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.login-feature-btn {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.login-feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #eef2ff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.login-feature-btn b { font-size: 12.5px; color: var(--navy); }
.login-feature-btn span { font-size: 11px; color: var(--text-light); }

.login-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--bg);
}

.login-box {
  width: 100%;
  max-width: 380px;
}

.login-box .eyebrow {
  font-size: 11.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
}

.login-box-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.login-box h2 { font-size: 24px; color: var(--navy); margin-bottom: 6px; }
.login-box .desc { font-size: 13px; color: var(--blue); margin-bottom: 26px; line-height: 1.5; }

.secure-label {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  text-align: right;
  flex-shrink: 0;
}

.secure-label svg {
  width: 15px;
  height: 15px;
  color: #16a34a;
  background: #dcfce7;
  border-radius: 50%;
  padding: 3px;
  box-sizing: content-box;
  margin-top: 1px;
}

.secure-label span {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--text-light);
}

.secure-label b { color: var(--navy); font-size: 11px; }
.secure-label i { font-style: normal; color: #94a3b8; font-size: 10px; }

.btn-login-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.login-box .helpdesk {
  align-items: flex-start;
}

.login-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent;
  color: var(--text-light);
  font-size: 11.5px;
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
}

.promo-checks {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #d7deee;
  margin-top: 4px;
}

.promo-checks span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.promo-checks span :first-child {
  color: #4ade80;
}

.login-form-panel .eyebrow {
  font-size: 11.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 6px;
}

.login-form-panel h2 {
  font-size: 24px;
  margin-bottom: 4px;
  color: var(--navy);
}

.login-form-panel .desc {
  font-size: 13.5px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input[type="text"],
.form-group input[type="password"] {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: 14px;
  outline: none;
  transition: border 0.15s ease;
}

.form-group input:focus {
  border-color: var(--blue);
}

/* Icon-prefixed input wrapper */
.login-input {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input i {
  position: absolute;
  left: 12px;
  display: flex;
  color: var(--text-light);
  pointer-events: none;
}

.login-input input {
  padding-left: 40px !important;
}

.password-field .toggle-pass {
  position: absolute;
  right: 12px;
}

.toggle-pass {
  background: none;
  border: none;
  font-size: 12px;
  color: var(--blue);
  cursor: pointer;
  font-weight: 600;
}

.form-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 18px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
}

.form-row-between a { color: var(--blue); font-weight: 600; }

.captcha-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.captcha-code {
  background: repeating-linear-gradient(45deg, #eef2f9, #eef2f9 4px, #e2e8f0 4px, #e2e8f0 8px);
  border: 1.5px dashed var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-family: "Courier New", monospace;
  font-weight: 700;
  letter-spacing: 4px;
  font-size: 16px;
  color: var(--navy);
  user-select: none;
}

.captcha-box input {
  flex: 1;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
}

.btn-login {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--blue), #2563eb);
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.btn-login:hover { opacity: 0.92; }
.btn-login:active { transform: translateY(1px); }

.helpdesk {
  margin-top: 20px;
  padding: 14px 16px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--text-light);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}

.helpdesk > span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dbeafe;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.helpdesk b { color: var(--navy); font-size: 13px; }
.helpdesk em { font-style: normal; color: var(--text-light); font-size: 11.5px; }
.helpdesk a { color: var(--blue); font-weight: 600; text-decoration: none; }

.demo-banner {
  background: #fef3c7;
  color: #92400e;
  text-align: center;
  font-size: 12.5px;
  padding: 8px 16px;
  font-weight: 600;
}

/* ---------- Welcome banner ---------- */
.welcome-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 140%);
  color: #fff;
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.welcome-eyebrow {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fcd34d;
  font-weight: 700;
  margin-bottom: 8px;
}

.welcome-banner h1 { font-size: 24px; margin-bottom: 6px; }
.welcome-banner p { font-size: 13.5px; color: #cdd7ea; max-width: 460px; }

.welcome-sem-badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 160px;
}

.welcome-sem-label { font-size: 11px; color: #cdd7ea; }
.welcome-sem-value {
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.welcome-sem-value i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fcd34d;
  display: inline-block;
}

/* ---------- Dashboard grid ---------- */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: start;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.section-head h2 { font-size: 16px; color: var(--navy); }
.section-count {
  font-size: 11.5px;
  color: var(--text-light);
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: 20px;
}
.section-sub { font-size: 12.5px; color: var(--text-light); margin-bottom: 16px; }

/* ---------- Service tiles ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-tile {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: block;
  transition: box-shadow 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}

.service-tile:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: #c7d2fe;
}

.service-tile-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eef2ff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

/* Per-card accent colors, cycling by position — matches the varied pastel icons in the reference layout */
.service-tile:nth-child(6n+1) .service-tile-icon { background: #eef2ff; color: #4f46e5; }
.service-tile:nth-child(6n+2) .service-tile-icon { background: #fff7ed; color: #ea580c; }
.service-tile:nth-child(6n+3) .service-tile-icon { background: #ecfdf5; color: #16a34a; }
.service-tile:nth-child(6n+4) .service-tile-icon { background: #f5f3ff; color: #7c3aed; }
.service-tile:nth-child(6n+5) .service-tile-icon { background: #fefce8; color: #ca8a04; }
.service-tile:nth-child(6n+6) .service-tile-icon { background: #fdf2f8; color: #db2777; }

.service-tile h3 { font-size: 14.5px; color: var(--navy); margin-bottom: 4px; }
.service-tile p { font-size: 12.5px; color: var(--text-light); margin-bottom: 12px; }
.service-tile-link { font-size: 12.5px; font-weight: 700; color: #ea580c; }

/* ---------- Account overview panel ---------- */
.account-overview {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.account-overview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 16px;
}

.account-overview-head button {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 16px;
}

.account-overview-profile {
  text-align: center;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.account-overview-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.account-overview-name { font-size: 15px; font-weight: 700; color: var(--navy); }
.account-overview-program { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }

.account-overview-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.account-overview-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }

.account-overview-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
}

.account-overview-row span { color: var(--text-light); }
.account-overview-row b { color: var(--text); }

.account-overview-cta {
  width: 100%;
  padding: 10px;
  background: #eff6ff;
  color: var(--blue);
  border: 1px solid #dbeafe;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.account-overview-cta:hover { background: #dbeafe; }

/* ---------- Notice bar ---------- */
.notice-bar {
  margin-top: 22px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #9a3412;
}

.notice-bar div { flex: 1; display: flex; flex-direction: column; font-size: 12.5px; }
.notice-bar strong { font-size: 13px; color: #7c2d12; }
.notice-bar a { font-size: 12.5px; font-weight: 700; color: var(--blue); white-space: nowrap; }

/* ---------- Floating support button ---------- */
.fab-support {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
}

.fab-support:hover { opacity: 0.92; }

/* ---------- Dashboard cards (for index/inner pages) ---------- */
.page-title {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 4px;
}

.page-subtitle {
  color: var(--text-light);
  font-size: 13.5px;
  margin-bottom: 24px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.info-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--blue);
}

.info-card h3 {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 6px;
}

.info-card p {
  font-size: 13px;
  color: var(--text-light);
}

/* ---------- Learning Material: resource list ---------- */
.resource-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.resource-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow);
}

.resource-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eef2ff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.resource-info { flex: 1; min-width: 0; }

.resource-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.resource-meta {
  font-size: 12px;
  color: var(--text-light);
}

.resource-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.resource-download:hover { opacity: 0.9; }

/* ---------- Results: table ---------- */
.table-wrap {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.data-table th {
  text-align: left;
  background: #f8fafc;
  color: var(--text-light);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.data-table tr:last-child td { border-bottom: none; }

.status-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
}

.status-pass { background: #dcfce7; color: #15803d; }
.status-pending { background: #fef3c7; color: #92400e; }

/* ---------- Services: cards ---------- */
.service-card {
  border-left: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eef2ff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.service-card .resource-download {
  align-self: flex-start;
  margin-top: 8px;
  background: none;
  color: var(--blue);
  padding: 0;
}

.service-card .resource-download:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .login-page { grid-template-columns: 1fr; }
  .login-visual { display: none; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .sidebar { position: fixed; left: -260px; top: 0; bottom: 0; z-index: 60; transition: left 0.2s ease; overflow-y: auto; }
  .sidebar.open { left: 0; }
  .hamburger { display: block; }
  .header-nav { display: none; }
  .topbar-left, .topbar-right { display: none; }
  .welcome-banner { flex-direction: column; align-items: flex-start; }
}