/* Enhanced Upgrade Prompt Styles */

.upgrade-prompt-v2 {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.upgrade-prompt-v2[hidden] {
  display: none;
}

.upgrade-prompt-v2__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 50%);
  backdrop-filter: blur(4px);
}

.upgrade-prompt-v2__modal {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 25%);
  animation: upgrade-prompt-in 0.3s ease;
}

@keyframes upgrade-prompt-in {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.upgrade-prompt-v2__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 8px;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.15s ease;
}

.upgrade-prompt-v2__close:hover {
  background: #f3f4f6;
  color: #111827;
}

.upgrade-prompt-v2__header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.upgrade-prompt-v2__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  border-radius: 16px;
}

.upgrade-prompt-v2__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem;
}

.upgrade-prompt-v2__subtitle {
  font-size: 1rem;
  color: #6b7280;
  margin: 0;
}

.upgrade-prompt-v2__features {
  background: #f9fafb;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.upgrade-prompt-v2__features-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 0.75rem;
}

.upgrade-prompt-v2__feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.upgrade-prompt-v2__feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: #111827;
}

.upgrade-prompt-v2__feature-check {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #22c55e;
  color: white;
  border-radius: 50%;
  flex-shrink: 0;
}

.upgrade-prompt-v2__tiers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f3f4f6;
  border-radius: 12px;
}

.upgrade-prompt-v2__tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.upgrade-prompt-v2__tier-label {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.upgrade-prompt-v2__tier-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
}

.upgrade-prompt-v2__tier--target .upgrade-prompt-v2__tier-name {
  color: #3b82f6;
}

.upgrade-prompt-v2__tier-arrow {
  font-size: 1.25rem;
  color: #9ca3af;
}

.upgrade-prompt-v2__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.upgrade-prompt-v2__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  border: none;
}

.upgrade-prompt-v2__btn--primary {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
}

.upgrade-prompt-v2__btn--primary:hover {
  box-shadow: 0 4px 12px rgb(59 130 246 / 40%);
  transform: translateY(-1px);
}

.upgrade-prompt-v2__btn--secondary {
  background: transparent;
  color: #6b7280;
}

.upgrade-prompt-v2__btn--secondary:hover {
  color: #111827;
  background: #f3f4f6;
}

.upgrade-prompt-v2__footer {
  text-align: center;
  font-size: 0.75rem;
  color: #9ca3af;
  margin: 1rem 0 0;
}

.upgrade-prompt-v2__footer a {
  color: #6b7280;
  text-decoration: underline;
}

/* Legacy upgrade prompt */
.upgrade-prompt {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  max-width: 400px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgb(0 0 0 / 10%);
  padding: 1rem;
  z-index: 1000;
}

.upgrade-prompt[hidden] {
  display: none;
}

.upgrade-prompt__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.upgrade-prompt__message {
  font-size: 0.9375rem;
  color: #374151;
  margin: 0;
}

.upgrade-prompt__actions {
  display: flex;
  gap: 0.5rem;
}
