:root {
  --teal-primary: #14868c;
  --teal-dark: #0e6a6f;
  --teal-light: #f0fafb;
  --surface-primary: #ffffff;
  --surface-bg: #f8fafc;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --border-color: #e2e8f0;
  --shadow-premium: 0 10px 40px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #eaf9f6;
  color: var(--text-primary);
  font-family: Poppins, "Segoe UI", sans-serif;
}

.navbar-container {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e2eef0;
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(10px);
}

.navbar-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.logo-img {
  width: auto;
  height: 40px;
  object-fit: contain;
}

.iisc-logo {
  mix-blend-mode: multiply;
}

.navbar-tabs {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-link {
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #1f2937;
  font: inherit;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.nav-link:hover {
  color: var(--teal-primary);
  background: rgba(20, 134, 140, 0.1);
}

.nav-link.active {
  color: #fff;
  background: #0f9a87;
  box-shadow: 0 8px 16px rgba(15, 154, 135, 0.2);
}

.settings-trigger {
  border: 1.5px solid var(--teal-primary);
  color: var(--teal-dark);
  background: var(--teal-light);
}

.settings-trigger:hover {
  background: #d8f1f3;
}

.app-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.2rem 1rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.page-hero {
  padding: 0.5rem 0 1.4rem;
}

.page-hero h1 {
  margin: 0;
  color: #0b8c7a;
  font-size: 2.2rem;
  font-weight: 700;
}

.page-hero p {
  margin: 0.4rem 0 0.6rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

.hero-meta,
.hero-update {
  color: #0f9a87;
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-divider {
  height: 1px;
  background: #d9eceb;
  margin-top: 1rem;
}

.form-hero {
  text-align: center;
}

.dashboard-hero {
  text-align: left;
}

.panel-card {
  background: var(--surface-primary);
  border: 1px solid #e5eef0;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.form-card,
.dashboard-card {
  padding: 1.8rem 2rem 2.2rem;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border-color);
}

.panel-header h2 {
  margin: 0;
  color: var(--teal-primary);
  font-size: 1.2rem;
}

.chip {
  background: var(--teal-light);
  color: var(--teal-dark);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 1rem 1.2rem;
}

.mode-option {
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 0.9rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mode-option.selected {
  border-color: var(--teal-primary);
  background: var(--teal-light);
}

.mode-option input {
  accent-color: var(--teal-primary);
  margin-bottom: 0.45rem;
}

.mode-option span {
  font-weight: 700;
}

.mode-option small {
  color: var(--text-secondary);
}

.mode-details {
  padding: 0 1.2rem 1.2rem;
}

.mode-panel {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mode-panel.hidden {
  display: none;
}

.mode-panel input {
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem;
  font: inherit;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  z-index: 1200;
}

.backend-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(460px, 92vw);
  height: 100vh;
  z-index: 1300;
  background: #fff;
  border-left: 3px solid var(--teal-primary);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
  overflow-y: auto;
}

.drawer-header {
  position: sticky;
  top: 0;
  background: #fff;
}

.btn-ghost {
  border: 2px solid var(--teal-primary);
  border-radius: 8px;
  background: transparent;
  color: var(--teal-primary);
  font: inherit;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.btn-secondary {
  border: 0;
  border-radius: 8px;
  padding: 0.85rem 1.2rem;
  background: var(--border-color);
  color: var(--text-primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #cbd5e1;
}

.dashboard-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1.2rem 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1rem;
}

.dashboard-tab {
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--text-secondary);
  font: inherit;
  font-weight: 600;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dashboard-tab:hover {
  color: var(--teal-primary);
}

.dashboard-tab.active {
  border-bottom-color: var(--teal-primary);
  color: var(--teal-primary);
}

.dashboard-view {
  display: none;
  padding: 0 1.2rem 1.3rem;
}

.dashboard-view.visible {
  display: block;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.viz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  margin-bottom: 2.2rem;
}

.viz-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.4rem 1.4rem 1.6rem;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.viz-card.wide {
  margin-bottom: 1.6rem;
}

.viz-card.compact {
  padding-bottom: 1.2rem;
}

.viz-card.compact .stacked-bar {
  margin-bottom: 0.45rem;
}

.viz-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #e3ecef;
}

.viz-header h3 {
  margin: 0;
  color: var(--teal-dark);
  font-size: 1rem;
}

.viz-note {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.stacked-bar {
  display: flex;
  height: 18px;
  border-radius: 999px;
  overflow: hidden;
  background: #e2e8f0;
  margin-bottom: 0.8rem;
}

.stacked-segment {
  height: 100%;
}

.viz-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #94a3b8;
}

.donut-wrap {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 0 auto 0.8rem;
}

.donut {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(#14868c 0deg, #e2e8f0 0deg);
  position: relative;
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.12);
}

.donut::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 60%);
}

.donut::after {
  content: "";
  position: absolute;
  inset: 26%;
  background: #fff;
  border-radius: 50%;
}

.donut-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--teal-dark);
}

.bar-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bar-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.bar-track {
  height: 10px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: #14868c;
  border-radius: 999px;
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.upload-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.upload-mode-card {
  border: 1.5px solid #d6e7e7;
  border-radius: 14px;
  background: #f8fbfb;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.upload-mode-card input {
  accent-color: var(--teal-primary);
  align-self: flex-start;
}

.upload-mode-card span {
  color: var(--teal-dark);
  font-weight: 700;
}

.upload-mode-card small {
  color: var(--text-secondary);
  line-height: 1.5;
}

.upload-mode-card.selected {
  border-color: #0f9a87;
  background: #eef9f7;
  box-shadow: 0 10px 20px rgba(15, 154, 135, 0.12);
}

.upload-tile {
  border: 2px dashed #9fd5cc;
  border-radius: 16px;
  background: #f6fbfb;
  padding: 1.6rem 1.4rem;
  text-align: center;
  font-weight: 600;
  color: #0b8c7a;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.upload-tile:hover {
  border-color: #0f9a87;
  background: #eef9f7;
}

.upload-tile input {
  display: none;
}

.upload-title {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.upload-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.upload-tile.wide {
  grid-column: 1 / -1;
}

.file-preview {
  min-height: 34px;
  border: 1px solid #dbe9ea;
  border-radius: 12px;
  background: #fff;
  color: var(--text-secondary);
  padding: 0.65rem;
  font-size: 0.82rem;
  display: grid;
  gap: 0.6rem;
}

.file-preview.has-file {
  color: var(--text-primary);
  text-align: left;
}

.file-preview img,
.file-preview video {
  width: min(220px, 100%);
  max-height: 150px;
  border-radius: 10px;
  object-fit: cover;
  justify-self: center;
  background: #e2e8f0;
}

.file-preview-details {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.file-preview-details strong {
  color: var(--teal-dark);
}

.file-preview-details span,
.file-preview-details small {
  overflow-wrap: anywhere;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.summary-card {
  background: #ffffff;
  border: 1px solid #e3ecef;
  border-radius: 18px;
  padding: 1.4rem 1.2rem;
  text-align: center;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.summary-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
}

.summary-value {
  font-size: 2.2rem;
  color: #0b8c7a;
  font-weight: 700;
  display: block;
}

.summary-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: #6b7280;
  text-transform: uppercase;
}

.histogram {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(42px, 1fr));
  align-items: end;
  gap: 0.75rem;
  height: 220px;
  padding: 0.6rem 0.4rem 0;
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.06), rgba(15, 118, 110, 0));
  border-radius: 14px;
}

.histogram-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.histogram-bar {
  width: 100%;
  border-radius: 12px 12px 6px 6px;
  background: #0f9a87;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
  position: relative;
}

.histogram-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
}

