/* Event Palette (Admin Only) */
.event-palette {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: rgba(255,255,255,0.9);
  border: 2px solid #E28B4B;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 900px;
  width: 100%;
}

.palette-label {
  font-weight: bold;
  color: #E28B4B;
}

.event-item {
  padding: 8px 16px;
  background: white;
  border: 2px dashed #999;
  border-radius: 6px;
  cursor: grab;
  font-size: 16px;
  transition: all 0.2s;
}

.event-item:hover {
  border-color: #E28B4B;
  transform: scale(1.05);
}

.event-item:active {
  cursor: grabbing;
}

.event-duration {
  font-size: 11px;
  color: #999;
}

/* Event Edit Dialog */
.event-edit-dialog {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border: 3px solid #E28B4B;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 10000;
  min-width: 300px;
}

.event-edit-dialog.show {
  display: block;
}

.event-edit-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
}

.event-edit-overlay.show {
  display: block;
}

.event-edit-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #E28B4B;
}

.event-edit-type-selector {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.event-type-btn {
  flex: 1;
  padding: 12px;
  font-size: 20px;
  border: 2px solid #ccc;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
}

.event-type-btn:hover {
  border-color: #E28B4B;
  transform: scale(1.05);
}

.event-type-btn.active {
  border-color: #E28B4B;
  background: #fff5e6;
  box-shadow: 0 0 0 2px #E28B4B;
}

.event-edit-info {
  margin: 15px 0;
  padding: 10px;
  background: #f5f5f5;
  border-radius: 6px;
  font-size: 13px;
}

.event-edit-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.event-edit-actions button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-save {
  background: #E28B4B;
  color: white;
}

.btn-save:hover {
  background: #d17a3a;
}

.btn-delete {
  background: #dc3545;
  color: white;
}

.btn-delete:hover {
  background: #c82333;
}

.btn-cancel {
  background: #6c757d;
  color: white;
}

.btn-cancel:hover {
  background: #5a6268;
}
