/* CSS Variables for Theme Management */
:root {
  --primary-color: #3C2415;
  --secondary-color: #6F4E37;
  --accent-color: #A67B5B;
  --light-accent: #C4915C;
  --background-color: #E6D5AA;
  --text-color: #3C2415;
  --text-light: #6F4E37;
  --border-color: #A67B5B;
  --success-color: #4CAF50;
  --warning-color: #FF9800;
  --error-color: #F44336;
  --info-color: #2196F3;
  --shadow: 0 2px 8px rgba(60, 36, 21, 0.1);
  --shadow-hover: 0 4px 16px rgba(60, 36, 21, 0.2);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}


/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  transition: var(--transition);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--background-color);
  padding: 1rem 0;
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.logo-img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.logo-text {
  color: var(--background-color);
  font-size: 2rem;
  font-weight: bold;
  white-space: nowrap;
}

.logo-icon {
  width: 32px;
  height: 32px;
  animation: snowfall 3s ease-in-out infinite;
}

@keyframes snowfall {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 768px) {
  .logo {
    font-size: 1.2rem;
    gap: 0.5rem;
  }
  
  .logo-img {
    width: 120px;
    height: 120px;
  }
  
  .logo-text {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 1.5rem;
  }
  
  .logo-img {
    width: 110px;
    height: 110px;
  }
}


/* Navigation Styles */
.navigation {
  background: var(--background-color);
  border-bottom: 2px solid var(--border-color);
  padding: 0.5rem 0;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 999;
  width: 100%;
}

@media (max-width: 768px) {
  .navigation {
    display: none;
  }
}

.nav-list {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nav-button {
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--text-color);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  min-width: 120px;
  justify-content: center;
}

.nav-button:hover {
  background: var(--accent-color);
  color: var(--background-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.nav-button.active {
  background: var(--primary-color);
  color: var(--background-color);
  border-color: var(--primary-color);
}

.nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Main Content */
.main {
  min-height: calc(100vh - 200px);
  padding: 2rem 0;
  margin-top: 140px;
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  .main {
    margin-top: 70px;
    padding-bottom: 100px;
  }
}

/* SVG Icon Styles */
svg {
  display: inline-block;
  vertical-align: middle;
}

.logo-icon,
.theme-icon,
.nav-icon,
.weather-icon,
.card-icon,
.indicator-icon {
  stroke: currentColor;
  fill: none;
}

.section {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.section.active {
  display: block;
}

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

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Weather Widget */
.weather-widget {
  background: linear-gradient(135deg, var(--light-accent), var(--accent-color));
  color: var(--background-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.weather-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.weather-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.temperature {
  font-size: 2rem;
  font-weight: bold;
}

.weather-status {
  font-size: 1rem;
  opacity: 0.9;
}

.weather-alert {
  background: var(--warning-color);
  color: white;
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-top: 1rem;
  font-weight: bold;
}

/* Preparation Grid */
.preparation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.preparation-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.preparation-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: block;
  color: var(--primary-color);
}

.preparation-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.preparation-card p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.preparation-list {
  list-style: none;
}

.preparation-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  padding-left: 1.5rem;
}

.preparation-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23A67B5B' stroke-width='2'%3E%3Cpath d='M12 2v20M2 12h20M6 6l12 12M18 6l-12 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.preparation-list li:last-child {
  border-bottom: none;
}

/* Reminders Section */
.reminders-section {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.reminders-section h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.reminder-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.reminder-form input {
  flex: 1;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.reminder-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(60, 36, 21, 0.1);
}

.reminder-form button {
  background: var(--primary-color);
  color: var(--background-color);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: bold;
}

.reminder-form button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.reminders-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.reminder-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--background-color);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.reminder-text {
  flex: 1;
  color: var(--text-color);
}

.reminder-delete {
  background: var(--error-color);
  color: white;
  border: none;
  padding: 0.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.reminder-delete svg {
  width: 18px;
  height: 18px;
}

.reminder-delete:hover {
  background: #d32f2f;
}

/* Checklist Styles */
.checklist-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-light);
  font-size: 0.9rem;
}

.checklist-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: var(--background-color);
  border-color: var(--primary-color);
}

.checklist-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.checklist-item {
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.checklist-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.checklist-item.completed {
  background: #f1f8e9;
  border-color: var(--success-color);
}

.checklist-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.checklist-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  transform: scale(1.2);
}

.checklist-title {
  flex: 1;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--primary-color);
}

.checklist-frequency {
  background: var(--accent-color);
  color: var(--background-color);
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: bold;
}

.checklist-description {
  color: var(--text-light);
  margin-left: 2rem;
}

.checklist-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-left: 2rem;
}

.action-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.action-btn:hover {
  background: var(--accent-color);
  color: var(--background-color);
}

.action-btn.delete {
  border-color: var(--error-color);
  color: var(--error-color);
}

.action-btn.delete:hover {
  background: var(--error-color);
  color: white;
}

/* Add Task Form */
.add-task-section {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.add-task-section h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.add-task-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.add-task-form input,
.add-task-form textarea,
.add-task-form select {
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.add-task-form input:focus,
.add-task-form textarea:focus,
.add-task-form select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(60, 36, 21, 0.1);
}

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

.add-task-form button {
  background: var(--primary-color);
  color: var(--background-color);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: bold;
  font-size: 1rem;
}

.add-task-form button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

/* Equipment Styles */
.equipment-categories {
  margin-bottom: 2rem;
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--text-color);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--primary-color);
  color: var(--background-color);
  border-color: var(--primary-color);
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.equipment-item {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.equipment-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.equipment-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: block;
  color: var(--primary-color);
}