.histogram-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.histogram-value {
  font-size: 0.75rem;
  font-weight: 600;
  color: #0f172a;
}

.hospital-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.hospital-item {
  border: 1px solid #e3ecef;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: #f7fbfb;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hospital-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: #0b8c7a;
}

.hospital-count {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hospital-track {
  height: 10px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.hospital-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f9a87, #3fd0b6);
}

.stage-panel {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: #fff;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
}

.stage-panel h3 {
  margin: 0 0 0.75rem;
  color: var(--teal-dark);
  font-size: 1rem;
}

.stage-note {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.stage-pill {
  border: 1px solid rgba(20, 134, 140, 0.2);
  border-radius: 10px;
  background: var(--teal-light);
  padding: 0.75rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--teal-dark);
}

.stage-pill strong {
  font-size: 1.1rem;
}

.stat-card {
  background: var(--teal-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.stat-value {
  color: var(--teal-primary);
  font-size: 2rem;
  font-weight: 700;
}

.chart-container {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem;
  max-width: 500px;
  position: relative;
}

.chart-container canvas {
  max-width: 100%;
  height: auto;
}

.tab-panel {
  display: none;
}

.tab-panel.visible {
  display: block;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.form-section {
  padding-top: 1.2rem;
  border-top: 1px solid #e2e8f0;
}

.form-section:first-child {
  border-top: none;
  padding-top: 0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  color: #0b8c7a;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 0.9rem;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 4px;
  border-radius: 4px;
  background: #0b8c7a;
}

.section-index {
  font-weight: 700;
}

.section-note {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1.4rem;
}

.full-span {
  grid-column: 1 / -1;
}

.field-block {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.field-block > label {
  font-weight: 600;
}

.field-help {
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.5;
}

.field-block input[type="text"],
.field-block input[type="url"],
.field-block input[type="file"],
.field-block input[type="number"],
.field-block select {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font: inherit;
  background: #f3f5f7;
}

.field-block input[readonly] {
  color: #475569;
  background: #e8eef2;
  cursor: not-allowed;
}

.choice-row {
  display: flex;
  gap: 1rem;
}

.choice-tile {
  flex: 1;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  padding: 0.85rem;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  cursor: pointer;
}

.choice-tile:has(input:checked) {
  border-color: var(--teal-primary);
  background: var(--teal-light);
}

.choice-tile input {
  accent-color: var(--teal-primary);
}

.hint-box {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--surface-bg);
  padding: 0.8rem;
}

.hint-box h3 {
  margin: 0 0 0.4rem;
  color: var(--teal-primary);
  font-size: 1rem;
}

.hint-box p {
  margin: 0.25rem 0;
  color: var(--text-secondary);
}

.pk-status {
  font-weight: 700;
}

.pk-status.match {
  color: #0f766e;
}

.pk-status.mismatch {
  color: #b91c1c;
}

.pk-status.neutral {
  color: #334155;
}

.actions {
  display: flex;
  justify-content: flex-end;
}

.btn-premium {
  border: 0;
  border-radius: 12px;
  padding: 0.9rem 1.6rem;
  background: #0f9a87;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn-premium:hover {
  background: var(--teal-dark);
}

.table-wrap {
  padding: 1rem 0 0;
  overflow-x: auto;
}

.table-section {
  margin-top: 1.4rem;
}

.upload-progress-panel {
  margin-top: 1.3rem;
  border: 1px solid #cfe5e1;
  border-radius: 12px;
  background: #f6fbfb;
  padding: 1rem;
}

.upload-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
  color: var(--teal-dark);
  font-size: 0.9rem;
}

.upload-progress-track {
  width: 100%;
  overflow: hidden;
  border-radius: 999px;
  background: #dbe7eb;
}

.upload-progress-track {
  height: 12px;
}

.upload-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f9a87, #45d3bd);
  transition: width 0.18s ease;
}

.review-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(6px);
}

.review-dialog {
  width: min(920px, 100%);
  max-height: min(88vh, 860px);
  overflow-y: auto;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.32);
}

