@charset "utf-8";
/* CSS Document */

/* ===== CALENDAR (angepasst an Global Styles) ===== */

/* Container */
#calendar-container {
  background: rgba(255, 255, 255, 0.6);
  width: max-content;
  max-width: 100%;
  font-family: Verdana, sans-serif;
  font-size: 10px;
  color: #444;
  box-sizing: border-box;
}

/* Navigation */
#calendar-nav {
  background: #626262;
  color: #eee;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  font-family: Verdana, sans-serif;
  font-size: 10px;
}

#calendar-nav button {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 10px;
  cursor: pointer;
  font-family: Verdana, sans-serif;
}

#calendar-nav button:hover {
  color: #bdbdbd;
}

#calendar-title {
  text-align: center;
  flex: 1;
  font-weight: bold;
  color: #f5f5f5;
}

/* Calendar Grid */
#calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: rgba(255, 255, 255, 0.3);
}

/* Wochentage */
.weekday {
  background: rgba(230, 230, 230, 0.8);
  font-weight: bold;
  padding: 5px;
  text-transform: uppercase;
  text-align: center;
  font-family: Verdana, sans-serif;
  font-size: 10px;
  color: #555;
}

/* Tage */
.day {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 32px;
  background: rgba(255, 255, 255, 0.5);
  color: #444;
  font-family: Verdana, sans-serif;
  font-size: 10px;
  transition: background 0.2s ease;
}

.day:hover {
  background: rgba(230, 230, 230, 0.7);
}

/* Alternierende Zeilen */
.alt-row {
  background: rgba(240, 240, 240, 0.6);
}

/* Aktueller Tag */
.current-day {
  font-weight: bold;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
}

/* Tage außerhalb des Monats */
.adjacent-month {
  opacity: 0.4;
  color: #999;
}

/* Zahlen & Icons */
.number-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* Events & Tooltips */
.event-icon {
  cursor: help;
  display: inline-block;
  position: relative;
  font-size: 10px;
  color: #777;
}

.tooltip {
  display: none;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: #444;
  color: #fff;
  padding: 4px 8px;
  white-space: nowrap;
  border-radius: 4px;
  font-family: Verdana, sans-serif;
  font-size: 9px;
  z-index: 10;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.event-icon:hover .tooltip {
  display: block;
}
