:root {
  --primary: #f25c05;
  --bg: #f2f4f7;
  --card: #ffffff;
  --text: #0f2440;
  --muted: #8b9bb2;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container { max-width: 920px; margin: 24px auto; padding: 0 16px; }
.card {
  background: var(--card);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(10, 30, 60, 0.05);
  margin-bottom: 16px;
}
.hero { background: var(--primary); color: #fff; text-align: center; padding: 36px 20px; }
h1, h2, h3 { margin: 0 0 12px; }
input, textarea, select, button {
  width: 100%;
  border: 1px solid #e7ecf3;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 16px;
}
textarea { min-height: 88px; resize: vertical; }
button {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.muted { color: var(--muted); font-size: 13px; }
.status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}
.s-pending { background: #fff2dd; color: #b07200; }
.s-approved { background: #e9f2ff; color: #1e5fcb; }
.s-rejected { background: #ffe8e8; color: #be2d2d; }
.s-shipped { background: #ddf5e5; color: #0c7e3c; }
.item { border-top: 1px solid #eef2f8; padding-top: 10px; margin-top: 10px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 14px 0; }
.tab {
  padding: 10px;
  background: #fff;
  border: 1px solid #eef2f8;
  text-align: center;
  cursor: pointer;
}
.tab.active { color: var(--primary); border-bottom: 2px solid var(--primary); font-weight: 700; }

.landing-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(242, 92, 5, 0.12), transparent 32%),
    radial-gradient(circle at right center, rgba(15, 36, 64, 0.1), transparent 30%),
    linear-gradient(180deg, #eef3f8 0%, #f7f9fc 100%);
}
.landing-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px 60px;
}
.landing-hero {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 48px 56px 56px;
  margin-bottom: 26px;
  background: linear-gradient(135deg, #f25c05 0%, #ff7b18 52%, #ff9a42 100%);
  color: #fff;
  box-shadow: 0 24px 60px rgba(242, 92, 5, 0.22);
}
.landing-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.hero-badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  font-size: 12px;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}
.landing-hero h1 {
  font-size: 48px;
  line-height: 1.15;
  margin: 0 0 16px;
}
.landing-hero p {
  max-width: 700px;
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.92);
}
.hero-highlights {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.highlight-pill {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
  font-size: 14px;
}
.landing-panel {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 30px;
  padding: 22px;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 60px rgba(10, 30, 60, 0.08);
}
.landing-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 22px;
  border-radius: 18px;
  overflow: hidden;
  background: #f3f6fa;
  padding: 6px;
}
.landing-tab {
  text-align: center;
  padding: 16px 12px;
  text-decoration: none;
  color: #62718a;
  border-radius: 14px;
  font-weight: 700;
}
.landing-tab.active {
  background: linear-gradient(90deg, #f25c05 0%, #ff7a12 100%);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(11, 35, 66, 0.08);
}
.landing-tabs .landing-tab.active,
.landing-tabs .landing-tab.active:link,
.landing-tabs .landing-tab.active:visited,
.landing-tabs .landing-tab.active:hover,
.landing-tabs .landing-tab.active:focus {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
button.landing-tab.active,
button.landing-tab.active span {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.login-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}
.login-visual {
  min-height: 430px;
  border-radius: 28px;
  padding: 24px;
  background:
    linear-gradient(150deg, rgba(255,255,255,0.78), rgba(255,255,255,0.62)),
    linear-gradient(135deg, #ffe6d3 0%, #fff7f1 100%);
  border: 1px solid rgba(242, 92, 5, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.visual-card {
  border-radius: 22px;
  padding: 28px;
  background: linear-gradient(160deg, #ffffff 0%, #fff6ef 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.visual-tag,
.section-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1.2px;
  color: var(--primary);
  background: rgba(242, 92, 5, 0.1);
  padding: 7px 12px;
  border-radius: 999px;
}
.visual-card h2 {
  font-size: 34px;
  margin: 18px 0 12px;
}
.visual-card p {
  margin: 0;
  color: #607089;
  line-height: 1.8;
}
.visual-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.metric-box {
  border-radius: 20px;
  padding: 18px 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(10, 30, 60, 0.06);
}
.metric-box strong {
  display: block;
  font-size: 26px;
  color: var(--primary);
  margin-bottom: 8px;
}
.metric-box span {
  color: #66768f;
  font-size: 14px;
}
.login-card {
  border-radius: 28px;
  padding: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #fffdfb 100%);
}
.login-card h3 {
  font-size: 34px;
  margin: 16px 0 10px;
}
.login-desc {
  line-height: 1.8;
  margin-bottom: 22px;
}
.input-label {
  display: block;
  margin-bottom: 10px;
  color: #516278;
  font-size: 14px;
  font-weight: 700;
}
.input-wrap {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 18px;
  padding: 6px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}
.input-prefix {
  display: grid;
  place-items: center;
  height: 52px;
  border-radius: 14px;
  color: var(--primary);
  font-weight: 700;
  background: #fff5ee;
}
.input-wrap input {
  border: none;
  box-shadow: none;
  background: transparent;
}
.single-input {
  display: block;
  padding: 6px 8px;
}
.single-input input {
  width: 100%;
  height: 56px;
  padding: 0 16px;
}
.form-message {
  min-height: 22px;
  margin: 10px 0 8px;
  font-size: 13px;
  color: #be2d2d;
}
.primary-btn {
  height: 56px;
  border-radius: 18px;
  font-size: 18px;
  background: linear-gradient(90deg, #f25c05 0%, #ff7a12 100%);
  box-shadow: 0 16px 32px rgba(242, 92, 5, 0.24);
}
.login-footnote {
  margin-top: 16px;
  color: #7f8da3;
  font-size: 13px;
  line-height: 1.7;
}
.student-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.student-toolbar strong {
  display: block;
  font-size: 24px;
  margin-top: 0;
  line-height: 1.5;
}
.student-dashboard {
  padding: 0;
}
.student-header-bar {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 24px 26px 16px;
  background: #fff;
  border-bottom: 1px solid #edf2f7;
}
.student-profile-badge {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(242, 92, 5, 0.26);
}
.student-profile-meta strong {
  display: block;
  font-size: 20px;
  color: #081a33;
}
.student-profile-subline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #90a0b8;
  font-size: 13px;
  margin-top: 4px;
}
.student-class-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff4eb;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}
.student-exit-btn {
  width: auto;
  min-width: 144px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff4eb;
  color: var(--primary);
  border: 1px solid rgba(242, 92, 5, 0.22);
  box-shadow: 0 10px 20px rgba(242, 92, 5, 0.12);
}
.student-dashboard-main {
  padding: 24px 22px 28px;
}

.student-dashboard-main::before {
  content: "";
  display: block;
  height: 10px;
}
.student-apply-card {
  width: min(760px, 100%);
  margin: 0 auto 34px;
  padding: 36px 38px 40px;
  border-radius: 36px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(10, 30, 60, 0.08);
}
.student-apply-card h2,
.student-history-wrap h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  margin: 0 0 28px;
  color: #0f2440;
}
.student-apply-card h2::before,
.student-history-wrap h2::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 20px;
  line-height: 1;
}
.student-history-wrap h2::before {
  content: "≣";
}
.student-apply-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.student-apply-card label {
  display: block;
  margin-bottom: 10px;
  color: #95a4bd;
  font-size: 13px;
  font-weight: 700;
}
.student-apply-card input,
.student-apply-card textarea {
  background: #f5f8fc;
  border-color: #edf2f7;
  border-radius: 18px;
  color: #21385a;
}
.student-apply-card input::placeholder,
.student-apply-card textarea::placeholder {
  color: #a5afbf;
  font-size: 16px;
  font-weight: 700;
}
.student-apply-card textarea {
  min-height: 132px;
}
.student-apply-address,
.student-apply-note {
  margin-top: 22px;
}
.student-submit-btn {
  margin-top: 28px;
  height: 62px;
  border-radius: 999px;
  font-size: 18px;
  box-shadow: 0 18px 34px rgba(242, 92, 5, 0.24);
}
.student-history-wrap {
  width: min(980px, 100%);
  margin: 0 auto;
}
.history-card {
  position: relative;
  margin-bottom: 22px;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(10, 30, 60, 0.08);
  overflow: hidden;
}
.history-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 16px;
  background: linear-gradient(180deg, #ff6a0f 0%, #f25c05 100%);
}
.history-card-main {
  padding: 28px 32px 34px 52px;
}
.history-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.history-card-head h3 {
  margin: 0 0 6px;
  font-size: 24px;
  color: #0f2440;
}
.history-class-line {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}
.history-time {
  margin-top: 24px;
  color: #9aa8be;
  font-size: 13px;
  font-weight: 700;
}
.history-receiver {
  margin-top: 12px;
  color: #7f90aa;
  font-size: 14px;
  font-weight: 700;
}
.history-address {
  margin-top: 16px;
  color: #21385a;
  font-size: 18px;
  font-weight: 700;
}
.history-tracking {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff9f2 0%, #fff6ec 100%);
  border: 1px solid rgba(242, 92, 5, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.history-tracking-no {
  color: #8e491b;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
}
.history-copy-btn {
  width: auto;
  min-width: 76px;
  padding: 8px 16px;
  background: #fff;
  color: var(--primary);
  border: 1px solid rgba(242, 92, 5, 0.24);
  box-shadow: none;
}
.history-reject {
  margin-top: 16px;
  color: #be2d2d;
  font-size: 14px;
  font-weight: 700;
}
.ghost-btn {
  width: auto;
  min-width: 132px;
  height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  background: #fff5ee;
  color: var(--primary);
  border: 1px solid rgba(242, 92, 5, 0.2);
  box-shadow: none;
}

.admin-body { background: #e9edf2; }
.admin-login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(242, 92, 5, 0.14), transparent 28%),
    linear-gradient(180deg, #eef3f8 0%, #e8edf4 100%);
}
.admin-login-panel {
  width: min(640px, 100%);
  padding: 34px;
  border-radius: 28px;
}
.admin-login-panel h2 {
  font-size: 34px;
  margin: 16px 0 10px;
}
.admin-layout {
  display: grid;
  grid-template-columns: 270px minmax(980px, 1fr);
  min-height: 100vh;
  min-width: 1250px;
}
.sidebar {
  background: #071838;
  color: #dbe5f7;
  padding: 24px 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.brand { text-align: center; margin-bottom: 22px; }
.brand-icon {
  width: 70px; height: 70px; border-radius: 22px; margin: 0 auto 14px;
  background: var(--primary); display: grid; place-items: center; font-size: 30px;
}
.brand h2 { color: #fff; font-size: 38px; margin: 0; line-height: 1.2; }
.nav-group { margin: 20px 0; }
.nav-item {
  width: 100%; border: 0; background: transparent; color: #b9c7df; text-align: left;
  margin: 6px 0; padding: 14px 16px; border-radius: 16px; font-weight: 700;
}
.nav-item.active { background: var(--primary); color: #fff; }
.logout-btn {
  border: 1px solid rgba(255,255,255,0.08); background: #0a2148; color: #8ea2c4;
  border-radius: 14px; padding: 12px;
  margin-top: 14px;
  background: rgba(242, 92, 5, 0.12);
  color: #ffd2b8;
  border-color: rgba(242, 92, 5, 0.32);
}
.admin-main { display: flex; flex-direction: column; }
.topbar {
  background: #fff; min-height: 104px; border-bottom: 1px solid #dde5ef;
  display: flex; justify-content: space-between; align-items: center; padding: 0 40px;
}
.topbar h1 { font-size: 42px; margin: 0; }
.topbar input { max-width: 420px; background: #f3f6fa; border: 1px solid #e7edf5; }
.content-wrap { padding: 26px 34px; }
.request-toolbar-actions {
  display: none;
  justify-content: flex-end;
  margin: 0 0 18px;
}
.export-result {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f7fafc;
  border: 1px solid #e7edf5;
}
.export-result-text {
  color: #2f4767;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  word-break: break-all;
}
.export-result-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.export-btn {
  width: auto;
  min-width: 220px;
  padding: 0 22px;
}
#shipImportCard {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#shipImportCard h2,
#shipImportCard > p.muted:first-of-type {
  margin-bottom: 0;
}
.ship-action-row {
  order: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
  align-items: stretch;
}
.ship-action-row .export-btn {
  width: 100%;
  min-width: 0;
  min-height: 52px;
}
#shipExportResult {
  order: 3;
  margin-top: 0 !important;
}
#shipImportText {
  order: 4;
  display: none;
  margin-top: 4px;
}
#shipImportHint {
  order: 5;
  display: none;
  margin: 0;
}
#shipImportBtn {
  order: 6;
  display: none;
}
#shipImportMsg {
  order: 7;
  margin: 0;
}
#importCard { display: none; }
.student-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 180px;
  gap: 18px;
  align-items: end;
}
.student-form-label {
  display: block;
  margin: 0 0 10px;
  color: #91a0ba;
  font-size: 13px;
  font-weight: 700;
}
.student-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.student-form-actions button {
  width: auto;
  min-width: 180px;
  padding: 0 28px;
}
.student-table {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid #edf2f7;
  background: #fff;
}
.student-table-head,
.student-table-row {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 1fr 180px;
  align-items: center;
}
.student-table-head {
  min-height: 70px;
  padding: 0 36px;
  color: #91a0ba;
  font-size: 13px;
  font-weight: 700;
  background: #fff;
}
.student-table-row {
  min-height: 92px;
  padding: 0 36px;
  border-top: 1px solid #edf2f7;
}
.student-cell-name {
  font-size: 18px;
  font-weight: 700;
  color: #081a33;
}
.student-cell-phone {
  color: #5b7497;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.student-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(242, 92, 5, 0.35);
  color: var(--primary);
  background: #fffaf5;
  font-size: 13px;
}
.student-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}
.student-icon-btn {
  width: auto;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #e7edf5;
  background: #fff;
  color: #71839f;
  box-shadow: none;
}
.student-icon-btn.delete {
  color: #d14b4b;
}
.student-empty {
  padding: 28px 36px;
  color: #91a0ba;
}
.request-review-board {
  padding: 22px;
  border-radius: 34px;
  background: transparent;
  box-shadow: none;
}
.request-review-card {
  display: grid;
  grid-template-columns: 1.2fr 320px;
  gap: 28px;
  padding: 54px 54px 50px;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(14, 32, 58, 0.08);
  margin-bottom: 22px;
}
.request-review-main {
  min-width: 0;
}
.request-order-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  background: #17233d;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
}
.request-review-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}
.request-review-hero p {
  margin: 0;
  color: #6f829f;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.request-review-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.request-review-class {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff4eb;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
}
.request-review-title h3 {
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
  color: #081a33;
}
.request-review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 40px;
  margin-bottom: 26px;
}
.request-label {
  display: block;
  margin-bottom: 10px;
  color: #c0cad9;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}
.request-value {
  font-size: 20px;
  font-weight: 700;
  color: #304866;
}
.request-value.strong {
  font-size: 26px;
  color: #081a33;
}
.request-value.primary {
  color: var(--primary);
}
.request-address {
  margin-top: 8px;
}
.request-address-box {
  min-height: 84px;
  padding: 22px 24px;
  border: 1px dashed #dde6f1;
  border-radius: 24px;
  background: #fcfdff;
  color: #22385a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}
.request-review-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 28px;
}
.request-copy-btn {
  height: 54px;
  border-radius: 18px;
  background: #fff6ee;
  color: var(--primary);
  border: 1px solid rgba(242, 92, 5, 0.18);
  box-shadow: none;
  font-size: 18px;
  font-weight: 800;
}
.request-delete-btn {
  height: 50px;
  border-radius: 16px;
  background: #fff;
  color: #d14b4b;
  border: 1px solid rgba(209, 75, 75, 0.24);
  box-shadow: none;
  font-size: 16px;
  font-weight: 700;
}
.request-reject-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ef2e2e;
  font-size: 18px;
  font-weight: 800;
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.request-reject-link::before {
  content: "⊗";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #ef2e2e;
  font-size: 18px;
  line-height: 1;
}
.request-approve-btn,
.request-ship-btn {
  height: 68px;
  border-radius: 999px;
  font-size: 28px;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(242, 92, 5, 0.2);
}
.request-status-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
}
.request-status-note.shipped {
  color: #0c7e3c;
}
.request-status-note.rejected {
  color: #be2d2d;
}
.request-track-box {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #f7fafc;
  color: #5c6f8c;
  line-height: 1.7;
}
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(7, 24, 56, 0.42);
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 20;
}
.modal-card {
  width: min(520px, 100%);
  padding: 28px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 26px 60px rgba(10, 30, 60, 0.22);
}
.modal-card h3 {
  margin: 0 0 10px;
  font-size: 28px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}
.modal-actions button {
  width: auto;
  min-width: 140px;
  padding: 0 24px;
}

@media (max-width: 980px) {
  .landing-shell { padding: 20px 14px 40px; }
  .landing-hero { padding: 30px 22px 34px; border-radius: 24px; }
  .landing-hero h1 { font-size: 34px; }
  .landing-hero p { font-size: 15px; }
  .landing-panel { padding: 16px; }
  .login-layout { grid-template-columns: 1fr; }
  .visual-metrics { grid-template-columns: 1fr; }
  .login-card h3 { font-size: 28px; }
  .student-toolbar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .student-header-bar {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
  .student-dashboard-main {
    padding: 18px 14px 24px;
  }
  .student-apply-card {
    padding: 24px 18px 26px;
    border-radius: 28px;
  }
  .student-apply-grid {
    grid-template-columns: 1fr;
  }
  .history-card-main {
    padding: 24px 20px 26px 32px;
  }
  .history-card-head,
  .history-tracking {
    flex-direction: column;
    align-items: flex-start;
  }
  .student-form-grid,
  .student-table-head,
  .student-table-row {
    grid-template-columns: 1fr;
  }
  .student-table-head {
    display: none;
  }
  .student-table-row {
    gap: 10px;
    min-height: auto;
    padding: 22px 20px;
  }
  .student-actions {
    justify-content: flex-start;
  }
  .request-review-card {
    grid-template-columns: 1fr;
    padding: 26px 22px;
  }
  .ship-action-row {
    grid-template-columns: 1fr;
  }
  .request-review-title {
    flex-direction: column;
    align-items: flex-start;
  }
  .request-review-title h3 {
    font-size: 28px;
  }
  .request-review-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .request-approve-btn,
  .request-ship-btn {
    font-size: 20px;
    height: 58px;
  }
  .modal-card {
    padding: 22px 18px;
  }
  .modal-actions {
    flex-direction: column;
  }
}

.compact-shell {
  max-width: 560px;
  padding: 18px 14px 34px;
}

.mobile-panel {
  overflow: hidden;
  padding: 0;
  border-radius: 34px;
  background: #ffffff;
  border: 0;
  box-shadow: 0 24px 54px rgba(13, 31, 56, 0.12);
}

.panel-hero {
  padding: 34px 24px 28px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #f55f04 0%, #f85e03 100%);
}

.panel-hero h1 {
  margin: 10px 0 10px;
  font-size: 28px;
  line-height: 1.18;
}

.panel-hero p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.84);
}

