.vibemap-modal {
  padding: 0;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  max-width: 450px;
  width: 90%;
  animation: modalSlideIn 0.3s ease-out;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  line-height: 1.6;
}

.vibemap-modal[closing] {
  animation: modalSlideOut 0.2s ease-in;
}

.vibemap-modal::backdrop {
  background: rgba(0,0,0,0.5);
  animation: backdropFadeIn 0.3s ease-out;
}

.vibemap-modal[closing]::backdrop {
  animation: backdropFadeOut 0.2s ease-in;
}

.vibemap-modal-content {
  padding: 30px;
  position: relative;
}

.vibemap-modal-content h2 {
  margin: 0 0 15px 0;
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
}

.vibemap-modal-content p {
  margin: 0 0 25px 0;
  color: #666;
  font-size: 16px;
}

.vibemap-modal-close {
  position: absolute;
  right: 15px;
  top: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  color: #666;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.vibemap-modal-close:hover {
  background-color: rgba(0,0,0,0.05);
}

.vibemap-form {
  margin-top: 25px;
}

.vibemap-form-group {
  margin-bottom: 20px;
}

.vibemap-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #1a1a1a;
}

.vibemap-form-group input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e1e1e1;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.vibemap-form-group input:focus {
  outline: none;
  border-color: var(--vibemap-bookmarks-icon-color, #3498db);
}

.vibemap-btn {
  background: var(--vibemap-bookmarks-icon-color, #3498db);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  transition: opacity 0.2s;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.vibemap-btn:hover {
  opacity: 0.9;
}

.vibemap-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

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

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

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

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