/* ============================================================
   Plants & AI — styles.css
   Global design system with dark botanical theme
   ============================================================ */

/* -----------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   ----------------------------------------------------------- */
:root {
  /* Brand colors */
  --green-primary:    #22c55e;
  --green-secondary:  #16a34a;
  --green-dark:       #14532d;
  --green-accent:     #4ade80;
  --green-muted:      #166534;
  --teal:             #0d9488;
  --emerald:          #10b981;

  /* Neutrals */
  --bg:               #0b1512;
  --bg-2:             #0f1e18;
  --surface:          #121f1a;
  --surface-2:        #192920;
  --surface-3:        #1e3328;
  --border:           rgba(255,255,255,0.07);
  --border-green:     rgba(34,197,94,0.2);

  /* Text */
  --text-primary:     #f0fdf4;
  --text-secondary:   #a7c4b0;
  --text-muted:       #6b9880;

  /* Status */
  --warning:          #f59e0b;
  --danger:           #ef4444;
  --info:             #06b6d4;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Spacing & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-green: 0 4px 20px rgba(34,197,94,0.15);
}

/* -----------------------------------------------------------
   Reset & Base
   ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--green-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--green-accent); }

img { max-width: 100%; display: block; }

::selection { background: var(--green-primary); color: var(--bg); }

.section-pad { padding: 80px 0; }

/* -----------------------------------------------------------
   Navigation
   ----------------------------------------------------------- */
#mainNav {
  background: rgba(11, 21, 18, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  transition: background 0.3s;
}

#mainNav.scrolled {
  background: rgba(11, 21, 18, 0.98);
}

.navbar-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary) !important;
  letter-spacing: -0.3px;
}

.brand-accent {
  color: var(--green-primary);
}

.nav-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
}

.navbar-nav .nav-link {
  color: var(--text-secondary) !important;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px !important;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--green-primary) !important;
  background: rgba(34,197,94,0.08);
}

.navbar-toggler {
  border: 1px solid var(--border-green);
  color: var(--text-primary);
  padding: 6px 10px;
}

.navbar-toggler i { font-size: 1.3rem; }

/* -----------------------------------------------------------
   Hero Section
   ----------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,21,18,0.92) 0%,
    rgba(11,21,18,0.75) 50%,
    rgba(11,21,18,0.88) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  color: var(--green-accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 16px;
  border-radius: 100px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.28;
  color: var(--text-primary);
  margin: 16px 0;
  padding: 0.08em 0;
}

.hero-title em {
  font-style: italic;
  color: var(--green-accent);
  display: inline-block;
  padding-top: 0.06em;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.btn-hero {
  padding: 14px 28px;
  font-weight: 600;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
}

.btn-hero:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--green-primary);
  border-color: var(--green-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--green-secondary);
  border-color: var(--green-secondary);
  color: #fff;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

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

.stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-primary);
  letter-spacing: -0.5px;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

.hero-stat-div {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}

/* -----------------------------------------------------------
   Section Helpers
   ----------------------------------------------------------- */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-primary);
  background: rgba(34,197,94,0.08);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(34,197,94,0.2);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 12px;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 12px auto 0;
}

/* -----------------------------------------------------------
   Features Section
   ----------------------------------------------------------- */
.features-section {
  background: var(--bg-2);
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-primary), var(--teal));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-green);
  box-shadow: var(--shadow-green);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon-wrap {
  width: 72px;
  height: 72px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.feature-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.feature-link:hover { gap: 10px; color: var(--green-accent); }

/* -----------------------------------------------------------
   How It Works
   ----------------------------------------------------------- */
.how-section { background: var(--bg); }

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  position: relative;
}

.step-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(34,197,94,0.12);
  font-family: var(--font-serif);
  line-height: 1;
  margin-bottom: 16px;
}

.step-card h4 {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* -----------------------------------------------------------
   Showcase Section
   ----------------------------------------------------------- */
.showcase-section { background: var(--bg-2); }

.plant-showcase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}

.plant-showcase-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-green);
  box-shadow: var(--shadow-green);
}