.hero-logo {
  display: block;
  width: min(220px, 56vw);
  max-height: 74px;
  margin: 0 auto 10px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.08));
}

.compact-tabs {
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: #fff;
  border-bottom: 1px solid #edf1f6;
}

.compact-tabs .landing-tab {
  position: relative;
  padding: 18px 10px 16px;
  border-radius: 0;
  background: transparent;
  color: #9aa6b7;
  box-shadow: none;
}

.compact-tabs .landing-tab.active {
  background: transparent;
  color: var(--primary) !important;
  box-shadow: none;
  -webkit-text-fill-color: var(--primary) !important;
}

.compact-tabs .landing-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--primary);
}

.compact-tabs .landing-tab.active:link,
.compact-tabs .landing-tab.active:visited,
.compact-tabs .landing-tab.active:hover,
.compact-tabs .landing-tab.active:focus,
.compact-tabs button.landing-tab.active,
.compact-tabs button.landing-tab.active span {
  color: var(--primary) !important;
  -webkit-text-fill-color: var(--primary) !important;
}

.compact-layout {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0 0 18px;
}

.student-dashboard {
  padding: 0 0 18px;
}

.student-header-bar {
  position: sticky;
  top: 0;
  z-index: 8;
  box-shadow: 0 10px 24px rgba(10, 30, 60, 0.06);
}

