.ndk-frontend-week, .ndk-frontend-list { background: #f9f9f9; padding: 16px; border-radius: 8px; }
.ndk-frontend-list { display: flex; flex-direction: column; gap: 12px; }
.ndk-frontend-eintrag { background: #fff; border: 1px solid #ddd; padding: 12px; border-radius: 6px; }

.fc .fc-toolbar-title {
  font-size: 1em;
  margin-bottom: 0.5em;
}
.fc .fc-button {
  background: #222;
  color: #fff;
  border: none;
  border-radius: 4px;
  margin: 0 2px;
  padding: 0.5em 1em;
  cursor: pointer;
}
.fc .fc-button-active, .fc .fc-button:active {
  background: #666;
}
.fc .fc-button:focus {
  outline: 2px solid #c00;
}
.fc .fc-list-day {
  background: #f8f8f8;
  color: #a00;
  font-weight: bold;
}
.fc .fc-list-event {
  background: #fff;
  border-bottom: 1px solid #eee;
}

/* Hervorhebung des heutigen Tages */
.fc-day-today {
    background-color: rgba(var(--fc-today-bg-color, 255, 220, 40), 0.15) !important;
    border: 2px solid rgba(var(--fc-today-bg-color, 255, 220, 40), 0.5) !important;
}

/* Verbesserte Lesbarkeit der Termine */
.fc-event-main-content {
    padding: 2px 4px;
}

.fc-event-title {
    font-weight: bold;
    margin-bottom: 2px;
}

.fc-event-time {
    font-size: 0.9em;
    opacity: 0.9;
}

/* Modal Styles */
#ndk-frontend-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}


.ndk-frontend-eintrag-modal {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    min-width: 320px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.ndk-frontend-eintrag-modal h4 {
    margin: -24px -24px 24px -24px;
    padding: 16px 24px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    border-radius: 8px 8px 0 0;
}

.ndk-frontend-eintrag-modal div {
    margin-bottom: 12px;
    line-height: 1.4;
}

.ndk-frontend-eintrag-modal strong {
    display: inline-block;
    min-width: 80px;
    color: #666;
}

.ndk-frontend-eintrag-modal a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.2s;
}

.ndk-frontend-eintrag-modal a:hover {
    color: #005177;
    text-decoration: underline;
}

.ndk-frontend-msg {
    margin-top: 16px;
    padding-top: 16px;
    font-size: 18px;
    border-top: 1px solid #eee;
    font-style: italic;
    color: #666;
}

#ndk-frontend-close {
    display: block;
    width: 100%;
    padding: 8px;
    margin-top: 16px;
    border: none;
    background: #0073aa;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

#ndk-frontend-close:hover {
    background: #005d8c;
}

.fc .fc-day-today {
    background-color: rgba(255, 220, 40, 0.15) !important;
}

.fc .fc-day-today {
    border: 2px solid rgba(255, 220, 40, 0.5) !important;
}

.fc .fc-day-today .fc-daygrid-day-number,
.fc .fc-day-today .fc-col-header-cell-cushion,
.fc .fc-list-day.fc-day-today .fc-list-day-text,
.fc .fc-list-day.fc-day-today .fc-list-day-side-text {
    font-weight: bold;
    color: #000 !important;
}

/* Minimales Styling für Heute-Shortcode */
.ndk-heute-liste {
    margin: 1em 0;
}

.ndk-heute-leer {
    text-align: center;
    font-style: italic;
}

.ndk-heute-eintrag {
    margin-bottom: 1.5em;
    padding: 1em;
    border-left: 4px solid #0073aa;
    background: rgba(0,115,170,0.03);
}

.ndk-heute-eintrag:last-child {
    margin-bottom: 0;
}

.ndk-heute-eintrag strong {
    display: inline-block;
    min-width: 80px;
}

.ndk-heute-nachricht {
    margin-top: 1em;
    padding-top: 1em;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.ndk-current-liste {
    margin: 1em 0;
}

.ndk-current-leer {
    text-align: center;
    font-style: italic;
}

.ndk-current-eintrag {
    margin-bottom: 1.5em;
    padding: 1em;
    border-left: 4px solid #00aa73; 
    background: rgba(0,170,115,0.03);
}

.ndk-current-eintrag:last-child {
    margin-bottom: 0;
}

.ndk-current-eintrag strong {
    display: inline-block;
    min-width: 80px;
}

.ndk-current-nachricht {
    margin-top: 1em;
    padding-top: 1em;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.ndk-details-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.ndk-details-table th {
    background: #f0f0f0;
    padding: 8px;
    text-align: left;
    border-bottom: 2px solid #ddd;
}

.ndk-details-table td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.ndk-details-table tr:last-child td {
    border-bottom: none;
}

.ndk-frontend-msg {
    padding: 15px 8px;
    background: #f9f9f9;
}
