/* Script Section Styles */
#script-section {
    width: 100%;
    height: 100%;
 }
  
  .script-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
  }
  .script-editor {
    height: 80%;
    padding: 16px;
    background-color: var(--panel-bg);
    color: var(--text-primary);
  }
  .scenes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.scene-item {
  background-color: var(--bg-main);
  border-radius: 8px;
  padding: 16px;
  cursor: grab;
  border: 1px solid var(--border-color);
  position: relative;
}

.scene-item.dragging {
  opacity: 0.5;
  cursor: grabbing;
}

.scene-item:not(.dragging):hover {
  border-color: var(--accent);
}

.scene-item.drag-over {
    transform: translateY(2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}



.scene-drag-handle {
    cursor: grab;
    padding: 0 8px;
    color: var(--text-secondary);
    font-size: 16px;
    margin-right: 8px;
}
  
  .scene-drag-handle {
    cursor: grab;
    padding: 0 8px;
    color: var(--text-secondary);
    font-size: 16px;
    margin-right: 8px;
  }
  
  .scene-row {
    display: flex;
    align-items: center;
    padding: 4px 0;
  }
  
  .name-row {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
  }
  
  .name-content {
    flex: 1;
  }
  
  .timing-row {
    font-size: 13px;
    color: var(--text-primary);
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .scene-buttons {
    display: flex;
    gap: 8px;
    margin-left: auto;
  }
  
  .scene-button {
    padding: 6px 12px;
    border-radius: 6px;
    border: none;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  
  .scene-button.play {
    background-color: var(--success-color);
    color: white;
  }
  
  .scene-button.play:hover {
    background-color: #00b34a;
  }
  
  .scene-button.edit {
    background-color: var(--accent);
    color: white;
  }
  
  .scene-button.edit:hover {
    background-color: #6b6b6b;
  }
  
  .scene-button.delete {
    background-color: #dc3545;
    color: white;
  }
  
  .scene-button.delete:hover {
    background-color: #c82333;
  }
  
  .scene-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }