#rnv2-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.rnv2-modal__backdrop {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 20px;
}

.rnv2-modal__panel {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: rnv2-modal-in 0.25s ease-out;
}

@keyframes rnv2-modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.rnv2-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  font-size: 22px;
  color: #9ca3af;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rnv2-modal__close:hover { background: #f3f4f6; color: #374151; }

.rnv2-modal__title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  text-align: center;
}

.rnv2-modal__body { display: flex; flex-direction: column; gap: 16px; }

.rnv2-modal__section { display: flex; flex-direction: column; align-items: center; gap: 10px; }

.rnv2-modal__price {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  color: #111827;
}

.rnv2-modal__channels { display: flex; gap: 10px; width: 100%; }

.rnv2-modal__btn {
  flex: 1;
  min-height: 44px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.rnv2-modal__btn:active { transform: scale(0.97); }

.rnv2-modal__btn--pay {
  background: linear-gradient(135deg, #6c5ce7, #a29bfe);
  color: #fff;
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.rnv2-modal__btn--pay:hover {
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.rnv2-modal__btn--code {
  width: 100%;
  background: #f3f4f6;
  color: #374151;
}

.rnv2-modal__btn--code:hover { background: #e5e7eb; }

.rnv2-modal__input {
  width: 100%;
  min-height: 44px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.rnv2-modal__input:focus { border-color: #6c5ce7; }

.rnv2-modal__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #9ca3af;
  font-size: 12px;
}

.rnv2-modal__divider::before,
.rnv2-modal__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.rnv2-modal__status {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
  text-align: center;
  min-height: 18px;
}

.rnv2-modal__error {
  margin: 0;
  font-size: 13px;
  color: #ef4444;
  text-align: center;
  min-height: 18px;
}

.rnv2-modal__error:empty {
  display: none;
}

.rnv2-modal__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: -2px;
}

.rnv2-modal__link {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dbe4ff;
  border-radius: 10px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.rnv2-modal__link:hover {
  background: #e0e7ff;
}
