/* =========================================================
   CHATELITE — ACCOUNT VERIFICATION MODAL
   Premium verification gate
   ========================================================= */
.verification-step-copy-btn .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.verification-step-copy-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}
.verification-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 22px;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(79, 70, 229, 0.16),
      transparent 42%
    ),
    rgba(5, 7, 18, 0.82);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
}


.verification-overlay.is-open {
  opacity: 1;
  visibility: visible;
}


.verification-overlay.hidden {
  display: none;
}


/* =========================================================
   MODAL
   ========================================================= */

.verification-modal {
  position: relative;

  width: min(100%, 520px);
  max-height: calc(100vh - 44px);

  overflow-y: auto;

  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;

  background:
    linear-gradient(
      145deg,
      rgba(25, 28, 52, 0.98),
      rgba(12, 15, 31, 0.99)
    );

  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset,
    0 0 60px rgba(79, 70, 229, 0.08);

  transform:
    translateY(18px)
    scale(0.97);

  transition:
    transform 0.32s cubic-bezier(.22, 1, .36, 1);

  scrollbar-width: thin;
}


.verification-overlay.is-open
.verification-modal {
  transform:
    translateY(0)
    scale(1);
}


/* =========================================================
   TOP ACCENT
   ========================================================= */

.verification-modal::before {
  content: "";

  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;

  height: 2px;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      transparent,
      #6366f1,
      #8b5cf6,
      #6366f1,
      transparent
    );

  opacity: 0.9;
}


/* =========================================================
   HEADER
   ========================================================= */

.verification-header {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 25px 25px 20px;
}


.verification-icon {
  flex: 0 0 auto;

  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      rgba(99, 102, 241, 0.20),
      rgba(139, 92, 246, 0.10)
    );

  border: 1px solid rgba(129, 140, 248, 0.22);

  box-shadow:
    0 10px 30px rgba(79, 70, 229, 0.15);
}


.verification-icon .icon {
  width: 25px;
  height: 25px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #a5b4fc;
}


.verification-icon svg {
  width: 25px;
  height: 25px;
}


.verification-header > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}


.verification-header h2 {
  margin: 0;

  color: #f8fafc;

  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.02em;
}


.verification-header p {
  margin: 4px 0 0;

  color: #94a3b8;

  font-size: 13px;
  line-height: 1.45;
}


/* =========================================================
   CLOSE
   ========================================================= */

.verification-close {
  width: 34px;
  height: 34px;

  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;

  background: rgba(255, 255, 255, 0.035);

  color: #94a3b8;

  font-size: 21px;
  line-height: 1;

  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}


.verification-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: rotate(4deg);
}


/* =========================================================
   MESSAGE
   ========================================================= */

.verification-message {
  margin: 0 25px 18px;

  padding: 16px 17px;

  border: 1px solid rgba(99, 102, 241, 0.14);
  border-radius: 15px;

  background:
    linear-gradient(
      135deg,
      rgba(99, 102, 241, 0.075),
      rgba(255, 255, 255, 0.025)
    );
}


.verification-message strong {
  display: block;

  margin-bottom: 7px;

  color: #c7d2fe;

  font-size: 14px;
}


.verification-message p {
  margin: 7px 0 0;

  color: #94a3b8;

  font-size: 13px;
  line-height: 1.55;
}


/* =========================================================
   PRICE BOX
   ========================================================= */

.verification-price-box {
  position: relative;

  margin: 0 25px 20px;

  padding: 21px;

  overflow: hidden;

  text-align: center;

  border-radius: 18px;

  border: 1px solid rgba(250, 204, 21, 0.15);

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(250, 204, 21, 0.10),
      transparent 60%
    ),
    rgba(255, 255, 255, 0.025);
}


.verification-price-box::after {
  content: "";

  position: absolute;
  width: 150px;
  height: 150px;

  top: -100px;
  right: -60px;

  border-radius: 50%;

  background: rgba(139, 92, 246, 0.12);

  filter: blur(25px);
}


