/* Greeting + Weather + TODOs section styling */

.greeting-section {
  background: linear-gradient(135deg, #0a0a0a 0%, #111 100%);
  border: 1px solid #2a3a4a;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.greeting-section h2 {
  margin: 0 0 8px 0;
  font-size: 22px;
  color: #f5f5f5;
  line-height: 1.2;
}

.greeting-text {
  margin: 0 0 16px 0;
  font-size: 14px;
  color: #b0b0b0;
  line-height: 1.4;
}

/* Weather Forecast Cards */
.weather-forecast {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #2a2a2a;
}

.weather-forecast h3 {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #e0e0e0;
  font-weight: 600;
}

.weather-cards {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.weather-card {
  flex: 0 0 auto;
  min-width: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.weather-date {
  font-size: 12px;
  font-weight: 600;
  color: #8cc8ff;
}

.weather-icon {
  font-size: 20px;
  line-height: 1;
}

.weather-temp {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
}

.weather-temp .max {
  color: #ff6b6b;
  font-weight: 600;
}

.weather-temp .min {
  color: #5eb3d8;
}

.weather-rain {
  font-size: 11px;
  color: #7eb3d4;
}

/* Open TODOs Section */
.open-todos-section {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #2a2a2a;
}

.open-todos-section h3 {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: #e0e0e0;
  font-weight: 600;
}

.todos-quick-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.todo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border-left: 3px solid #3a3a3a;
}

.todo-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.todo-priority {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex: 0 0 auto;
}

.todo-item a span:last-child {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #8cc8ff;
}

.todo-item:hover {
  background: rgba(50, 100, 150, 0.2);
  border-left-color: #5eb3d8;
}

/* Responsive: stacked weather on mobile */
@media (max-width: 576px) {
  .greeting-section {
    padding: 14px;
  }

  .greeting-section h2 {
    font-size: 18px;
  }

  .weather-cards {
    gap: 8px;
  }

  .weather-card {
    min-width: 85px;
    padding: 8px;
    font-size: 11px;
  }

  .weather-icon {
    font-size: 18px;
  }

  .todo-item {
    padding: 4px 8px;
    font-size: 13px;
  }
}

/* 7-Tage Wetter (optional erweiterte Ansicht) */
.weather-extended {
  margin-top: 8px;
  font-size: 12px;
  color: #888;
}

.weather-extended-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 4px;
  margin-top: 4px;
}

.weather-extended-item {
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  font-size: 11px;
  text-align: center;
}
