/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --success: #16a34a;
  --warning: #ca8a04;
  --danger: #dc2626;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --radius: 12px;
  --radius-lg: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
  min-height: 100vh;
  color: var(--gray-800);
  line-height: 1.5;
}

/* ===== UTILITIES ===== */
.hidden { display: none !important; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.text-center { text-align: center; }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.font-bold { font-bold: 700; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.w-full { width: 100%; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-primary:disabled { background: var(--gray-400); cursor: not-allowed; }

.btn-secondary {
  background: var(--gray-100);
  color: var(--gray-700);
  border: 2px solid var(--gray-200);
}
.btn-secondary:hover { background: var(--gray-200); }

.btn-success { background: var(--success); color: white; }
.btn-success:hover { background: #15803d; }

.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #b91c1c; }

.btn-warning { background: var(--warning); color: white; }
.btn-warning:hover { background: #a16207; }

.btn-block { width: 100%; }

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-icon {
  padding: 12px;
  border-radius: 50%;
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--gray-700);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 16px;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* ===== CARDS ===== */
.card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
}

.card-header {
  background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
  color: white;
  padding: 24px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin: -24px -24px 24px -24px;
}

.card-header h1 {
  font-size: 24px;
  margin-bottom: 4px;
}

.card-header p {
  opacity: 0.9;
  font-size: 14px;
}

/* ===== PAGE CONTAINER ===== */
.page {
  min-height: 100vh;
  padding: 16px;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 16px 0;
}

.page-header .logo {
  height: 40px;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.back-btn:hover {
  background: var(--gray-100);
}

/* ===== ALERT ===== */
.alert {
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-error {
  background: #fef2f2;
  border: 2px solid #fecaca;
  color: #991b1b;
}

.alert-success {
  background: #f0fdf4;
  border: 2px solid #bbf7d0;
  color: #166534;
}

.alert-info {
  background: #eff6ff;
  border: 2px solid #bfdbfe;
  color: #1e40af;
}

/* ===== LOADING ===== */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px;
  color: var(--gray-500);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== BADGE ===== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
}

.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-green { background: #dcfce7; color: #166534; }
.badge-yellow { background: #fef9c3; color: #854d0e; }
.badge-orange { background: #ffedd5; color: #9a3412; }
.badge-purple { background: #f3e8ff; color: #7c3aed; }
.badge-gray { background: var(--gray-100); color: var(--gray-600); }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}

.modal {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray-400);
}

.modal-close:hover { color: var(--gray-600); }

/* ===== GRID ===== */
.grid {
  display: grid;
  gap: 16px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ===== STATS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.stat-icon.blue { background: #dbeafe; }
.stat-icon.green { background: #dcfce7; }
.stat-icon.orange { background: #ffedd5; }
.stat-icon.purple { background: #f3e8ff; }

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-900);
}

.stat-label {
  font-size: 14px;
  color: var(--gray-500);
}

/* ===== NAV CARDS ===== */
.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.nav-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
  text-align: left;
  width: 100%;
}

.nav-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-200);
}

.nav-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 16px;
}

.nav-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.nav-card p {
  color: var(--gray-500);
  font-size: 14px;
  margin-bottom: 16px;
}

.nav-card-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

/* ===== CHECKLIST LIST ===== */
.checklist-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist-item {
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.checklist-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.checklist-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.checklist-item-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.checklist-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-500);
}

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

/* ===== FORM WIZARD ===== */
.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px solid var(--gray-100);
}

/* ===== RADIO CARDS ===== */
.radio-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.radio-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.radio-card:hover {
  border-color: var(--gray-300);
}

.radio-card.selected {
  border-color: var(--primary);
  background: #eff6ff;
}

.radio-card input {
  display: none;
}

.radio-card-icon {
  font-size: 40px;
  margin-bottom: 8px;
}

.radio-card-title {
  font-weight: 600;
  color: var(--gray-800);
}

.radio-card-desc {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ===== CAMERA ===== */
.camera-container {
  position: fixed;
  inset: 0;
  background: black;
  z-index: 2000;
  display: flex;
  flex-direction: column;
}

.camera-video {
  flex: 1;
  object-fit: cover;
}

.camera-canvas {
  display: none;
}

.camera-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  display: flex;
  justify-content: center;
  gap: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.camera-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 4px solid white;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.camera-btn-capture {
  background: white;
}

.camera-btn-cancel {
  color: white;
  font-size: 24px;
}

.camera-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(rgba(0,0,0,0.5), transparent);
  color: white;
}

.camera-header h3 {
  font-size: 18px;
}

/* ===== SIGNATURE PAD ===== */
.signature-container {
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.signature-canvas {
  width: 100%;
  height: 300px;
  cursor: crosshair;
  touch-action: none;
}

.signature-actions {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--gray-50);
  border-top: 2px solid var(--gray-200);
}

/* ===== PHOTO GRID ===== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.photo-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--gray-200);
  position: relative;
  cursor: pointer;
  transition: all 0.2s;
}

.photo-item:hover {
  border-color: var(--primary);
  transform: scale(1.02);
}

.photo-item.captured {
  border-color: var(--success);
}

.photo-item.missing {
  border-color: var(--danger);
  border-style: dashed;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 48px;
}

.photo-item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}

.photo-item-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}

/* ===== VIDEO PREVIEW ===== */
.video-preview {
  width: 100%;
  max-height: 400px;
  border-radius: var(--radius);
  background: black;
}

/* ===== CHECKLIST DETAIL ===== */
.detail-section {
  margin-bottom: 24px;
}

.detail-section-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--gray-800);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.detail-item {
  background: var(--gray-50);
  padding: 12px 16px;
  border-radius: var(--radius);
}

.detail-item-label {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.detail-item-value {
  font-weight: 600;
  color: var(--gray-800);
}

/* ===== GALLERY ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* ===== USER TABLE ===== */
.user-table {
  width: 100%;
  border-collapse: collapse;
}

.user-table th,
.user-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
}

.user-table th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--gray-600);
  font-size: 12px;
  text-transform: uppercase;
}

.user-table tr:hover {
  background: var(--gray-50);
}

/* ===== SETTINGS ===== */
.settings-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.setting-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: white;
  border-radius: var(--radius);
  border: 2px solid var(--gray-200);
}

