.shift-assignment-timeline-dialog {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.shift-assignment-timeline-dialog .dialog-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
    padding: 24px;
}

.shift-assignment-timeline-dialog .assignment-timeline {
    overflow-x: auto;
}

.shift-assignment-timeline-dialog .timeline-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.shift-assignment-timeline-dialog .timeline-sub {
    color: #475569;
    font-size: 0.95rem;
}

.shift-assignment-timeline-dialog .bulk-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shift-assignment-timeline-dialog .bulk-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shift-assignment-timeline-dialog .bulk-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shift-assignment-timeline-dialog .field-label {
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 600;
}

.shift-assignment-timeline-dialog .bulk-actions {
    display: flex;
    justify-content: flex-end;
}

.shift-assignment-timeline-dialog .timeline-scale {
    position: relative;
    height: 32px;
    margin-bottom: 16px;
    padding-left: 0;
}

.shift-assignment-timeline-dialog .scale-mark {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: #94a3b8;
}

.shift-assignment-timeline-dialog .timeline-rows {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.shift-assignment-timeline-dialog .timeline-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shift-assignment-timeline-dialog .timeline-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #0f172a;
    font-weight: 600;
}

.shift-assignment-timeline-dialog .label-name {
    font-weight: 700;
}

.shift-assignment-timeline-dialog .label-day {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
}

.shift-assignment-timeline-dialog .timeline-track {
    position: relative;
    height: 44px;
    border-radius: 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.shift-assignment-timeline-dialog .timeline-bar {
    position: absolute;
    top: 6px;
    height: calc(100% - 12px);
    border-radius: 10px;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 0 10px;
    font-size: 0.8rem;
    cursor: grab;
}

.shift-assignment-timeline-dialog .timeline-bar:active {
    cursor: grabbing;
}

.shift-assignment-timeline-dialog .handle {
    width: 10px;
    height: 100%;
    border-radius: 999px;
    background: #2563eb;
}

.shift-assignment-timeline-dialog .bar-label {
    font-weight: 600;
    white-space: nowrap;
}

.shift-assignment-timeline-dialog .dialog-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.shift-assignment-timeline-dialog .rz-datepicker {
    border-radius: 12px;
    min-height: 44px;
}

@media (min-width: 900px) {
    .shift-assignment-timeline-dialog .timeline-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .shift-assignment-timeline-dialog .bulk-row {
        flex-direction: row;
        align-items: flex-end;
    }

    .shift-assignment-timeline-dialog .bulk-field {
        flex: 1;
    }

    .shift-assignment-timeline-dialog .timeline-row {
        flex-direction: row;
        align-items: center;
    }

    .shift-assignment-timeline-dialog .timeline-label {
        min-width: 200px;
    }

    .shift-assignment-timeline-dialog .timeline-scale {
        padding-left: 200px;
    }
}