.plant-card-img-wrap {
  height: 180px;
  overflow: hidden;
  background: var(--surface-2);
}

.plant-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.plant-showcase-card:hover .plant-card-img-wrap img {
  transform: scale(1.05);
}

.plant-card-body {
  padding: 20px;
}

.plant-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.plant-card-sci {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 10px;
}

.plant-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(34,197,94,0.1);
  color: var(--green-primary);
  border: 1px solid rgba(34,197,94,0.2);
  margin-right: 4px;
  margin-bottom: 4px;
}

.plant-badge.badge-warning { background: rgba(245,158,11,0.1); color: var(--warning); border-color: rgba(245,158,11,0.2); }
.plant-badge.badge-danger  { background: rgba(239,68,68,0.1);  color: var(--danger);  border-color: rgba(239,68,68,0.2);  }
.plant-badge.badge-info    { background: rgba(6,182,212,0.1);  color: var(--info);    border-color: rgba(6,182,212,0.2);    }

/* -----------------------------------------------------------
   About / Owner Section
   ----------------------------------------------------------- */
.about-section { background: var(--bg); }

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.about-photo-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border-green);
  margin: 0 auto;
  background: var(--surface-2);
}

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

.about-photo.fallback-icon {
  object-fit: contain;
  padding: 20px;
  opacity: 0.5;
}

.about-bio {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* -----------------------------------------------------------
   Page Header (inner pages)
   ----------------------------------------------------------- */
.page-header {
  padding: 120px 0 56px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.page-header-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 16px;
  filter: drop-shadow(0 0 20px rgba(34,197,94,0.3));
}

.page-header-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--text-primary);
}

.page-header-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 12px auto 0;
}

/* -----------------------------------------------------------
   Doctor Panel (Plant Doctor page)
   ----------------------------------------------------------- */
.doctor-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.panel-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-title i { color: var(--green-primary); }

/* Upload Zone */
.upload-zone {
  border: 2px dashed rgba(34,197,94,0.3);
  border-radius: var(--radius-md);
  background: rgba(34,197,94,0.03);
  cursor: pointer;
  transition: all 0.2s;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--green-primary);
  background: rgba(34,197,94,0.07);
}

.upload-zone-inner {
  text-align: center;
  padding: 24px;
}

.upload-zone-icon {
  font-size: 2.5rem;
  color: var(--green-primary);
  opacity: 0.6;
  display: block;
  margin-bottom: 10px;
}

.upload-zone-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.upload-zone-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.upload-zone-formats {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 2px 10px;
  border-radius: 100px;
  margin-top: 8px;
}

.preview-image {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

.compact-upload {
  min-height: 80px;
}

/* Doctor Inputs */
.doctor-input, .doctor-textarea {
  background: var(--surface-2) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-primary) !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

.doctor-input:focus, .doctor-textarea:focus {
  border-color: var(--green-primary) !important;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.12) !important;
  outline: none;
  background: var(--surface-2) !important;
}

.doctor-input option { background: var(--surface-2); }

.divider-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.divider-or::before, .divider-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Reminder Box */
.reminder-box {
  background: rgba(34,197,94,0.05);
  border: 1px solid rgba(34,197,94,0.15);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.reminder-box h6 {
  color: var(--green-primary);
  font-size: 0.88rem;
  margin-bottom: 6px;
}

/* Diagnosis States */
.diagnosis-idle,
.diagnosis-loading,
.diagnosis-result,
.diagnosis-error {
  min-height: 420px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.idle-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  opacity: 0.4;
}

.idle-tips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  max-width: 340px;
  margin: 0 auto;
}

.idle-tip {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* AI Analyzing Animation */
.ai-analyzing-anim {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto;
}

.pulse-ring {
  position: absolute;
  inset: -12px;
  border: 2px solid rgba(34,197,94,0.4);
  border-radius: 50%;
  animation: pulse-ring 1.5s ease-out infinite;
}

@keyframes pulse-ring {
  0%   { transform: scale(0.85); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 0;   }
}

.ai-anim-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 50%;
  animation: ai-float 2s ease-in-out infinite alternate;
}

