/* CSS for SS+2 High School Ghaghra Notes App (PWA) */
:root {
  --primary: #1e3a8a;       /* School Deep Navy Blue */
  --primary-light: #2563eb;
  --primary-dark: #172554;
  --accent: #f59e0b;        /* Academic Gold */
  --accent-hover: #d97706;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 25px rgba(30, 58, 138, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* App Container */
.app-container {
  max-width: 480px; /* Optimized for Android Mobile View */
  margin: 0 auto;
  width: 100%;
  min-height: 100vh;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 30px rgba(0,0,0,0.06);
  position: relative;
}

/* Offline Notice Bar */
.offline-banner {
  display: none;
  background: #dc2626;
  color: white;
  text-align: center;
  font-size: 0.8rem;
  padding: 6px 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.offline-banner.active {
  display: block;
}

/* Top App Header */
.app-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 18px 16px 14px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-md);
}

.school-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.school-sub {
  font-size: 0.75rem;
  color: #cbd5e1;
  margin-top: 2px;
  font-weight: 500;
}

.school-tagline {
  font-size: 0.68rem;
  background: rgba(245, 158, 11, 0.2);
  color: #fef3c7;
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  margin-top: 4px;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

/* Back Navigation Bar (Page 2) */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.btn-back {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-back:active {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0.96);
}

.page-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

/* Screen Transitions */
.screen {
  display: none;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}
.screen.active {
  display: flex;
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================================================
   PAGE 1: VOCATIONAL FOLDER HEADERS GRID
   =================================================== */
.folder-categories-section {
  margin-bottom: 24px;
}

.folder-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.folder-section-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.folder-section-badge {
  font-size: 0.65rem;
  font-weight: 800;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 3px 8px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

.folder-section-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.4;
}

.folder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 540px) {
  .folder-grid {
    grid-template-columns: 1fr;
  }
}

.folder-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.folder-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(30, 58, 138, 0.12);
  border-color: #93c5fd;
}

.folder-card:active {
  transform: translateY(0);
}

.folder-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.folder-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
  background: #f1f5f9;
}

.folder-badge {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.folder-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.folder-card-fullname {
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.3;
}

.folder-card-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.35;
}

.folder-subfolder-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-color);
}

.folder-sub-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  transition: all 0.15s;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.folder-sub-pill:hover {
  background: var(--primary-light);
  color: #ffffff;
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

.folder-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.folder-open-arrow {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.folder-open-arrow:hover {
  text-decoration: underline;
}

/* ===================================================
   PAGE 1: DIAMOND / KITE 4-QUADRANT SELECTOR
   =================================================== */
.diamond-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0 16px;
}

.selector-instruction {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.diamond-container {
  width: 280px;
  height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG 4-Quadrant Diamond Interactive Graphic */
.diamond-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 12px 20px rgba(30, 58, 138, 0.16));
}

.quadrant-path {
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.quadrant-path:hover,
.quadrant-path:active {
  filter: brightness(1.12);
  transform-origin: center;
}

.quadrant-label {
  font-size: 18px;
  font-weight: 800;
  fill: #ffffff;
  pointer-events: none;
  text-anchor: middle;
  dominant-baseline: central;
}

.quadrant-sublabel {
  font-size: 9px;
  font-weight: 600;
  fill: rgba(255, 255, 255, 0.85);
  pointer-events: none;
  text-anchor: middle;
}

/* Quick Class Selection Buttons (Touch-friendly alternative) */
.class-pill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
  margin-top: 14px;
}

.class-pill-btn {
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  color: var(--primary);
  padding: 8px 4px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}

.class-pill-btn:active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(1px);
}

/* ===================================================
   PAGE 1: POSTER / NOTICE BOARD SECTION
   =================================================== */
.poster-section {
  margin-top: 18px;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1.5px solid #e2e8f0;
  padding: 14px;
}

.poster-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1.5px dashed #cbd5e1;
}

.poster-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.4px;
}

.poster-badge {
  background: var(--accent);
  color: #78350f;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

.poster-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.poster-card {
  background: white;
  border-radius: var(--radius-sm);
  padding: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.poster-icon {
  font-size: 1.4rem;
  background: #eff6ff;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.poster-content {
  flex: 1;
}

.poster-item-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
}

.poster-item-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.35;
}

.poster-item-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.poster-item-tag {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--primary);
  background: #e0e7ff;
  padding: 1px 6px;
  border-radius: 4px;
}

.poster-item-date {
  font-size: 0.65rem;
  color: #94a3b8;
}

/* ===================================================
   PAGE 2: CLASS NOTES SCREEN
   =================================================== */
.notes-header-card {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 14px;
}

.notes-class-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