.verification-offer {
  position: relative;
  z-index: 1;

  display: inline-flex;

  padding: 5px 10px;

  margin-bottom: 8px;

  border-radius: 999px;

  background: rgba(250, 204, 21, 0.10);

  color: #fde68a;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}


.verification-old-price {
  position: relative;
  z-index: 1;

  color: #64748b;

  font-size: 13px;

  text-decoration: line-through;
}


.verification-price {
  position: relative;
  z-index: 1;

  margin-top: 2px;

  color: #fff;

  font-size: 34px;
  font-weight: 850;
  letter-spacing: -0.04em;
}


.verification-savings {
  position: relative;
  z-index: 1;

  margin-top: 2px;

  color: #4ade80;

  font-size: 12px;
  font-weight: 700;
}


.verification-price-note {
  position: relative;
  z-index: 1;

  margin-top: 8px;

  color: #64748b;

  font-size: 11px;
}


/* =========================================================
   PAYMENT SECTION
   ========================================================= */

.verification-payment-section {
  margin: 0 25px 15px;
}


.verification-payment-section h3 {
  margin: 0 0 9px;

  color: #e2e8f0;

  font-size: 13px;
  font-weight: 700;
}


.verification-payment-method {
  width: 100%;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 13px 14px;

  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 14px;

  background:
    linear-gradient(
      135deg,
      rgba(34, 197, 94, 0.09),
      rgba(255, 255, 255, 0.025)
    );

  color: #fff;

  text-align: left;
}


.verification-payment-method-icon {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 11px;

  background: rgba(34, 197, 94, 0.12);

  font-size: 18px;
}


.verification-payment-method > span:nth-child(2) {
  flex: 1;
}


.verification-payment-method strong {
  display: block;

  color: #f8fafc;

  font-size: 13px;
}


.verification-payment-method small {
  display: block;

  margin-top: 2px;

  color: #64748b;

  font-size: 11px;
}


.verification-payment-check {
  color: #4ade80;

  font-size: 16px;
  font-weight: 800;
}


/* =========================================================
   STK
   ========================================================= */

.verification-stk-section {
  margin: 0 25px 18px;
}


.verification-stk-label {
  display: block;

  margin-bottom: 7px;

  color: #cbd5e1;

  font-size: 12px;
  font-weight: 650;
}


.verification-stk-input-row {
  display: flex;
  align-items: center;

  height: 48px;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;

  background: rgba(255, 255, 255, 0.035);

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}


.verification-stk-input-row:focus-within {
  border-color: rgba(99, 102, 241, 0.55);

  box-shadow:
    0 0 0 3px rgba(99, 102, 241, 0.09);
}


.verification-stk-prefix {
  width: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #e2e8f0;

  font-size: 17px;
}


.verification-stk-input {
  flex: 1;

  height: 100%;

  border: 0;
  outline: 0;

  background: transparent;

  color: #f8fafc;

  font-size: 14px;
}


.verification-stk-input::placeholder {
  color: #475569;
}


.verification-stk-btn {
  width: 100%;

  min-height: 48px;

  margin-top: 10px;

  border: 0;
  border-radius: 13px;

  background:
    linear-gradient(
      135deg,
      #6366f1,
      #7c3aed
    );

  color: #fff;

  font-size: 14px;
  font-weight: 750;

  cursor: pointer;

  box-shadow:
    0 10px 25px rgba(79, 70, 229, 0.22);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}


.verification-stk-btn:hover {
  transform: translateY(-1px);

  box-shadow:
    0 14px 30px rgba(79, 70, 229, 0.30);

  filter: brightness(1.06);
}


.verification-stk-btn:active {
  transform: translateY(0);
}


.verification-stk-btn:disabled {
  opacity: 0.65;

  cursor: not-allowed;

  transform: none;
}


.verification-stk-hint {
  margin: 8px 2px 0;

  color: #64748b;

  font-size: 10.5px;
  line-height: 1.45;
}


/* =========================================================
   MANUAL PAYMENT
   ========================================================= */

.verification-manual-section {
  max-height: 0;

  overflow: hidden;

  margin: 0 25px;

  opacity: 0;

  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    margin 0.35s ease;
}


.verification-manual-section.is-open {
  max-height: 650px;

  margin-bottom: 18px;

  opacity: 1;
}


.verification-payment-instructions {
  padding: 16px;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 15px;

  background: rgba(255, 255, 255, 0.025);
}


.verification-payment-instructions h4 {
  margin: 0 0 13px;

  color: #e2e8f0;

  font-size: 13px;
}


.verification-payment-step {
  display: flex;
  align-items: center;
  gap: 9px;

  margin-top: 9px;

  color: #94a3b8;

  font-size: 11px;
  line-height: 1.45;
}


.verification-payment-step .step-number {
  width: 22px;
  height: 22px;

  flex: 0 0 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 7px;

  background: rgba(99, 102, 241, 0.12);

  color: #a5b4fc;

  font-size: 10px;
  font-weight: 800;
}


.verification-payment-step-text {
  flex: 1;
}


.verification-payment-step strong {
  color: #e2e8f0;
}


.verification-step-copy-btn {
  width: 27px;
  height: 27px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;

  background: rgba(255, 255, 255, 0.04);

  color: #94a3b8;

  cursor: pointer;
}


.verification-step-copy-btn:hover,
.verification-step-copy-btn.is-copied {
  color: #4ade80;

  border-color: rgba(34, 197, 94, 0.25);

  background: rgba(34, 197, 94, 0.08);
}


.verification-payment-amount {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 15px;
  padding: 12px 13px;

  border-radius: 11px;

  background: rgba(99, 102, 241, 0.08);
}


.verification-payment-amount span {
  color: #94a3b8;

  font-size: 11px;
}


.verification-payment-amount strong {
  color: #c7d2fe;

  font-size: 15px;
}


.verification-payment-notice {
  display: flex;
  gap: 9px;

  margin-top: 10px;
  padding: 11px 12px;

  border-radius: 11px;

  background: rgba(250, 204, 21, 0.055);

  border: 1px solid rgba(250, 204, 21, 0.10);
}


.verification-payment-notice .icon {
  flex: 0 0 auto;

  width: 17px;
  height: 17px;

  color: #facc15;
}


.verification-payment-notice p {
  margin: 0;

  color: #94a3b8;

  font-size: 10.5px;
  line-height: 1.5;
}


.verification-manual-whatsapp-btn {
  width: 100%;

  min-height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  margin-top: 10px;

  border: 1px solid rgba(34, 197, 94, 0.20);
  border-radius: 12px;

  background: rgba(34, 197, 94, 0.08);

  color: #86efac;

  font-size: 12px;
  font-weight: 700;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}


.verification-manual-whatsapp-btn:hover {
  background: rgba(34, 197, 94, 0.13);

  border-color: rgba(34, 197, 94, 0.35);

  transform: translateY(-1px);
}


/* =========================================================
   BOTTOM ACTIONS
   ========================================================= */

.verification-actions {
  display: flex;
  align-items: center;
  gap: 9px;

  padding: 17px 25px 22px;

  border-top: 1px solid rgba(255, 255, 255, 0.055);
}


.verification-cancel,
.verification-manual-toggle {
  min-height: 42px;

  border-radius: 11px;

  font-size: 12px;
  font-weight: 650;

  cursor: pointer;
}


.verification-cancel {
  flex: 1;

  border: 1px solid rgba(255, 255, 255, 0.08);

  background: rgba(255, 255, 255, 0.035);

  color: #94a3b8;
}


.verification-manual-toggle {
  flex: 1;

  border: 1px solid rgba(99, 102, 241, 0.18);

  background: rgba(99, 102, 241, 0.07);

  color: #a5b4fc;
}


.verification-cancel:hover {
  background: rgba(255, 255, 255, 0.065);

  color: #e2e8f0;
}


.verification-manual-toggle:hover {
  background: rgba(99, 102, 241, 0.12);
}


/* =========================================================
   BODY LOCK
   ========================================================= */

body.verification-open {
  overflow: hidden;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 560px) {

  .verification-overlay {
    padding: 12px;
    align-items: flex-end;
  }


  .verification-modal {
    width: 100%;

    max-height: calc(100vh - 24px);

    border-radius: 22px 22px 18px 18px;
  }


  .verification-header {
    padding: 20px 18px 16px;
  }


  .verification-message,
  .verification-price-box,
  .verification-payment-section,
  .verification-stk-section {
    margin-left: 18px;
    margin-right: 18px;
  }


  .verification-manual-section {
    margin-left: 18px;
    margin-right: 18px;
  }


  .verification-actions {
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 18px;
  }


  .verification-price {
    font-size: 31px;
  }

}


@media (max-width: 380px) {

  .verification-header h2 {
    font-size: 18px;
  }


  .verification-header p {
    font-size: 12px;
  }


  .verification-icon {
    width: 46px;
    height: 46px;
  }


  .verification-price-box {
    padding: 18px 14px;
  }


  .verification-price {
    font-size: 29px;
  }

}