/* ==========================================================================
   APP STYLES - DJALALS NÄHRSTOFFE (2026 MOBILE WEB APP)
   Mobile-First Layout, Collapsible Header, Bottom Nav, Steppers & Sheets
   ========================================================================== */

/* Page Container */
.app-container {
  width: 100%;
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
}

/* ==========================================================================
   COLLAPSIBLE HEADER (2026 Mobile Standard)
   ========================================================================== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

[data-theme="dark"] .app-header {
  background-color: rgba(9, 13, 22, 0.94);
}

.header-inner {
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Top Mini Bar (Always visible) */
.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
}

.brand-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius-md);
  background: linear-gradient(135deg, #10b981, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 19px;
  box-shadow: 0 3px 8px var(--primary-glow);
  flex-shrink: 0;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: var(--border-radius-pill);
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

.brand-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--border-radius-pill);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.icon-btn:hover {
  background-color: var(--bg-surface-subtle);
  color: var(--text-main);
  border-color: var(--primary-border);
}

.icon-btn:active {
  transform: scale(0.94);
}

/* Collapsible Section */
.header-expandable {
  max-height: 200px;
  opacity: 1;
  overflow: hidden;
  transition: max-height var(--transition-normal), opacity var(--transition-normal), margin var(--transition-normal);
}

.app-header.is-collapsed .header-expandable {
  max-height: 0;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

/* Quick Summary Hero Card inside Header */
.header-hero-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.hero-stat-box {
  background-color: var(--bg-surface-subtle);
  border-radius: var(--border-radius-md);
  padding: 8px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-stat-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.hero-stat-lbl {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-progress-bar-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hero-progress-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-progress-track {
  width: 100%;
  height: 7px;
  border-radius: var(--border-radius-pill);
  background-color: var(--border-color);
  overflow: hidden;
}

.hero-progress-fill {
  height: 100%;
  border-radius: var(--border-radius-pill);
  background: linear-gradient(90deg, #10b981, #059669);
  transition: width 0.4s ease-out;
}

/* Compact status pill when header is collapsed */
.header-compact-badge {
  display: none;
  align-items: center;
  gap: 6px;
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  padding: 4px 10px;
  border-radius: var(--border-radius-pill);
  font-size: 12px;
  font-weight: 700;
}

.app-header.is-collapsed .header-compact-badge {
  display: flex;
}

/* ==========================================================================
   VIEW CONTAINER & ROUTING
   ========================================================================== */
.view-content {
  display: none;
  padding: 16px 0 32px 0;
  animation: fadeIn var(--transition-fast) ease-out;
}

.view-content.active {
  display: block;
}

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

/* Section Titles */
.section-header {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   ROUTINE VIEW (Tagesablauf & Checkliste)
   ========================================================================== */
.routine-timing-group {
  margin-bottom: 24px;
}

.timing-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 4px;
}

.timing-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--border-radius-pill);
  font-size: 12px;
  font-weight: 700;
}

.timing-badge-morning {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.timing-badge-shake {
  background-color: #e0e7ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
}

.timing-badge-evening {
  background-color: #f3e8ff;
  color: #6b21a8;
  border: 1px solid #e9d5ff;
}

.timing-group-hint {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Supplement Cards */
.supp-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.supp-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--transition-fast);
  position: relative;
}

.supp-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.supp-card.is-taken {
  border-color: var(--primary-border);
  background-color: rgba(236, 253, 245, 0.4);
}

[data-theme="dark"] .supp-card.is-taken {
  background-color: rgba(16, 185, 129, 0.08);
}

.supp-card.is-paused {
  opacity: 0.6;
  background-color: var(--bg-surface-subtle);
}

.supp-card-main-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Checkbox Button */
.supp-check-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--border-radius-pill);
  border: 2px solid var(--border-color);
  background-color: var(--bg-surface);
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.supp-card.is-taken .supp-check-btn {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 6px var(--primary-glow);
}

/* Supplement Image */
.supp-thumb-box {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-md);
  background-color: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.supp-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

/* Supplement Text Info */
.supp-details {
  flex: 1;
  min-width: 0;
}

.supp-brand-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.supp-title-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.supp-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  flex-wrap: wrap;
}

.badge-micro {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: var(--border-radius-pill);
  background-color: var(--bg-surface-subtle);
  color: var(--text-secondary);
}

/* Stepper Bottom Row */
.supp-card-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 8px;
  gap: 8px;
}

.dose-stepper-wrap {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-pill);
  padding: 2px;
}

.stepper-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--border-radius-pill);
  background-color: var(--bg-surface);
  color: var(--text-main);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.stepper-btn:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.stepper-btn:active {
  transform: scale(0.9);
}

.stepper-value {
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  min-width: 65px;
  text-align: center;
}

.supp-status-btn {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  padding: 4px 8px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  gap: 4px;
}

.supp-status-btn:hover {
  color: var(--text-main);
  background-color: var(--bg-surface-subtle);
}

/* ==========================================================================
   BILANZ VIEW (46 Nährstoffe Dashboard)
   ========================================================================== */
.nutrients-controls {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Search Input */
.search-wrapper {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dimmed);
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 44px;
  border-radius: var(--border-radius-pill);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 0 40px 0 40px;
  font-size: 14px;
  color: var(--text-main);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dimmed);
  background: none;
  width: 24px;
  height: 24px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-pill);
}

.search-clear-btn.is-active {
  display: flex;
}

/* Filter Pills Horizontal Scroll */
.filter-pills-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 6px 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.filter-pills-scroll::-webkit-scrollbar {
  display: none;
}

