#calendar-wrapper {
    font-family: Arial, sans-serif;
    max-width: 360px;
    margin-bottom: 10px;
}

#calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

#calendar-header .nav-button {
  background-color: #0073aa; /* WP Dunkelblau */
  border: none;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
}

#calendar-header .nav-button:hover {
  background-color: #005177; /* dunkler beim Hover */
}

.calendar-title {
  font-weight: bold;
  font-size: 18px;
  line-height: 1;
  user-select: none;
}

.nav-button {
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 3px 7px;
    font-size: 1.2em;
    cursor: pointer;
}

.calendar-title {
    font-size: 1.1em;
}

#calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 3px;
    color: #666;
    font-weight: 600;
}

.calendar-weekday {
    text-align: center;
    font-size: 0.8em;
    padding: 3px 0;
}

#calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.calendar-day {
    background-color: #eee;
    padding: 8px 0;
    text-align: center;
    font-size: 0.9em;
    cursor: pointer;
    border-radius: 3px;
    user-select: none;
    transition: background-color 0.3s ease;
}

.calendar-day.selected {
    background-color: #0073aa;
    color: white;
    font-weight: bold;
}

.calendar-day.disabled {
    background-color: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}

.calendar-day.empty {
    background-color: transparent;
    cursor: default;
}

#save-vote {
    background-color: #0073aa;
    border: none;
    color: white;
    padding: 6px 15px;
    cursor: pointer;
    border-radius: 3px;
}

#vote-results {
    font-size: 0.9em;
    margin-top: 10px;
}

#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #0073aa;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateX(100%);
  animation: slideIn 0.4s forwards, fadeOut 0.4s 3.6s forwards;
  font-family: Arial, sans-serif;
  font-size: 14px;
  max-width: 300px;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

#vote-results h3 {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.2em;
    color: #0073aa;
}

#vote-results table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#vote-results th, #vote-results td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: left;
    font-size: 0.9em;
}

#vote-results th {
    background-color: #0073aa;
    color: white;
    font-weight: 600;
}

#vote-results tr:nth-child(even) {
    background-color: #f9f9f9;
}

#vote-results caption {
    caption-side: top;
    font-weight: 700;
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #002050;
}

.dvc-tabs {
    margin-top: 20px;
    font-family: sans-serif;
}

.dvc-tab-buttons {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.dvc-tab-btn {
    padding: 8px 16px;
    background-color: #0073aa !important;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dvc-tab-btn.active {
    background-color: #004080;
    color: white;
    border-bottom: 2px solid #0073aa;
	font-weight:bold;
}

.dvc-tab-content {
    display: none;
    animation: fadein 0.5s ease;
}

.dvc-tab-content.active {
    display: block;
}

@keyframes fadein {
    from { opacity: 0; }
    to { opacity: 1; }
}

.vote-divider {
    margin: 2rem 0 1rem;
    border: none;
    border-top: 2px solid #ccc;
    width: 100%;
}