.review-header,
.review-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
}

.review-header {
  border-bottom: 1px solid var(--border-color);
}

.review-header h2 {
  margin: 0.15rem 0 0;
  color: var(--text-primary);
}

.review-kicker {
  color: var(--teal-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #edf2f7;
  color: #334155;
  font-size: 1.4rem;
  cursor: pointer;
}

.review-content {
  display: grid;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
}

.review-alert {
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  background: #eff6ff;
  color: #1e3a8a;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.8rem;
}

.review-item,
.review-file {
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: #f8fafc;
  padding: 0.8rem;
}

.review-item span,
.review-file span,
.review-file small {
  display: block;
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.review-item strong,
.review-file strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-primary);
  overflow-wrap: anywhere;
}

.review-files {
  display: grid;
  gap: 0.75rem;
}

.review-files h3 {
  margin: 0.25rem 0 0;
  color: var(--text-primary);
}

.review-total {
  justify-self: start;
  border-radius: 999px;
  background: #e6f7f4;
  color: var(--teal-dark);
  padding: 0.55rem 0.8rem;
  font-weight: 700;
}

.review-actions {
  border-top: 1px solid var(--border-color);
  background: #f8fafc;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
}

th,
td {
  border: 1px solid var(--border-color);
  text-align: left;
  padding: 0.7rem;
  font-size: 0.88rem;
}

th {
  background: #f8fafc;
  color: #334155;
}

.empty {
  text-align: center;
  color: var(--text-secondary);
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  max-width: 320px;
  background: #0f172a;
  color: #fff;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .navbar-content {
    flex-direction: column;
  }

  .mode-grid,
  .upload-mode-grid,
  .summary-grid,
  .section-grid,
  .upload-grid {
    grid-template-columns: 1fr;
  }
}