.notes-class-subheading {
  font-size: 0.78rem;
  color: #475569;
  margin-top: 2px;
}

/* Search Bar */
.search-wrapper {
  margin-bottom: 12px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #cbd5e1;
  font-size: 0.85rem;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: #94a3b8;
}

/* Subject Filter Pills (Horizontally Scrollable) */
.subject-filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 12px;
  scrollbar-width: none;
}
.subject-filter-bar::-webkit-scrollbar {
  display: none;
}

.subject-pill {
  white-space: nowrap;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}

.subject-pill.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 2px 6px rgba(30, 58, 138, 0.25);
}

/* Notes List */
.notes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.note-card {
  background: white;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, border-color 0.15s;
}

.note-card:active {
  border-color: var(--primary-light);
}

.note-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.note-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

.note-hindi-title {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 2px;
}

.note-badge {
  background: #fef3c7;
  color: #b45309;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.note-card.syllabus-card {
  border: 2px solid #0284c7;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  position: relative;
}

.note-badge-syllabus {
  background: #0284c7;
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  box-shadow: 0 1px 3px rgba(2, 132, 199, 0.3);
}

.note-badge-gdrive {
  background: #f0fdf4;
  color: #15803d;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #bbf7d0;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.note-card.gdrive-card {
  border-color: #cbd5e1;
}

.badge-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.note-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 8px;
}

.note-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.note-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.btn-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}

.btn-view {
  background: #eff6ff;
  color: var(--primary);
  border: 1px solid #bfdbfe;
}

.btn-view:active {
  background: #dbeafe;
}

.btn-download {
  background: var(--primary);
  color: white;
  border: 1px solid var(--primary);
}

.btn-download:active {
  background: var(--primary-dark);
}

.btn-drive {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.btn-drive:active {
  background: #dcfce7;
}

.empty-state {
  text-align: center;
  padding: 30px 16px;
  color: var(--text-muted);
}
.empty-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

/* ===================================================
   INSTALL APP PROMPT (PWA FOR ANDROID)
   =================================================== */
.pwa-install-prompt {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  color: white;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  position: relative;
  overflow: hidden;
}

.pwa-install-prompt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
}

.pwa-prompt-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pwa-prompt-icon {
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.12);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pwa-prompt-title {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #ffffff;
}

.pwa-prompt-desc {
  font-size: 0.72rem;
  color: #cbd5e1;
  margin-top: 2px;
}

.btn-pwa-prompt {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a;
  border: none;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
  transition: all 0.2s;
  flex-shrink: 0;
}

.btn-pwa-prompt:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.45);
}

.btn-pwa-prompt:active {
  transform: scale(0.96);
}

.selector-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 14px;
}

.selector-header-row .selector-instruction {
  margin-bottom: 0;
}

.install-pill-btn {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s;
}

.install-pill-btn:active {
  background: #fde68a;
}

/* Install Guide Modal */
.pwa-guide-modal {
  max-width: 420px;
  height: auto !important;
  max-height: 85vh;
}

.pwa-guide-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #ffffff;
}

.guide-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.step-num {
  background: var(--primary);
  color: white;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.step-text {
  font-size: 0.85rem;
  color: #1e293b;
  line-height: 1.4;
}

/* ===================================================
   PDF VIEWER MODAL
   =================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  background: white;
  width: 100%;
  max-width: 460px;
  height: 90vh;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.modal-header {
  background: var(--primary);
  color: white;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  flex: 1;
  background: #334155;
  display: flex;
  flex-direction: column;
  position: relative;
}

.modal-drive-helper {
  background: #eff6ff;
  border-bottom: 1.5px solid #bfdbfe;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.74rem;
  color: #1e3a8a;
  flex-shrink: 0;
}

.helper-info {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
}

.btn-helper-open {
  background: #2563eb;
  color: #ffffff !important;
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.72rem;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s;
  flex-shrink: 0;
}

.btn-helper-open:hover {
  background: #1d4ed8;
}

.btn-modal-external {
  font-size: 0.72rem;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: all 0.15s;
  white-space: nowrap;
}

.btn-modal-external:hover {
  background: rgba(255, 255, 255, 0.35);
}

.pdf-frame {
  width: 100%;
  height: 100%;
  flex: 1;
  border: none;
}

.modal-footer {
  padding: 10px 14px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  color: white;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* App Footer with Admin Link */
.app-footer {
  text-align: center;
  padding: 24px 16px 36px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: auto;
}

.admin-portal-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.76rem;
  padding: 5px 14px;
  border-radius: 20px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  transition: all 0.2s;
}

.admin-portal-link:hover {
  background: #dbeafe;
  color: var(--primary-dark);
}

