/* ==========================================================================
   MTA-SNAP-IV & Anamnese Online - Design System & Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700&display=swap');

:root {
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;

  --bg-main: #f4f7f9;
  --bg-card: #ffffff;
  --bg-subtle: #f8fafc;
  --border-color: #e2e8f0;
  --border-focus: #4f46e5;
  
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  /* Brand & Clinical Colors */
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-light: #eff6ff;
  
  --teal-accent: #0d9488;
  --teal-light: #f0fdfa;

  --accent-purple: #7c3aed;
  --accent-purple-light: #f5f3ff;
  
  /* Status Colors */
  --status-positive-bg: #fef2f2;
  --status-positive-text: #991b1b;
  --status-positive-border: #fecaca;
  
  --status-warning-bg: #fffbeb;
  --status-warning-text: #92400e;
  --status-warning-border: #fde68a;
  
  --status-normal-bg: #f0fdf4;
  --status-normal-text: #166534;
  --status-normal-border: #bbf7d0;

  /* Shadows & Radius */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --transition-fast: all 0.2s ease;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-main: #0f172a;
  --bg-card: #1e293b;
  --bg-subtle: #0f172a;
  --border-color: #334155;
  --border-focus: #818cf8;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  
  --primary: #60a5fa;
  --primary-hover: #3b82f6;
  --primary-light: rgba(59, 130, 246, 0.15);

  --teal-accent: #14b8a6;
  --teal-light: rgba(20, 184, 166, 0.15);

  --accent-purple: #a78bfa;
  --accent-purple-light: rgba(167, 139, 250, 0.15);

  --status-positive-bg: rgba(239, 68, 68, 0.15);
  --status-positive-text: #fca5a5;
  --status-positive-border: rgba(239, 68, 68, 0.3);

  --status-warning-bg: rgba(245, 158, 11, 0.15);
  --status-warning-text: #fcd34d;
  --status-warning-border: rgba(245, 158, 11, 0.3);

  --status-normal-bg: rgba(34, 197, 94, 0.15);
  --status-normal-text: #86efac;
  --status-normal-border: rgba(34, 197, 94, 0.3);
}

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 16px;
}

/* Header & Top Bar */
header.app-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

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

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--teal-accent), var(--primary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.25);
}

.logo-text h1 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.logo-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
  margin-top: -2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* User Profile Badge Header */
.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 4px 12px 4px 6px;
  border-radius: 999px;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--teal-accent);
}

.user-name-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Login Screen Styles */
.login-view-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 75vh;
  padding: 24px 16px;
}

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--teal-accent), var(--primary), var(--accent-purple));
}

.google-btn {
  background: #ffffff;
  color: #3c4043;
  border: 1px solid #dadce0;
  border-radius: var(--radius-md);
  padding: 14px 24px;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 24px;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.google-btn:hover {
  background: #f8f9fa;
  border-color: #d2e3fc;
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .google-btn {
  background: #131314;
  color: #e3e3e3;
  border-color: #8e918f;
}

/* Cloud Status Badge */
.cloud-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-color);
  background: var(--bg-subtle);
  color: var(--text-main);
  transition: var(--transition-fast);
}

.cloud-status-badge.connected {
  background: var(--status-normal-bg);
  color: var(--status-normal-text);
  border-color: var(--status-normal-border);
}

.btn-icon {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 1.1rem;
}

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

/* Top Navigation Tabs */
.nav-tabs-container {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.nav-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0;
}

.tab-btn {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 10px 18px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  white-space: nowrap;
}

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

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

/* Active Patient Banner Bar */
.active-patient-bar {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(59, 130, 246, 0.1));
  border: 1px solid rgba(13, 148, 136, 0.3);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.patient-badge-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.patient-badge-info strong {
  color: var(--teal-accent);
  font-weight: 700;
}

/* Card Boxes */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-title i {
  color: var(--teal-accent);
}

/* Form Controls & Grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  outline: none;
  transition: var(--transition-fast);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
  background: var(--bg-card);
}

/* Modal Styling */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

/* Questionnaire Item Card */
.question-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 16px;
  transition: var(--transition-fast);
}

.question-item.unanswered {
  border-left: 4px solid var(--primary);
}

.question-item.answered {
  border-left: 4px solid var(--teal-accent);
}

.question-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.question-number {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 6px;
  min-width: 38px;
  text-align: center;
}

.question-text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
  flex: 1;
}

/* Options Grid */
.options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

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

.option-btn {
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  user-select: none;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.option-btn input[type="radio"] {
  display: none;
}

.option-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
}

.option-value {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.option-btn.selected {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.option-btn.selected .option-label,
.option-btn.selected .option-value {
  color: white;
}

/* Buttons */
.actions-bar {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-accent), var(--primary));
  color: white;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: var(--border-color);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

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

/* Patient List Card & Folder Display */
.patient-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  transition: var(--transition-fast);
}