@keyframes ai-float {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* Diagnosis Result Card */
.diagnosis-result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.diagnosis-header {
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.severity-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
}

.severity-low    { background: rgba(34,197,94,0.15);  color: var(--green-primary); }
.severity-moderate { background: rgba(245,158,11,0.15); color: var(--warning); }
.severity-high   { background: rgba(239,68,68,0.15);  color: var(--danger); }
.severity-severe { background: rgba(239,68,68,0.25);  color: #ff6b6b; }

.diagnosis-body { padding: 24px; }

.diagnosis-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 10px;
}

.diagnosis-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.treatment-step {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: flex-start;
}

.treatment-step-num {
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--green-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ---------- Structured Diagnosis Output (dx-*) ---------- */
.dx-condition-name {
  margin: 0 0 6px;
  color: var(--text-primary);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dx-meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.dx-meta i { margin-right: 2px; }

/* Summary banner */
.dx-summary {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(34,197,94,0.10), rgba(34,197,94,0.03));
  border: 1px solid var(--border-green);
  border-left: 3px solid var(--green-primary);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
}
.dx-summary i { color: var(--green-accent); font-size: 1.15rem; margin-top: 1px; }
.dx-summary p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Card-style section blocks */
.dx-block {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 14px;
}
.dx-block:last-child { margin-bottom: 0; }

.dx-block-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.dx-block-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  font-size: 0.95rem;
}
.dx-block-title {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-primary);
}

/* Bullet lists */
.dx-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dx-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.dx-list li:last-child { margin-bottom: 0; }
.dx-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-primary);
}
.dx-list-warn li::before { background: var(--danger); }

/* Numbered treatment steps */
.dx-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dx-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.dx-step:last-child { margin-bottom: 0; }
.dx-step-num {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  background: var(--green-primary);
  color: #06210f;
  border-radius: 50%;
  font-size: 0.74rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.dx-step-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Callout blocks */
.dx-callout-recovery {
  background: rgba(6,182,212,0.06);
  border-color: rgba(6,182,212,0.25);
}
.dx-callout-warn {
  background: rgba(239,68,68,0.06);
  border-color: rgba(239,68,68,0.25);
}
.dx-callout-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Disease Cards */
.disease-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.2s;
}

.disease-card:hover {
  border-color: var(--border-green);
  transform: translateY(-2px);
}

.disease-card-title { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.disease-card-plant { font-size: 0.75rem; color: var(--green-primary); margin-bottom: 8px; }
.disease-card-text  { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; }

/* -----------------------------------------------------------
   Garden Journal
   ----------------------------------------------------------- */
.journal-tabs-bar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 0;
  top: 65px;
}

.journal-tabs {
  display: flex;
  gap: 4px;
  padding: 12px 0;
}

.journal-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 7px;
}

.journal-tab-btn:hover {
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
}

.journal-tab-btn.active {
  color: var(--green-primary);
  background: rgba(34,197,94,0.08);
  border-color: rgba(34,197,94,0.2);
}

.journal-tab-panel { animation: fadeInUp 0.3s ease; }

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

/* Journal Entry Card */
.journal-entry-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s;
}

.journal-entry-card:hover {
  border-color: var(--border-green);
  box-shadow: var(--shadow-green);
}

.journal-entry-img {
  height: 150px;
  overflow: hidden;
  background: var(--surface-2);
}

.journal-entry-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-entry-body { padding: 16px; }

