.sched-window {
  position: fixed;
  background-color: #030303;
  border: 3px solid #555;
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
  font-family: Consolas, monospace;
  font-size: 12px;
  color: #e0e0e0;
  display: flex;
  flex-direction: column;
}

.sched-window.ui-draggable-dragging {
  opacity: 0.95;
  box-shadow: 0 0 25px rgba(85, 85, 85, 0.5);
}

.sched-window-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background-color: #0a0a0a;
  border-bottom: 2px solid #555;
  cursor: grab;
  user-select: none;
  flex-shrink: 0;
}

.sched-window-header:active {
  cursor: grabbing;
}

.sched-window-title {
  font-weight: bold;
  color: #AAA;
}

.sched-window-close {
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 18px;
  color: #888;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.sched-window-close:hover {
  color: #ff4444;
  background-color: #333;
}

.sched-window-body {
  flex: 1;
  padding: 0;
  overflow: hidden;
  background-color: #030303;
}

.sched-window-focused {
  border-color: #777;
  box-shadow: 0 0 20px rgba(85, 85, 85, 0.5);
}

.sched-window .ui-resizable-handle {
  background-image: none;
  background-color: transparent;
  border: 1px solid transparent;
}

.sched-window .ui-resizable-e,
.sched-window .ui-resizable-w {
  width: 5px;
  cursor: ew-resize;
}

.sched-window .ui-resizable-n,
.sched-window .ui-resizable-s {
  height: 5px;
  cursor: ns-resize;
}

/* corner handles */
.sched-window .ui-resizable-ne,
.sched-window .ui-resizable-sw {
  width: 15px;
  height: 15px;
  cursor: nesw-resize;
}

.sched-window .ui-resizable-nw,
.sched-window .ui-resizable-se {
  width: 15px;
  height: 15px;
  cursor: nwse-resize;
}

.sched-window .ui-resizable-handle:hover {
  background-color: #555;
}
