/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.hidden {
  display: none !important;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: -1;
}

.modal-content {
  position: relative;
  max-width: 400px;
  width: 100%;
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: hsl(var(--text-primary));
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-base);
}

.modal-close:hover {
  color: hsl(var(--accent));
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: hsl(var(--text-primary));
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