.journal-entry-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.journal-entry-plant {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.journal-entry-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.journal-meta-item {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.journal-meta-item i { color: var(--green-primary); font-size: 0.8rem; }

.journal-entry-notes {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Touch-target compliance (Apple HIG minimum 44px) for journal action buttons */
.journal-entry-body .btn,
.journal-entry-body .btn-sm {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.journal-entry-body .btn-outline-danger {
  min-width: 44px;
}
#clearEntryUpload {
  min-width: 44px;
  min-height: 44px;
}

/* Plant Switcher */
.plant-switcher-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.8rem;
  padding: 5px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}

.plant-switcher-btn:hover,
.plant-switcher-btn.active {
  background: rgba(34,197,94,0.08);
  border-color: rgba(34,197,94,0.25);
  color: var(--green-primary);
}

/* Charts */
.chart-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.chart-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-insight-card {
  background: linear-gradient(135deg, rgba(34,197,94,0.05), rgba(13,148,136,0.05));
  border: 1px solid rgba(34,197,94,0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
}

/* Map */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

#plantMap {
  height: 520px;
  width: 100%;
  background: var(--surface-2);
}

/* Leaflet popup customization */
.leaflet-popup-content-wrapper {
  background: var(--surface-2) !important;
  border: 1px solid var(--border-green) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  color: var(--text-primary) !important;
}

.leaflet-popup-tip { background: var(--surface-2) !important; }

.map-popup-name { font-weight: 700; font-size: 0.95rem; color: var(--green-accent); margin-bottom: 4px; }
.map-popup-sci  { font-style: italic; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 8px; }
.map-popup-text { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; }

.map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin: 4px;
}

.map-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* -----------------------------------------------------------
   Plant Match / Questionnaire
   ----------------------------------------------------------- */
.questionnaire-progress {
  max-width: 640px;
  margin: 0 auto;
}

.question-deck {
  max-width: 700px;
  margin: 0 auto;
}

.question-card { animation: fadeInUp 0.35s ease; }

.question-title {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.question-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.option-card {
  cursor: pointer;
  position: relative;
}

.option-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.option-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 16px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 0.2s;
  font-size: 0.88rem;
  color: var(--text-secondary);
  min-height: 90px;
}

.option-content i {
  font-size: 1.5rem;
  color: var(--text-muted);
}

.option-card:hover .option-content {
  border-color: var(--border-green);
  background: rgba(34,197,94,0.04);
  color: var(--text-primary);
}

.option-card input:checked ~ .option-content {
  border-color: var(--green-primary);
  background: rgba(34,197,94,0.08);
  color: var(--green-primary);
}

.option-card input:checked ~ .option-content i {
  color: var(--green-primary);
}

/* Matched Plant Cards */
.match-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}

.match-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-green);
  box-shadow: var(--shadow-green);
}

.match-card-img {
  height: 200px;
  overflow: hidden;
  background: var(--surface-2);
  position: relative;
}

.match-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.match-card:hover .match-card-img img { transform: scale(1.05); }

.match-score-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(11,21,18,0.85);
  border: 1px solid var(--green-primary);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-primary);
  padding: 3px 10px;
  backdrop-filter: blur(4px);
}

.match-card-body { padding: 20px; }
.match-card-name { font-weight: 700; font-size: 1rem; color: var(--text-primary); margin-bottom: 3px; }
.match-card-sci  { font-size: 0.78rem; color: var(--text-muted); font-style: italic; margin-bottom: 12px; }

.match-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }

.match-care-bar {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  gap: 12px;
}

.care-item { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 1; }
.care-icon { color: var(--green-primary); font-size: 1rem; }

/* Plant Detail Modal */
.plant-detail-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.care-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.care-guide-item {
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
}

.care-guide-icon { font-size: 1.4rem; color: var(--green-primary); margin-bottom: 4px; }
.care-guide-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.care-guide-value { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); margin-top: 2px; }

/* Seasonal Notes */
.seasonal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.seasonal-item {
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
}

.seasonal-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-primary);
  margin-bottom: 6px;
}

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

/* -----------------------------------------------------------
   Footer
   ----------------------------------------------------------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: auto;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary) !important;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--green-primary); }

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.footer-hr { border-color: var(--border); margin: 32px 0 20px; }

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-nav-link {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-nav-link:hover { color: var(--green-primary); }

/* -----------------------------------------------------------
   Scrollbar
   ----------------------------------------------------------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-muted); }

/* -----------------------------------------------------------
   Utility
   ----------------------------------------------------------- */
.border-white-10 { border-color: rgba(255,255,255,0.08) !important; }
.text-green { color: var(--green-primary); }
.bg-surface { background: var(--surface); }