.compact-login-card {
  margin: 0;
  padding: 34px 18px 20px;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.compact-login-card h3 {
  margin: 0 0 20px;
  font-size: 15px;
  color: #7e8da4;
}

.compact-login-card .input-wrap,
.compact-login-card .single-input {
  min-height: 60px;
  border-radius: 16px;
  border: 1px solid #eef2f7;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(241, 244, 248, 0.8);
}

.compact-login-card .input-prefix {
  background: transparent;
  color: #f28b4c;
}

.compact-login-card input {
  color: #3a475b;
}

.compact-login-card input::placeholder {
  color: #a5afbf;
  font-weight: 700;
}

.compact-login-card .primary-btn {
  height: 54px;
  margin-top: 12px;
  border-radius: 16px;
  font-size: 16px;
}

.compact-login-card .admin-btn {
  background: linear-gradient(90deg, #18233b 0%, #101a31 100%);
  box-shadow: 0 14px 30px rgba(16, 26, 49, 0.22);
}

@media (max-width: 640px) {
  .compact-shell {
    padding: 10px 10px 22px;
  }

  .mobile-panel {
    border-radius: 28px;
  }

  .panel-hero {
    padding: 28px 18px 24px;
  }

  .panel-hero h1 {
    font-size: 22px;
  }

  .hero-logo {
    width: min(190px, 52vw);
    max-height: 64px;
    margin-bottom: 8px;
  }

  .compact-login-card {
    padding: 26px 16px 16px;
  }
}
