.dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.dialog {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 10px;
  padding: 1.5rem;
  width: 280px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.dialog h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #f9fafb;
}

.dialog form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dialog label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.dialog label input[type="text"] {
  background: #111827;
  border: 1px solid #4b5563;
  border-radius: 5px;
  color: #e5e7eb;
  padding: 0.4rem 0.6rem;
  font-size: 0.9rem;
  outline: none;
}

.dialog label input[type="text"]:focus {
  border-color: #6366f1;
}

.dialog label input[type="color"] {
  width: 48px;
  height: 32px;
  padding: 0;
  border: 1px solid #4b5563;
  border-radius: 5px;
  cursor: pointer;
  background: none;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.btn-primary {
  background: #6366f1;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.12s;
}

.btn-primary:hover {
  background: #4f46e5;
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-secondary {
  background: #374151;
  color: #e5e7eb;
  border: none;
  border-radius: 5px;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.12s;
}

.btn-secondary:hover {
  background: #4b5563;
}
