/* ==========================================================================
   CAPITAL VAPE — DISEÑO 3: ACCESO MAYORISTA CON CONTRASEÑA
   Estética tecnológica: Ciudad nocturna desenfocada, acentos dorados y violetas
   ========================================================================== */

.wholesale-access-modal {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: 
    radial-gradient(ellipse at 50% 30%, rgba(147, 51, 234, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(212, 175, 55, 0.2) 0%, transparent 60%),
    rgba(5, 3, 9, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 24px 16px;
  box-sizing: border-box;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.wholesale-access-modal.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.wholesale-pass-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: rgba(14, 9, 22, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1.5px solid rgba(212, 175, 55, 0.6);
  border-radius: 24px;
  padding: 34px 28px 28px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(212, 175, 55, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  box-sizing: border-box;
  animation: wsPassModalPop 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes wsPassModalPop {
  0% { transform: scale(0.94) translateY(12px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.wholesale-pass-icon-ring {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.wholesale-pass-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  margin: 0 0 6px 0;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.wholesale-pass-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 22px 0;
  line-height: 1.4;
}

.wholesale-pass-alert {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #FCA5A5;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  text-align: center;
}

.wholesale-pass-input-box {
  position: relative;
  margin-bottom: 18px;
  width: 100%;
}

.wholesale-pass-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(6, 4, 10, 0.85);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  padding: 14px 48px 14px 16px;
  font-size: 0.96rem;
  color: #FFFFFF;
  letter-spacing: 0.08em;
  outline: none;
  transition: all 0.25s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

.wholesale-pass-input:focus {
  border-color: #FACC15;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4), inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

.btn-toggle-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.btn-toggle-eye:hover {
  opacity: 1;
}

.wholesale-pass-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.btn-submit-wholesale-pass {
  background: linear-gradient(135deg, #D4AF37 0%, #B45309 100%);
  color: #07040A;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 13px 18px;
  border-radius: 12px;
  border: 1px solid rgba(250, 204, 21, 0.6);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45);
  transition: all 0.2s ease;
}

.btn-submit-wholesale-pass:hover {
  background: linear-gradient(135deg, #FACC15 0%, #D4AF37 100%);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.65);
  transform: translateY(-2px);
}

.btn-back-to-selector {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 13px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-back-to-selector:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.wholesale-pass-footer-help {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.wholesale-pass-wa-link {
  display: inline-block;
  margin-top: 6px;
  color: #D4AF37;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.2s ease;
}

.wholesale-pass-wa-link:hover {
  color: #FACC15;
  text-decoration: underline;
}

@media (max-width: 440px) {
  .wholesale-pass-card {
    padding: 24px 18px 20px !important;
    border-radius: 18px !important;
  }

  .wholesale-pass-icon-ring {
    width: 52px !important;
    height: 52px !important;
    font-size: 1.4rem !important;
    margin-bottom: 12px !important;
  }

  .wholesale-pass-title {
    font-size: 1.35rem !important;
  }

  .wholesale-pass-actions {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .btn-submit-wholesale-pass,
  .btn-back-to-selector {
    padding: 12px 14px !important;
    font-size: 0.88rem !important;
  }
}