.category-pill {
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: var(--border-radius-pill);
  font-size: 12px;
  font-weight: 700;
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.category-pill:hover {
  background-color: var(--bg-surface-subtle);
  color: var(--text-main);
}

.category-pill.active {
  background-color: var(--text-main);
  color: var(--bg-surface);
  border-color: var(--text-main);
}

[data-theme="dark"] .category-pill.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Nutrient Cards Grid */
.nutrients-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .nutrients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.nutrient-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nutrient-card:hover {
  border-color: #94a3b8;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.nutrient-card:active {
  transform: scale(0.99);
}

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

.nut-name-box {
  display: flex;
  flex-direction: column;
}

.nut-cat-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.04em;
}

.nut-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.nut-extra-info {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}

.nut-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--border-radius-pill);
  flex-shrink: 0;
}

.nut-badge-optimal {
  background-color: var(--status-optimal-bg);
  color: var(--status-optimal);
}

.nut-badge-moderate {
  background-color: var(--status-moderate-bg);
  color: var(--status-moderate);
}

.nut-badge-warning {
  background-color: var(--status-warning-bg);
  color: var(--status-warning);
}

.nut-badge-inactive {
  background-color: var(--bg-surface-subtle);
  color: var(--text-dimmed);
}

/* Nutrient Doses & Progress */
.nut-dose-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 12px;
}

.nut-val-current {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
}

.nut-val-ref {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.nut-progress-track {
  width: 100%;
  height: 6px;
  border-radius: var(--border-radius-pill);
  background-color: var(--bg-surface-subtle);
  overflow: hidden;
}

.nut-progress-fill {
  height: 100%;
  border-radius: var(--border-radius-pill);
  transition: width 0.3s ease-out;
}

.nut-progress-optimal {
  background: linear-gradient(90deg, #10b981, #059669);
}

.nut-progress-moderate {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.nut-progress-warning {
  background: linear-gradient(90deg, #ef4444, #dc2626);
}

/* Sources Pill Tag List */
.nut-sources-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.nut-source-chip {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--border-radius-pill);
  background-color: var(--bg-surface-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   ORGANIZER VIEW (Wochen-Pillenbox / Befüllhilfe)
   ========================================================================== */
.organizer-summary-banner {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.org-compartment-section {
  margin-bottom: 24px;
}

.org-table-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.org-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-fast);
}

.org-row:last-child {
  border-bottom: none;
}

.org-row:hover {
  background-color: var(--bg-surface-subtle);
}

.org-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.org-row-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-surface-subtle);
  padding: 2px;
}

.org-row-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
}

.org-row-desc {
  font-size: 11.5px;
  color: var(--text-muted);
}

.org-row-count-badge {
  padding: 4px 10px;
  border-radius: var(--border-radius-pill);
  font-size: 12px;
  font-weight: 800;
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

/* ==========================================================================
   STACK & DOSIERUNGS-MANAGER VIEW
   ========================================================================== */
.stack-actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--border-radius-pill);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-subtle);
  border-color: #cbd5e1;
}

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

.btn-danger {
  color: #dc2626;
  border-color: #fecaca;
}

.btn-danger:hover {
  background-color: #fef2f2;
}

.stack-manager-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stack-manager-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stack-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stack-item-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border-color);
  transition: .2s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .2s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR
   ========================================================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  box-shadow: var(--shadow-bottom-nav);
  padding-bottom: var(--safe-bottom);
}

[data-theme="dark"] .bottom-nav {
  background-color: rgba(17, 24, 39, 0.96);
}

.bottom-nav-inner {
  max-width: var(--max-content-width);
  margin: 0 auto;
  height: var(--bottom-nav-height);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 0 8px;
}

.nav-tab-btn {
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 100%;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-tab-btn svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.2px;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.nav-tab-label {
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.nav-tab-btn.active {
  color: var(--primary);
}

.nav-tab-btn.active svg {
  transform: scale(1.12);
  stroke-width: 2.5px;
}

.nav-tab-btn.active .nav-tab-label {
  font-weight: 800;
}

/* ==========================================================================
   BOTTOM SHEET / MODAL DRAWER
   ========================================================================== */
.sheet-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.sheet-backdrop.is-open {
  display: block;
  opacity: 1;
}

.bottom-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 90vh;
  max-height: 90dvh;
  background-color: var(--bg-surface);
  border-top-left-radius: var(--border-radius-xl);
  border-top-right-radius: var(--border-radius-xl);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
  z-index: 210;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform var(--transition-spring);
  padding-bottom: calc(var(--safe-bottom) + 12px);
}

@media (min-width: 768px) {
  .bottom-sheet {
    left: 50%;
    transform: translate(-50%, 100%);
    width: 680px;
    border-radius: var(--border-radius-xl);
    bottom: 30px;
    border: 1px solid var(--border-color);
  }
}

.bottom-sheet.is-open {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .bottom-sheet.is-open {
    transform: translate(-50%, 0);
  }
}

.sheet-grab-bar {
  width: 36px;
  height: 4px;
  border-radius: 4px;
  background-color: var(--border-color);
  margin: 10px auto 4px auto;
  flex-shrink: 0;
}

.sheet-header {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sheet-header-title {
  font-size: 17px;
  font-weight: 800;
}

.sheet-body {
  padding: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sheet-section-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 6px;
}

.sheet-text-card {
  background-color: var(--bg-surface-subtle);
  border-radius: var(--border-radius-md);
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.sheet-claims-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sheet-claims-list li {
  font-size: 12.5px;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.sheet-claims-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}

/* Toast Notifications */
.toast-notification {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: #0f172a;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--border-radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

[data-theme="dark"] .toast-notification {
  background-color: #1e293b;
  border: 1px solid #334155;
}

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