/* Skeleton loader */
.skeleton {
  background: linear-gradient(90deg, var(--surface) 0%, var(--surface-3) 50%, var(--surface) 100%);
  background-size: 200% 100%;
  animation: skeleton-wave 1.4s ease infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-wave {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

/* -----------------------------------------------------------
   Responsive Breakpoints
   ----------------------------------------------------------- */
@media (max-width: 991px) {
  .hero-stats { gap: 24px; }
  .section-pad { padding: 60px 0; }
  .navbar-collapse {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 12px;
  }
}

@media (max-width: 767px) {
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-stat-div { width: 60px; height: 1px; }
  .option-grid { grid-template-columns: repeat(2, 1fr); }
  .care-guide-grid { grid-template-columns: repeat(2, 1fr); }
  .seasonal-grid { grid-template-columns: 1fr; }
  .about-card { padding: 24px 20px; }
  .doctor-panel { padding: 20px 16px; }
  #plantMap { height: 380px; }
  .diagnosis-idle, .diagnosis-loading, .diagnosis-result, .diagnosis-error {
    min-height: 300px;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.1rem; }
  .option-grid { grid-template-columns: 1fr; }
  .hero-badge { font-size: 0.7rem; padding: 5px 12px; }
}

/* Ensure no text overflow on small cards */
.plant-card-name, .match-card-name, .journal-entry-plant {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Better select arrow styling for dark theme */
select.doctor-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2322c55e' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  appearance: none;
  -webkit-appearance: none;
}

/* Ensure hero buttons have solid color (not just border) */
.btn-outline-light {
  border-color: rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.9);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
  color: #fff;
}

/* Health score color helpers */
.health-10, .health-9 { color: #22c55e; }
.health-8, .health-7 { color: #84cc16; }
.health-6, .health-5 { color: #f59e0b; }
.health-4, .health-3 { color: #ef4444; }
.health-2, .health-1 { color: #dc2626; }

/* AI Response Markdown-ish styles */
.ai-response h4 { font-size: 1rem; font-weight: 700; color: var(--green-accent); margin: 16px 0 8px; }
.ai-response p  { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 10px; line-height: 1.65; }
.ai-response ul { padding-left: 20px; margin-bottom: 10px; }
.ai-response li { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 6px; line-height: 1.5; }
.ai-response strong { color: var(--text-primary); }

/* -----------------------------------------------------------
   Plant Care Icons Row (homepage showcase cards)
   ----------------------------------------------------------- */
.plant-card-care-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
  margin-bottom: 4px;
}

.plant-care-icon {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.plant-care-icon i {
  color: var(--green-primary);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* -----------------------------------------------------------
   Disease Library — Interactive Reference Section
   ----------------------------------------------------------- */
.disease-library-controls {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 28px;
}

.disease-search-wrap {
  position: relative;
}

.disease-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
}

.disease-search-input {
  padding-left: 36px !important;
}

.disease-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.disease-quick-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.disease-quick-btn {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.disease-quick-btn:hover {
  background: rgba(34,197,94,0.06);
  border-color: rgba(34,197,94,0.2);
  color: var(--text-primary);
}

.disease-quick-btn.active {
  background: rgba(34,197,94,0.12);
  border-color: var(--green-primary);
  color: var(--green-primary);
  font-weight: 600;
}

/* Disease Reference Cards (rich version) */
.disease-card-rich {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.25s;
}

.disease-card-rich:hover {
  border-color: var(--border-green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-green);
}

.disease-card-rich-header {
  padding: 20px 20px 16px;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border-bottom: 1px solid var(--border);
}

.disease-card-rich-name {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}

.disease-severity-indicator {
  font-size: 0.85rem;
  letter-spacing: 2px;
  flex-shrink: 0;
}

.disease-severity-indicator.severity-mild     { color: var(--green-primary); }
.disease-severity-indicator.severity-moderate { color: var(--warning); }
.disease-severity-indicator.severity-severe   { color: var(--danger); }

.disease-affected-plants {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
}

.disease-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 2px;
}

.disease-plant-tag {
  display: inline-block;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.15);
  color: var(--green-accent);
  font-size: 0.7rem;
  padding: 1px 7px;
  border-radius: 100px;
}

.disease-card-rich-body {
  padding: 16px 20px;
  flex: 1;
}

.disease-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.disease-symptoms-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.disease-symptoms-list li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 3px 0;
  padding-left: 16px;
  position: relative;
  line-height: 1.45;
}

.disease-symptoms-list li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--green-primary);
  font-size: 1.1rem;
  line-height: 1;
  top: 3px;
}

.disease-symptoms-list.full li {
  font-size: 0.85rem;
  padding: 4px 0 4px 18px;
}

.disease-treatment-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.disease-treatment-full {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  background: var(--surface-3);
  border-radius: var(--radius-sm);
  padding: 12px;
  border-left: 3px solid var(--green-primary);
}

.disease-recovery {
  display: flex;
  align-items: center;
  gap: 4px;
}

.disease-recovery-full {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 10px 12px;
  background: rgba(34,197,94,0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(34,197,94,0.12);
}

.disease-card-rich-footer {
  padding: 12px 20px 16px;
  border-top: 1px solid var(--border);
}

.disease-modal-section {
  background: var(--surface-3);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border);
}

/* Severity badge pill (in disease cards - different from diagnosis badge) */
.severity-badge-pill.badge-warning { background: rgba(245,158,11,0.1); color: var(--warning); }
.severity-badge-pill.badge-danger  { background: rgba(239,68,68,0.1);  color: var(--danger);  }

/* -----------------------------------------------------------
   Journal Entry — Image Overlay & View Charts
   ----------------------------------------------------------- */
.journal-entry-img {
  position: relative;
  overflow: hidden;
}

.journal-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,21,18,0.7);
  color: var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s;
}