.patient-card:hover {
  border-color: var(--teal-accent);
  box-shadow: var(--shadow-sm);
}

.patient-info-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.folder-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-light);
  color: var(--teal-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.patient-details h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.patient-details p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Report View Styles */
.report-header-banner {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}

.report-patient-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

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

.info-item .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.info-item .value {
  font-size: 1.05rem;
  font-weight: 600;
  color: #f8fafc;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: #1e293b;
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Footer */
footer.app-footer {
  margin-top: auto;
  padding: 24px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   METRICS & DASHBOARD COMPONENTS
   ========================================================================== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.metric-icon.teal { background: rgba(14, 165, 233, 0.12); color: #0ea5e9; }
.metric-icon.orange { background: rgba(249, 115, 22, 0.12); color: #f97316; }
.metric-icon.purple { background: rgba(168, 85, 247, 0.12); color: #a855f7; }
.metric-icon.blue { background: rgba(59, 130, 246, 0.12); color: #3b82f6; }

.metric-data { display: flex; flex-direction: column; }
.metric-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.metric-value { font-size: 1.15rem; font-weight: 700; color: var(--text-main); margin-top: 2px; }

/* Badges */
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}
.badge-teal { background: rgba(14, 165, 233, 0.15); color: #0284c7; }
.badge-orange { background: rgba(249, 115, 22, 0.15); color: #ea580c; }
.badge-purple { background: rgba(168, 85, 247, 0.15); color: #9333ea; }
.badge-blue { background: rgba(59, 130, 246, 0.15); color: #2563eb; }

/* Game Cards */
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}
.game-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.game-card-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-card-icon.teal { background: rgba(14, 165, 233, 0.12); }
.game-card-icon.orange { background: rgba(249, 115, 22, 0.12); }
.game-card-icon.purple { background: rgba(168, 85, 247, 0.12); }
.game-card-icon.blue { background: rgba(59, 130, 246, 0.12); }

.game-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--text-main); margin-bottom: 6px; }
.game-card p { font-size: 0.82rem; color: var(--text-muted); margin: 8px 0 16px 0; flex: 1; }

/* Mic Recording Button & Pulse */
.mic-record-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ef4444;
  color: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
  transition: transform 0.2s ease;
}
.mic-record-btn:hover { transform: scale(1.08); }
.mic-record-btn.recording {
  animation: pulse-recording 1.4s infinite;
  background: #dc2626;
}
@keyframes pulse-recording {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 18px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Checkbox Labels */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  background: var(--bg-subtle);
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  user-select: none;
}
.checkbox-label input { cursor: pointer; }

/* Timeline Items */
.timeline-item {
  position: relative;
  padding-left: 32px;
  margin-bottom: 20px;
  border-left: 2px solid var(--border-color);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
}
.timeline-item .timeline-date { font-size: 0.8rem; font-weight: 600; color: var(--primary); }
.timeline-item .timeline-title { font-weight: 700; font-size: 0.95rem; margin-top: 2px; }
.timeline-item .timeline-desc { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* ==========================================================================
   INTERACTIVE GAMES & PROBES STYLING (PHASE 2)
   ========================================================================== */
.traffic-light {
  width: 90px;
  height: 90px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}
.traffic-light:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.traffic-light.active-red {
  background: #fee2e2;
  border-color: #ef4444;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}
.traffic-light.active-yellow {
  background: #fef3c7;
  border-color: #f59e0b;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}
.traffic-light.active-green {
  background: #dcfce7;
  border-color: #10b981;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

/* Cursive Font Style */
.cursive-text {
  font-family: 'Caveat', cursive !important;
  font-size: 2.2rem !important;
  letter-spacing: 1px;
}

.syllable-btn {
  font-size: 1.15rem;
  font-weight: 700;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.syllable-btn:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: scale(1.05);
}
.syllable-btn.used {
  opacity: 0.3;
  pointer-events: none;
}


/* Print Stylesheet (@media print) */
@media print {
  body {
    background: white !important;
    color: black !important;
    font-size: 10pt;
  }

  .app-header,
  .nav-tabs-container,
  .active-patient-bar,
  .actions-bar,
  .btn-icon,
  .btn,
  .toast-container,
  footer,
  #questionnaireView,
  #patientsView,
  #anamneseView,
  #loginView {
    display: none !important;
  }

  #reportView, #anamneseReportView {
    display: block !important;
  }

  .container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .card, .report-header-banner, .result-card {
    border: 1px solid #aaa !important;
    box-shadow: none !important;
    background: white !important;
    color: black !important;
    page-break-inside: avoid;
    border-radius: 4px !important;
  }

  .report-header-banner {
    color: black !important;
    border-bottom: 2px solid #000 !important;
  }

  .info-item .label { color: #555 !important; }
  .info-item .value { color: #000 !important; }
}