.setting-info h4 {
  font-weight: 600;
  margin-bottom: 4px;
}

.setting-info p {
  font-size: 14px;
  color: var(--gray-500);
}

/* ===== TOGGLE SWITCH ===== */
.toggle {
  position: relative;
  width: 52px;
  height: 28px;
}

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

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--gray-300);
  border-radius: 28px;
  transition: 0.3s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}

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

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

/* ===== RECEPTION DASHBOARD ===== */
.reception-section {
  margin-bottom: 32px;
}

.reception-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.reception-section-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.reception-section-title {
  font-size: 20px;
  font-weight: 700;
}

.reception-count {
  background: var(--gray-100);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
}

/* ===== RECEPTION CARD ===== */
.reception-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
  border: 2px solid;
}

.reception-card.pending {
  border-color: #fcd34d;
  background: #fefce8;
}

.reception-card.processed {
  border-color: #86efac;
  background: #f0fdf4;
}

.reception-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.reception-card-title {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reception-card-status {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.reception-card-status.pending {
  background: #fef08a;
  color: #a16207;
}

.reception-card-status.processed {
  background: #86efac;
  color: #166534;
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--gray-500);
}

.empty-state-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--gray-600);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
}

/* ===== RECORDING ===== */
.recording-indicator {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--danger);
  color: white;
  padding: 8px 20px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  z-index: 2001;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.recording-dot {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.recording-timer {
  font-family: monospace;
  font-size: 20px;
}

/* ===== CONFIRM DIALOG ===== */
.confirm-dialog {
  text-align: center;
}

.confirm-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.confirm-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.confirm-message {
  color: var(--gray-500);
  margin-bottom: 24px;
}

.confirm-actions {
  display: flex;
  gap: 12px;
}

/* ===== TOAST ===== */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--gray-800);
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ===== PASSWORD VISIBILITY ===== */
.password-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
}

/* ===== HEADER ===== */
.app-header {
  background: white;
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.app-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-header-logo {
  width: 48px;
  height: 48px;
}

.app-header-title {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.app-header-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-header-user-info {
  text-align: right;
}

.app-header-user-name {
  font-weight: 600;
  font-size: 14px;
}

.app-header-user-role {
  font-size: 12px;
  color: var(--gray-500);
}

/* ===== ACTION BUTTONS ===== */
.action-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ===== PROGRESS ===== */
.progress-bar {
  height: 8px;
  background: var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--primary);
  transition: width 0.3s;
}

/* ===== TABS ===== */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--gray-100);
  padding: 4px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.tab {
  flex: 1;
  padding: 12px 16px;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  color: var(--gray-500);
  transition: all 0.2s;
}

.tab:hover {
  color: var(--gray-700);
}

.tab.active {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow);
}

/* ===== INFO BOX ===== */
.info-box {
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
}

.info-box-title {
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .app-header-user-info { display: none; }
  .radio-cards { grid-template-columns: 1fr; }
  .confirm-actions { flex-direction: column; }
  .modal { margin: 16px; }
}

/* Icons as SVG inline */
.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}
