/* Schedule specific styles */
.filament-main {
    background-color: #f8fafc;
}

.filament-main-content {
    padding: 1.5rem;
}

/* Calendar grid */
table {
    border-collapse: separate;
    border-spacing: 0;
}

th, td {
    vertical-align: top;
}

/* Shift styles based on colors from the screenshot */
.shift-item {
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    max-height: 100px;
    max-width: 100px;
    min-width: 100px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #4b5563;
}

.shift-item:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* All day event */
.all-day {
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #4b5563;
}

/* Empty cell hover effect */
td > div > div:empty {
    height: 100%;
    min-height: 80px;
    cursor: pointer;
}

td > div > div:empty:hover {
    background-color: rgba(59, 130, 246, 0.05);
}

/* Sortable styles */
.sortable-ghost {
    opacity: 0.4;
}

.sortable-chosen {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Department header */
.department-header {
    background-color: #f9fafb;
    font-weight: 500;
}

/* Add people button */
.add-people {
    color: #2563eb;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    padding: 0.5rem 0;
}

.add-people:hover {
    color: #1d4ed8;
}

/* Filter button */
.filter-button {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* View toggle */
.view-toggle {
    display: flex;
    background-color: #f3f4f6;
    border-radius: 0.375rem;
    padding: 0.25rem;
}

.view-toggle button {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
}

.view-toggle button.active {
    background-color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.case_description {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Anzahl der maximal sichtbaren Zeilen */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dragging {
    opacity: .5;
    border: 2px dashed #707070
}

.dark .dragging {
    opacity: .5;
    border: 2px dashed #d3d3d3
}

.drop-target {
    border: 2px solid #707070;
    background-color: #f3f4f6;
    transform: translateY(2px);
    transition: all .2s ease
}

.dark .drop-target {
    border: 2px solid #d3d3d3;
    transform: translateY(2px);
    transition: all .2s ease
}

.shift-cell.drop-hover {
    outline: 2px dashed #3b82f6; /* Tailwind blue-500 */
    outline-offset: -4px;
    background-color: #eff6ff; /* blue-50 */
    transition: background-color 0.2s ease, outline 0.2s ease;
}

.fi-row-locked {
    overflow: hidden;
}

.fi-row-locked div.flex-1::after {
    content: "🔒 Locked";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-17deg);
    width: 150%;
    background: rgba(120, 0, 0, 0.1);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.4em 0;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0.5;
}