.equipment-icon svg {
  width: 100%;
  height: 100%;
}

.equipment-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.equipment-description {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.equipment-price {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--success-color);
  margin-bottom: 1rem;
}

.equipment-actions {
  display: flex;
  gap: 0.5rem;
}

.wishlist-btn {
  background: var(--accent-color);
  color: var(--background-color);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: bold;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.wishlist-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.wishlist-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.wishlist-btn.added {
  background: var(--success-color);
}

/* Equipment Wishlist */
.equipment-wishlist {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.equipment-wishlist h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.wishlist-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wishlist-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--background-color);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.wishlist-item-info {
  flex: 1;
}

.wishlist-item-name {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.wishlist-item-price {
  color: var(--success-color);
  font-weight: bold;
}

.remove-wishlist {
  background: var(--error-color);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.remove-wishlist:hover {
  background: #d32f2f;
}

.empty-wishlist {
  text-align: center;
  color: var(--text-light);
  font-style: italic;
  padding: 2rem;
}

/* Monitoring Styles */
.monitoring-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.health-status-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  text-align: center;
}

.health-status-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.health-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.indicator-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.indicator-icon svg {
  width: 100%;
  height: 100%;
}

.indicator-text {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--success-color);
}

.last-checkup {
  color: var(--text-light);
  font-size: 0.9rem;
}

.symptoms-tracker,
.temperature-log {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.symptoms-tracker h3,
.temperature-log h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.symptom-form,
.temperature-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.symptom-form select,
.temperature-form input {
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.symptom-form select:focus,
.temperature-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(60, 36, 21, 0.1);
}

.symptom-form button,
.temperature-form button {
  background: var(--primary-color);
  color: var(--background-color);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: bold;
}

.symptom-form button:hover,
.temperature-form button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.temperature-form {
  align-items: center;
}

.temp-unit {
  color: var(--text-light);
  font-weight: bold;
}

.symptoms-log {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.symptom-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--background-color);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.symptom-info {
  flex: 1;
}

.symptom-name {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.symptom-severity {
  font-size: 0.9rem;
  color: var(--text-light);
}

.symptom-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

.symptom-delete {
  background: var(--error-color);
  color: white;
  border: none;
  padding: 0.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.symptom-delete svg {
  width: 18px;
  height: 18px;
}

.symptom-delete:hover {
  background: #d32f2f;
}

.temperature-chart {
  margin-top: 1rem;
  text-align: center;
}

.temperature-chart canvas {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
}

/* Emergency Contacts */
.emergency-contacts {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.emergency-contacts h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.contact-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.contact-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(60, 36, 21, 0.1);
}

.contact-form button {
  background: var(--primary-color);
  color: var(--background-color);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: bold;
}

.contact-form button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--background-color);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.contact-info {
  flex: 1;
}

.contact-name {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.contact-phone {
  color: var(--text-light);
  font-size: 0.9rem;
}

.contact-actions {
  display: flex;
  gap: 0.5rem;
}

.call-btn {
  background: var(--success-color);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-weight: bold;
}

.call-btn:hover {
  background: #45a049;
}

.contact-delete {
  background: var(--error-color);
  color: white;
  border: none;
  padding: 0.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-delete svg {
  width: 18px;
  height: 18px;
}

.contact-delete:hover {
  background: #d32f2f;
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--background-color);
  border-top: 2px solid var(--border-color);
  display: none;
  z-index: 1000;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 0;
  }
}

.bottom-nav-btn {
  background: transparent;
  border: none;
  color: var(--text-light);
  padding: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  font-size: 0.75rem;
}

.bottom-nav-btn svg {
  width: 24px;
  height: 24px;
}

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

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

.bottom-nav-btn span {
  font-size: 0.7rem;
  font-weight: 500;
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--background-color);
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .header {
    padding: 0.75rem 0;
  }
  
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    gap: 0.5rem;
  }
  
  .logo {
    font-size: 1.2rem;
  }
  
  .logo-icon {
    width: 24px;
    height: 24px;
  }
  
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .preparation-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .checklist-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  
  .stat-card {
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .monitoring-dashboard {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .symptom-form,
  .temperature-form,
  .contact-form {
    flex-direction: column;
  }
  
  .reminder-form {
    flex-direction: column;
  }
  
  .equipment-grid {
    grid-template-columns: 1fr;
  }
  
  .category-tabs {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .tab-btn {
    flex: 1;
    min-width: calc(50% - 0.25rem);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .weather-widget {
    padding: 1rem;
  }
  
  .weather-info {
    flex-direction: row;
    align-items: center;
  }
  
  .weather-icon {
    width: 40px;
    height: 40px;
  }
  
  .temperature {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 1.5rem;
  }
  
  .preparation-card,
  .add-task-section,
  .equipment-wishlist,
  .emergency-contacts {
    padding: 1rem;
  }
  
  .weather-widget {
    padding: 1rem;
  }
  
  .weather-info {
    flex-direction: row;
    text-align: left;
  }
  
  .checklist-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .checklist-actions {
    margin-left: 0;
    flex-wrap: wrap;
  }
  
  .bottom-nav-btn span {
    font-size: 0.65rem;
  }
  
  .bottom-nav-btn svg {
    width: 20px;
    height: 20px;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus Styles for Accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.6);
  }
}

/* Print Styles */
@media print {
  .navigation,
  .footer {
    display: none;
  }
  
  .section {
    display: block !important;
    page-break-inside: avoid;
  }
  
  .preparation-card,
  .checklist-item,
  .equipment-item {
    page-break-inside: avoid;
  }
}
