/* Styling für die neue Wochenansicht */

.week-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

@media (min-width: 576px) {
    .week-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .week-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1400px) {
    .week-grid {
        grid-template-columns: repeat(7, 1fr);
    }
}

.day-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.day-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

.day-card.is-today {
    border: 2px solid #0d6efd;
    box-shadow: 0 10px 15px -3px rgba(13, 110, 253, 0.1), 0 4px 6px -2px rgba(13, 110, 253, 0.05);
}

.day-card.is-today .day-header {
    background-color: rgba(13, 110, 253, 0.03);
    border-bottom: 1px solid rgba(13, 110, 253, 0.12);
}

.day-header {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    border-top-left-radius: 11px;
    border-top-right-radius: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.day-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.15rem;
}

.day-date {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

.day-card.is-today .day-name {
    color: #0d6efd;
}

.day-body {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: #fafbfc;
    border-bottom-left-radius: 11px;
    border-bottom-right-radius: 11px;
}

.day-card.is-today .day-body {
    background-color: #ffffff;
}

.event-badge {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.termin-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.day-card.is-today .termin-item {
    background-color: #fafbfc;
    border-color: #e2e8f0;
}

.termin-item:last-child {
    margin-bottom: 0;
}

.termin-time {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.termin-discipline {
    font-size: 0.8rem;
    font-weight: 600;
    color: #0284c7;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.duty-list {
    border-top: 1px dashed #e2e8f0;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

.duty-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
    font-size: 0.78rem;
    border-bottom: 1px solid #f8fafc;
}

.duty-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.duty-label {
    color: #64748b;
    font-weight: 500;
}

.duty-value {
    color: #334155;
    font-weight: 600;
}

.no-work {
    color: #94a3b8;
    font-size: 0.85rem;
    font-style: italic;
    text-align: center;
    margin: auto 0;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
