/* Rotating signup message — teal / mint gradient */
.signup-rotating-message {
  text-align: center;
  padding: 16px 18px;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: #FFFFFF;
  border-radius: 10px;
  background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
  border: none;
  box-shadow: 0 2px 8px rgba(78, 205, 196, 0.15);
  transition: opacity 0.5s ease-in-out, transform 0.2s ease, box-shadow 0.2s ease;
}

.signup-rotating-message:hover {
  box-shadow: 0 4px 14px rgba(78, 205, 196, 0.28);
  transform: translateY(-1px);
}

/* Affiliate banner text size */
.affiliate-banner-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.affiliate-banner-title {
  font-weight: 700;
}

/* Arrow tooltip */
.arrow-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #0f172a;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14);
  z-index: 100;
  pointer-events: none;
}

.arrow-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 14px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #ffffff;
}

.currency-arrow-btn:hover .arrow-tooltip,
.currency-arrow-btn:focus-visible .arrow-tooltip {
  display: block;
}

body.logged-in .arrow-tooltip {
  display: none !important;
}

/* Modal */
.signup-funnel-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.55);
  animation: signupFunnelFadeIn 0.18s ease-out;
}

.signup-funnel-modal.hidden {
  display: none;
}

.signup-funnel-modal__content {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 24px 20px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.25);
  animation: signupFunnelSlideIn 0.28s ease-out;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

@keyframes signupFunnelFadeIn {
  from { background: rgba(15, 23, 42, 0); }
  to   { background: rgba(15, 23, 42, 0.55); }
}

@keyframes signupFunnelSlideIn {
  from { opacity: 0; transform: translateY(-12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.signup-funnel-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 22px;
  color: #94a3b8;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.signup-funnel-modal__close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.signup-funnel-modal__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #0f172a;
}

.signup-funnel-modal__subtitle {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 18px;
}

.signup-funnel-modal__benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.signup-funnel-modal__benefits li {
  font-size: 14px;
  line-height: 1.6;
  color: #0f172a;
  padding: 11px 0 11px 28px;
  position: relative;
  border-bottom: 1px solid #f1f5f9;
}

.signup-funnel-modal__benefits li:last-child {
  border-bottom: none;
}

.signup-funnel-modal__benefits li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 9px;
  color: #059669;
  font-size: 16px;
  font-weight: 700;
}

.signup-funnel-modal__actions {
  display: flex;
  gap: 8px;
}

.signup-funnel-modal__btn-primary {
  flex: 1;
  background: #1D4ED8;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  min-height: 44px;
}

.signup-funnel-modal__btn-primary:hover {
  background: #1E40AF;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.25);
}

.signup-funnel-modal__btn-secondary {
  background: transparent;
  color: #475569;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 14px;
  cursor: pointer;
  min-height: 44px;
}

.signup-funnel-modal__btn-secondary:hover {
  background: #f8fafc;
  color: #0f172a;
}