.journal-entry-img:hover .journal-img-overlay {
  opacity: 1;
}

/* Growth trend indicators */
.trend-up   { color: var(--green-primary); font-size: 0.72rem; }
.trend-down { color: var(--danger);        font-size: 0.72rem; }

/* -----------------------------------------------------------
   Growth Stats Cards (Charts Tab)
   ----------------------------------------------------------- */
.growth-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  transition: border-color 0.2s;
}

.growth-stat-card:hover {
  border-color: var(--border-green);
}

.growth-stat-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.growth-stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
  font-family: var(--font-serif);
}

.growth-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Chart tab select group */
.chart-select-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* -----------------------------------------------------------
   Responsive additions for disease library
   ----------------------------------------------------------- */
@media (max-width: 767px) {
  .disease-library-controls { padding: 16px; }
  .disease-quick-filters { gap: 6px; }
  .disease-quick-btn { font-size: 0.72rem; padding: 3px 10px; }
  .disease-card-rich-header { padding: 16px; }
  .disease-card-rich-body { padding: 12px 16px; }
  .disease-card-rich-footer { padding: 10px 16px 14px; }
  .growth-stat-card { padding: 14px; }
  .growth-stat-value { font-size: 1.3rem; }
  .chart-select-group { flex-wrap: wrap; }
}

/* -----------------------------------------------------------
   Accessible Tap Targets — ensure every interactive control
   meets the 44x44px minimum (Apple HIG / WCAG 2.5.5).
   ----------------------------------------------------------- */
.navbar-toggler {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.navbar-nav .nav-link {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.journal-tab-btn {
  min-height: 44px;
}
.plant-switcher-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
/* Buttons (incl. modal actions, "Add Entry") */
.btn:not(.btn-close) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* Form controls — text inputs, selects, including the small variants */
.doctor-input,
.doctor-textarea,
.form-select-sm,
.form-control,
.form-select {
  min-height: 44px;
}
.doctor-textarea {
  min-height: 88px;
}
/* Bootstrap close button */
.btn-close {
  min-width: 44px;
  min-height: 44px;
  background-position: center;
}
/* Footer links */
.footer-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
/* Brand / logo links */
.navbar-brand,
.footer-brand {
  min-height: 44px;
}
/* Feature CTA links */
.feature-link {
  min-height: 44px;
}
/* Footer quick-link lists */
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
/* Disease library quick-filter buttons */
.disease-quick-btn {
  min-height: 44px;
  min-width: 44px;
}
