.dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.dialog-content {
  background: var(--bg-secondary, #2a2a2a);
  border: 1px solid var(--border-color, #404040);
  border-radius: 8px;
  min-width: 450px;
  max-width: 600px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: slideIn 0.2s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.dialog-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color, #404040);
}

.dialog-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary, #e0e0e0);
}

.dialog-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dialog-body label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary, #e0e0e0);
  margin-bottom: 4px;
}

.dialog-body input[type="text"] {
  padding: 10px 12px;
  background: var(--bg-primary, #1e1e1e);
  border: 1px solid var(--border-color, #404040);
  border-radius: 4px;
  color: var(--text-primary, #e0e0e0);
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
}

.dialog-body input[type="text"]:focus {
  border-color: #4a9eff;
  box-shadow: 0 0 0 2px rgba(74, 158, 255, 0.2);
}

.dialog-error {
  color: #ff6b6b;
  font-size: 13px;
  margin-top: -6px;
}

.dialog-hint {
  font-size: 12px;
  color: var(--text-secondary, #999);
  margin-top: -4px;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

.dialog-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border-color, #404040);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.dialog-button {
  padding: 8px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.dialog-button-secondary {
  background: var(--bg-hover, #3a3a3a);
  color: var(--text-primary, #e0e0e0);
}

.dialog-button-secondary:hover {
  background: var(--bg-active, #4a4a4a);
}

.dialog-button-primary {
  background: #4a9eff;
  color: white;
}

.dialog-button-primary:hover {
  background: #6bb0ff;
}

.dialog-button:active {
  transform: scale(0.98);
}
