/* =========================================================
   LEGAL PAGES (Privacy, Terms, Contact)
========================================================= */
.legal-body {
  background: radial-gradient(ellipse at 50% 35%, #ffffff 0%, #f9fcff 38%, #edf6ff 100%);
  min-height: 100vh;
}

.legal-page {
  position: relative;
  min-height: 70vh;
  padding: 60px 24px 100px;
  overflow: hidden;
}

.legal-page::before,
.legal-page::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(0.5px);
}

.legal-page::before {
  width: 900px;
  height: 600px;
  left: -600px;
  top: 80px;
  transform: rotate(18deg);
  background: linear-gradient(145deg, rgba(219, 237, 255, 0.85), rgba(236, 246, 255, 0.5) 50%, rgba(255, 255, 255, 0) 76%);
}

.legal-page::after {
  width: 1000px;
  height: 700px;
  right: -650px;
  top: -50px;
  transform: rotate(-22deg);
  background: linear-gradient(145deg, rgba(232, 247, 255, 0.85), rgba(195, 234, 255, 0.55) 48%, rgba(255, 255, 255, 0) 76%);
}

.legal-container {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 52px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(213, 226, 241, 0.85);
  border-radius: 27px;
  box-shadow: 0 30px 80px rgba(41, 90, 145, 0.1), 0 8px 25px rgba(41, 90, 145, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: legalIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes legalIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* =========================================================
   LEGAL HEADER
========================================================= */
.legal-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(213, 226, 241, 0.7);
}

.legal-badge {
  width: 78px;
  height: 78px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #f7fbff, #e6f2ff);
  color: var(--tw-blue, #2AABEE);
  box-shadow: 0 10px 28px rgba(0, 122, 255, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  animation: badgeFloat 4s ease-in-out infinite;
}

.legal-badge svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 6px 10px rgba(0, 111, 255, 0.18));
}

@keyframes badgeFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
.legal-container h1 {
  color: var(--tw-text, #303030);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 750;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.legal-updated {
  color: #7a8799;
  font-size: 0.875rem;
  margin: 0;
}

/* =========================================================
   LEGAL SECTIONS
========================================================= */
.legal-section {
  margin-bottom: 30px;
  padding: 0 4px;
}

.legal-section:last-of-type {
  margin-bottom: 24px;
}

.legal-section h2 {
  position: relative;
  color: var(--tw-text, #303030);
  font-size: 1.188rem;
  font-weight: 650;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
  padding-left: 16px;
}

.legal-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  border-radius: 100px;
  background: linear-gradient(180deg, var(--tw-blue, #2AABEE), var(--tw-blue-dark, #229ED9));
}

.legal-section p {
  color: var(--tw-text-soft, #4D4D4D);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 10px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 10px 0 0 0;
  padding: 0 0 0 22px;
  list-style: none;
}

.legal-section li {
  position: relative;
  color: var(--tw-text-soft, #4D4D4D);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 8px;
  padding-left: 4px;
}

.legal-section li::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tw-blue, #2AABEE);
  box-shadow: 0 0 0 3px rgba(42, 171, 238, 0.15);
}

.legal-section strong {
  color: var(--tw-text, #303030);
  font-weight: 650;
}

.legal-section a {
  position: relative;
  color: var(--tw-blue, #2AABEE);
  text-decoration: none;
  font-weight: 550;
  transition: color 0.25s ease;
}

.legal-section a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.3;
  transition: opacity 0.25s ease;
}

.legal-section a:hover {
  color: var(--tw-blue-dark, #229ED9);
}

.legal-section a:hover::after {
  opacity: 1;
}

/* =========================================================
   BACK BUTTON
========================================================= */
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 26px;
  background: var(--tw-blue, #2AABEE);
  color: #ffffff;
  border-radius: 13px;
  font-size: 0.938rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0, 122, 255, 0.19), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, background 0.25s ease;
}

.legal-back svg {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.legal-back:hover {
  background: var(--tw-blue-dark, #229ED9);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 122, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.legal-back:hover svg {
  transform: translateX(-3px);
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 767px) {
  .legal-page {
    padding: 40px 16px 70px;
  }
  .legal-container {
    padding: 36px 24px;
    border-radius: 22px;
  }
  .legal-header {
    margin-bottom: 28px;
    padding-bottom: 24px;
  }
  .legal-badge {
    width: 64px;
    height: 64px;
  }
  .legal-badge svg {
    width: 32px;
    height: 32px;
  }
  .legal-container h1 {
    font-size: 26px;
    letter-spacing: -1px;
  }
  .legal-section h2 {
    font-size: 1.063rem;
  }
  .legal-section p,
  .legal-section li {
    font-size: 0.938rem;
  }
  .legal-back {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 420px) {
  .legal-page {
    padding: 30px 12px 60px;
  }
  .legal-container {
    padding: 28px 18px;
    border-radius: 18px;
  }
  .legal-container h1 {
    font-size: 22px;
  }
  .legal-section h2 {
    font-size: 1rem;
  }
}
.affiliate-user-profile {
  width: 100%;
  min-height: 100svh;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .affiliate-user-profile {
    background: #101010;
  }
}
.affiliate-user-profile-bg {
  width: calc(100% - 40px);
  min-height: calc(100svh - 40px);
  background: #101010;
  display: flex;
  justify-content: center;
  align-items: start;
  border-radius: 30px;
}
@media screen and (max-width: 768px) {
  .affiliate-user-profile-bg {
    width: 100%;
    min-height: 100svh;
    border-radius: 0px;
  }
}
.affiliate-user-profile-bg .s1 {
  width: 100%;
  min-height: calc(100svh - 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
@media screen and (max-width: 768px) {
  .affiliate-user-profile-bg .s1 {
    width: 100%;
    min-height: 100svh;
  }
}
.affiliate-user-profile-bg .s1 .error-success-message {
  width: 90%;
  max-width: 430px;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  text-align: center !important;
  gap: 10px;
  position: fixed;
  top: 20px;
  z-index: 9999;
  animation: error-success-message2 0.25s linear;
}
@keyframes error-success-message2 {
  from {
    top: -50px;
  }
  to {
    top: 20px;
  }
}
.affiliate-user-profile-bg .s1 .error-success-message.success-message {
  background: #40d840;
  color: var(--tg-text);
}
.affiliate-user-profile-bg .s1 .error-success-message.error-message {
  background: #e5484d;
  color: var(--tg-text);
}
.affiliate-user-profile-bg .s1 .error-success-message .x-container {
  cursor: pointer;
  font-size: 1.2rem;
}
.affiliate-user-profile-bg .s1 .error-success-message .message-container {
  flex: 1;
}
.affiliate-user-profile-bg .s1 .error-success-message .message-container p {
  margin: 0;
}
.affiliate-user-profile-bg .s1 #errorMessages2 {
  width: 90%;
  max-width: 430px;
  color: var(--tg-text);
  background-color: #e5484d;
  border: 1px solid #e5484d;
  position: fixed;
  z-index: 999;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
  padding: 10px 20px;
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: error-success-message2 0.25s linear;
}
@keyframes error-success-message2 {
  from {
    top: -50px;
  }
  to {
    top: 20px;
  }
}
.affiliate-user-profile-bg .s1 #errorMessages2 .x-container2 {
  margin-bottom: 10px;
}
.affiliate-user-profile-bg .s1 #errorMessages2 .x-container2 i {
  cursor: pointer;
}
.affiliate-user-profile-bg .s1 #errorMessages2 p {
  color: var(--tg-text);
  font-weight: 300;
  margin: 0px;
  text-align: center;
}
.affiliate-user-profile-bg .s1_wrapper {
  margin: 50px 0;
  width: 768px;
}
@media screen and (max-width: 834px) {
  .affiliate-user-profile-bg .s1_wrapper {
    width: 90%;
  }
}
.affiliate-user-profile-bg .s1_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.13), transparent 45%), linear-gradient(165deg, #1c1b1a 0%, #11100f 50%, #0b0b0a 100%);
  border-radius: 28px;
}
.affiliate-user-profile-bg .s1_wrapper form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  gap: 20px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 60px rgba(212, 175, 55, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 28px;
}
.affiliate-user-profile-bg .s1_wrapper form .header_container {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.affiliate-user-profile-bg .s1_wrapper form .header_container .top {
  width: 100%;
  color: var(--tg-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 15px 0;
}
.affiliate-user-profile-bg .s1_wrapper form .header_container .top h2 {
  font-weight: 400;
  font-size: 1.3em;
  margin-bottom: 0px;
  color: var(--tg-gold);
}
.affiliate-user-profile-bg .s1_wrapper form .header_container .top a {
  text-decoration: none;
}
.affiliate-user-profile-bg .s1_wrapper form .header_container .top a i {
  color: var(--tg-gold);
  font-size: 1em;
  cursor: pointer;
}
.affiliate-user-profile-bg .s1_wrapper form .header_container .divider {
  position: relative;
  width: 100%;
  height: 1px;
  margin: 5px 0 10px 0;
  background: linear-gradient(90deg, transparent, var(--tg-gold), transparent);
}
.affiliate-user-profile-bg .s1_wrapper form .header_container .divider::before, .affiliate-user-profile-bg .s1_wrapper form .header_container .divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--tg-gold);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}
.affiliate-user-profile-bg .s1_wrapper form .header_container .divider::before {
  left: 12px;
}
.affiliate-user-profile-bg .s1_wrapper form .header_container .divider::after {
  right: 12px;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .affiliate-user-profile-bg .s1_wrapper form .fields_container {
    flex-direction: column;
    gap: 20px;
  }
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container {
  width: 47.5%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media screen and (max-width: 768px) {
  .affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container {
    width: 100%;
  }
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container label {
  color: var(--tg-text);
  font-size: 0.875rem;
  text-align: left;
  letter-spacing: 0.4px;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container input {
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.045);
  color: var(--tg-text);
  font: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container input:hover {
  border-color: rgba(212, 175, 55, 0.4);
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container input:focus {
  border-color: var(--tg-gold);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container {
  /* Chrome, Safari, Edge, Opera */
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container input[type=number]::-webkit-inner-spin-button,
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container {
  /* Firefox */
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container input[type=number] {
  -moz-appearance: textfield;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container .password-input-wrapper {
  position: relative;
  width: 100%;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container .password-input-wrapper input {
  padding-right: 50px;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container .password-input-wrapper input::-ms-reveal, .affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container .password-input-wrapper input::-ms-clear {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container .password-input-wrapper input::-webkit-credentials-auto-fill-button {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  position: absolute;
  right: 0;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container .password-input-wrapper .password-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--tg-muted);
  cursor: pointer;
  outline: none;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container .password-input-wrapper .password-toggle i {
  font-size: 16px;
  transition: color 0.2s ease;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container .password-input-wrapper .password-toggle:hover {
  color: var(--tg-gold);
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container .password-input-wrapper .password-toggle:focus-visible {
  border-radius: 6px;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.35);
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container .field-error {
  color: #ff6b6b;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container .field-error.visible {
  display: block;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container .is-invalid {
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2) !important;
}
.affiliate-user-profile-bg .s1_wrapper form .buttons_container {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container {
  flex: 1;
  min-width: 245px;
}
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container button,
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container .btn_investments {
  display: block;
  position: relative;
  width: 100%;
  min-height: 50px;
  padding: 14px 34px;
  margin-top: 0px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 100px;
  background: linear-gradient(145deg, #fff3b0 0%, #f0d060 25%, #d4af37 60%, #a67c00 100%);
  color: #1a1408;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  text-align: center;
}
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container button::after,
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container .btn_investments::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container button:hover,
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container .btn_investments:hover {
  filter: brightness(1.06);
}
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container button:hover::after,
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container .btn_investments:hover::after {
  left: 130%;
}
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container .close {
  position: relative;
  overflow: hidden;
  min-height: 50px;
  padding: 14px 34px;
  border: 2px solid var(--tg-gold);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.28);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 100px;
  color: var(--tg-gold);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  display: block;
  text-align: center;
}
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container .close::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(148, 148, 148, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container .close:hover {
  filter: brightness(1.06);
}
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container .close:hover::after {
  left: 130%;
}

.affiliate-dashboard {
  width: 100%;
  min-height: 100svh;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.affiliate-dashboard-bg {
  width: calc(100% - 40px);
  min-height: calc(100svh - 40px);
  display: flex;
  justify-content: center;
  background: raradial-gradient(ellipse at 50% 35%, #ffffff 0%, #f9fcff 38%, #edf6ff 100%);
  align-items: start;
  border-radius: 30px;
}
@media screen and (max-width: 768px) {
  .affiliate-dashboard-bg {
    width: 100%;
    min-height: 100svh;
    border-radius: 0px;
  }
}
.affiliate-dashboard-bg .s1 {
  width: 100%;
  max-width: 1280px;
  padding: 50px 0 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.affiliate-dashboard-bg .s1 .error-success-message {
  width: 90%;
  max-width: 430px;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  text-align: center !important;
  gap: 10px;
  position: fixed;
  top: 20px;
  z-index: 9999;
  animation: error-success-message2 0.25s linear;
}
@keyframes error-success-message2 {
  from {
    top: -50px;
  }
  to {
    top: 20px;
  }
}
.affiliate-dashboard-bg .s1 .error-success-message.success-message {
  background: #40d840;
  color: var(--tg-text);
}
.affiliate-dashboard-bg .s1 .error-success-message.error-message {
  background: #e5484d;
  color: var(--tg-text);
}
.affiliate-dashboard-bg .s1 .error-success-message .x-container {
  cursor: pointer;
  font-size: 1.2rem;
}
.affiliate-dashboard-bg .s1 .error-success-message .message-container {
  flex: 1;
}
.affiliate-dashboard-bg .s1 .error-success-message .message-container p {
  margin: 0;
}
.affiliate-dashboard-bg .s1 #errorMessages2 {
  width: 85%;
  max-width: 430px;
  color: white;
  background-color: #e5484d;
  border: 1px solid #e5484d;
  position: fixed;
  z-index: 999;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
  padding: 10px 20px;
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: error-success-message2 0.25s linear;
}
@keyframes error-success-message2 {
  from {
    top: -50px;
  }
  to {
    top: 20px;
  }
}
.affiliate-dashboard-bg .s1 #errorMessages2 .x-container2 {
  margin-bottom: 10px;
}
.affiliate-dashboard-bg .s1 #errorMessages2 .x-container2 i {
  cursor: pointer;
}
.affiliate-dashboard-bg .s1 #errorMessages2 p {
  color: white;
  font-weight: 300;
  margin: 0px;
  text-align: center;
}
.affiliate-dashboard-bg .s1_wrapper {
  width: 90%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.affiliate-dashboard-bg .s1_wrapper form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  gap: 20px;
}
@media screen and (max-width: 768px) {
  .affiliate-dashboard-bg .s1_wrapper form .s1_header {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media screen and (max-width: 600px) {
  .affiliate-dashboard-bg .s1_wrapper form .s1_header {
    gap: 20px;
  }
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container {
  width: -moz-fit-content;
  width: fit-content;
}
@media screen and (max-width: 768px) {
  .affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container {
    width: 100%;
  }
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container .search {
  width: 300px;
}
@media screen and (max-width: 768px) {
  .affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container .search {
    width: 100%;
  }
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container .search {
  height: 40px;
  background: transparent;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--tw-blue);
  border-radius: 0px;
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container .search .search_icon_container {
  height: 100%;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--tw-blue);
  padding-right: 15px;
  border-radius: 0px;
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container .search .search_icon_container i {
  color: var(--tw-blue);
  font-size: 1.1em;
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container .search input[type=tel] {
  width: calc(100% - 20px);
  height: 100%;
  border: none;
  font-size: 1em;
  letter-spacing: 0.3px;
  color: var(--tg-gold-light);
  background: transparent;
  border-bottom: 1px solid var(--tw-blue);
  border-radius: 0px;
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container .search input[type=tel]:focus {
  outline: none;
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container .search input[type=tel]::-moz-placeholder {
  color: var(--tw-blue);
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container .search input[type=tel]::placeholder {
  color: var(--tw-blue);
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container .search input[type=number]::-webkit-inner-spin-button,
.affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container .search input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .buttons_container {
  width: -moz-fit-content;
  width: fit-content;
}
@media screen and (max-width: 768px) {
  .affiliate-dashboard-bg .s1_wrapper form .s1_header .buttons_container {
    width: 100%;
  }
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .buttons_container .logout {
  height: 40px;
  font-weight: 450;
  font-size: 1em;
  letter-spacing: 0.25px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform 0.35s var(--tw-transition), box-shadow 0.35s var(--tw-transition), background 0.3s ease, border-color 0.3s ease;
  color: white;
  padding: 0 20px;
  border-radius: 20px;
  background: var(--tw-blue);
  font-weight: 600;
  box-shadow: 0 5px 22px rgba(0, 122, 255, 0.19), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
@media screen and (max-width: 768px) {
  .affiliate-dashboard-bg .s1_wrapper form .s1_header .buttons_container .logout {
    width: 100%;
    font-weight: 500;
    padding: 0px;
  }
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .buttons_container .logout i {
  font-size: 1em;
  color: #fff;
  margin-right: 8px;
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .buttons_container .logout:hover {
  box-shadow: 0 14px 30px rgba(0, 122, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .buttons_container .logout::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg);
  transition: none;
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .buttons_container .logout:hover::before {
  animation: buttonShine 0.75s ease;
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .buttons_container .logout:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
  filter: none;
}
.affiliate-dashboard-bg .s1_wrapper form .table_container {
  width: 100%;
  background: radial-gradient(ellipse at 50% 35%, #ffffff 0%, #f9fcff 38%, #edf6ff 100%);
  overflow: hidden;
  border-radius: 20px;
  margin-top: 25px;
  box-shadow: 0 30px 80px rgba(41, 90, 145, 0.12), 0 8px 25px rgba(41, 90, 145, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  border: 1px solid var(--tw-blue);
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table {
  width: 100%;
  padding: 0;
  border-collapse: collapse;
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .th_container {
  padding: 0px;
  height: 55px;
  background: var(--tw-blue);
  -webkit-user-select: none !important;
     -moz-user-select: none !important;
          user-select: none !important;
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .th_container:hover {
  background: var(--tw-blue);
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .th_container .phone {
  border-left: none;
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .th_container th {
  width: 100%;
  border: 1px solid #fff;
  border-top: none;
  border-bottom: none;
  border-spacing: 0px;
  padding: 0px;
  text-align: left;
  color: #fff;
  height: 50px;
  font-size: 1.05em;
  font-weight: 500;
  padding: 0 10px;
  overflow: hidden;
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .th_container .actions {
  min-width: 150px;
  border-right: 0px;
}
@media screen and (max-width: 768px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .th_container .actions {
    min-width: 100px;
    max-width: 100px;
  }
}
@media screen and (max-width: 550px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .th_container .actions {
    min-width: 80px;
    max-width: 80px;
  }
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow {
  transition: 0.25s;
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow:last-child td {
  border-bottom: none !important;
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow td {
  border: none;
  border-bottom: 1px solid var(--tw-blue);
  border-spacing: 0px;
  padding: 0px;
  min-height: 50px;
  text-align: left;
  color: white;
  font-size: 1em;
  font-weight: 400;
  padding: 0 10px;
  overflow: hidden;
}
@media screen and (max-width: 550px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow td {
    min-height: 75px;
  }
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow .phone {
  width: calc(100% - 150px);
  border-right: 1px solid var(--tw-blue);
  align-items: center;
  gap: 10px;
  color: var(--tg-gold-light);
}
@media screen and (max-width: 450px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow .phone {
    gap: 8px;
  }
}
@media screen and (max-width: 400px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow .phone {
    gap: 6px;
  }
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow .phone svg {
  min-width: 20px;
  max-width: 20px;
  height: auto;
}
@media screen and (max-width: 450px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow .phone svg {
    min-width: 18px;
    max-width: 18px;
  }
}
@media screen and (max-width: 400px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow .phone svg {
    min-width: 16px;
    max-width: 16px;
  }
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow .actions {
  min-width: 150px;
  justify-content: space-evenly;
  align-items: center;
  gap: 15px;
  border-top: none;
  border-right: none;
  border-left: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
@media screen and (max-width: 768px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow .actions {
    min-width: 100px;
    max-width: 100px;
  }
}
@media screen and (max-width: 550px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow .actions {
    min-width: 80px;
    max-width: 80px;
    gap: 10px !important;
  }
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .actions_td {
  display: inline-flex;
  justify-content: space-around;
}
@media screen and (max-width: 550px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .actions_td {
    justify-content: center !important;
    flex-direction: column;
    gap: 10px !important;
  }
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .actions_td a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--tw-blue);
  padding: 3px;
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .actions_td button {
  border: none;
  padding: 0px;
  padding: 3px;
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .actions_td .delete {
  background: transparent;
  color: #e5484d;
  cursor: pointer;
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .actions_td i {
  font-size: 1.125rem;
}
@media screen and (max-width: 768px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .actions_td i {
    font-size: 1rem;
  }
}
.affiliate-dashboard-bg #confirmationModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: hidden;
  justify-content: center;
  align-items: center;
}
.affiliate-dashboard-bg #confirmationModal .modal-content {
  width: calc(90% - 60px);
  max-width: 340px;
  background: radial-gradient(ellipse at 50% 35%, #ffffff 0%, #f9fcff 38%, #edf6ff 100%);
  padding: 30px;
  border: 1px solid rgba(213, 226, 241, 0.85);
  text-align: center;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(41, 90, 145, 0.12), 0 8px 25px rgba(41, 90, 145, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  position: relative;
}
.affiliate-dashboard-bg #confirmationModal .modal-content h2 {
  color: var(--tw-text);
  font-weight: 600;
  font-size: 1.375em;
  margin-bottom: 10px;
}
.affiliate-dashboard-bg #confirmationModal .modal-content p {
  color: var(--tw-text-soft);
  margin-bottom: 35px;
  font-size: 1rem;
}
.affiliate-dashboard-bg #confirmationModal .modal-content button {
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}
.affiliate-dashboard-bg #confirmationModal .modal-content .cancel {
  position: relative;
  width: 100%;
  min-height: 50px;
  padding: 14px 34px;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid rgba(229, 72, 77, 0.55);
  border-radius: 100px;
  background: linear-gradient(145deg, #ff8488 0%, #f07074 25%, #f15c61 60%, #e5484d 100%);
  color: var(--tg-text);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(229, 72, 77, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  display: inline;
  color: #fff;
}
.affiliate-dashboard-bg #confirmationModal .modal-content .cancel:hover {
  box-shadow: 0 14px 30px rgba(0, 122, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.affiliate-dashboard-bg #confirmationModal .modal-content .cancel::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg);
  transition: none;
}
.affiliate-dashboard-bg #confirmationModal .modal-content .cancel:hover::before {
  animation: buttonShine 0.75s ease;
}
.affiliate-dashboard-bg #confirmationModal .modal-content .cancel:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
  filter: none;
}
.affiliate-dashboard-bg #confirmationModal .modal-content .cancel::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.affiliate-dashboard-bg #confirmationModal .modal-content .cancel:hover {
  filter: brightness(1.06);
  box-shadow: 0 18px 38px rgba(229, 72, 77, 0.38);
}
.affiliate-dashboard-bg #confirmationModal .modal-content .cancel:hover::after {
  left: 130%;
}
.affiliate-dashboard-bg #confirmationModal .modal-content .confirm {
  width: 100%;
  height: 50px;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 1px;
  display: inline;
  position: relative;
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform 0.35s var(--tw-transition), box-shadow 0.35s var(--tw-transition), background 0.3s ease, border-color 0.3s ease;
  color: white;
  padding: 0 20px;
  border-radius: 20px;
  background: var(--tw-blue);
  font-weight: 600;
  box-shadow: 0 5px 22px rgba(0, 122, 255, 0.19), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.affiliate-dashboard-bg #confirmationModal .modal-content .confirm:hover {
  box-shadow: 0 14px 30px rgba(0, 122, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.affiliate-dashboard-bg #confirmationModal .modal-content .confirm::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg);
  transition: none;
}
.affiliate-dashboard-bg #confirmationModal .modal-content .confirm:hover::before {
  animation: buttonShine 0.75s ease;
}
.affiliate-dashboard-bg #confirmationModal .modal-content .confirm:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
  filter: none;
}
.affiliate-dashboard-bg .no-users {
  display: none;
}

.affiliate-page .affiliate {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow: hidden;
  color: var(--tg-text);
  background: radial-gradient(ellipse at 50% 35%, #ffffff 0%, #f9fcff 38%, #edf6ff 100%);
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  /* large background curves */
}
.affiliate-page .affiliate::before, .affiliate-page .affiliate::after {
  content: "";
  position: absolute;
  z-index: -2;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(0.2px);
}
.affiliate-page .affiliate {
  /* left blue shape */
}
.affiliate-page .affiliate::before {
  width: 1050px;
  height: 700px;
  left: -720px;
  top: 40px;
  transform: rotate(18deg);
  background: linear-gradient(145deg, rgba(219, 237, 255, 0.95), rgba(236, 246, 255, 0.7) 50%, rgba(255, 255, 255, 0) 76%);
}
.affiliate-page .affiliate {
  /* right blue shape */
}
.affiliate-page .affiliate::after {
  width: 1150px;
  height: 800px;
  right: -760px;
  top: -100px;
  transform: rotate(-22deg);
  background: linear-gradient(145deg, rgba(232, 247, 255, 0.92), rgba(195, 234, 255, 0.72) 48%, rgba(255, 255, 255, 0) 76%);
}
.affiliate-page .affiliate-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  transition: opacity 0.35s ease;
  overflow-y: scroll;
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
  /* Hide scrollbar for Chrome, Safari and Opera */
}
.affiliate-page .affiliate-overlay::-webkit-scrollbar {
  display: none;
}
.affiliate-page .affiliate-card {
  position: relative;
  width: 90%;
  max-width: 460px;
  padding: 34px 32px 30px;
  border: 1px solid rgba(213, 226, 241, 0.85);
  border-radius: 27px;
  background: radial-gradient(ellipse at 50% 35%, #ffffff 0%, #f9fcff 38%, #edf6ff 100%);
  box-shadow: 0 30px 80px rgba(41, 90, 145, 0.12), 0 8px 25px rgba(41, 90, 145, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: box-shadow 0.5s ease, transform 0.5s var(--tw-transition);
}
.affiliate-page .affiliate-card::before {
  content: "";
  position: absolute;
  left: 12%;
  top: -100px;
  width: 76%;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.affiliate-page .affiliate-card:hover {
  box-shadow: 0 38px 95px rgba(41, 90, 145, 0.14), 0 10px 28px rgba(41, 90, 145, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.affiliate-page .affiliate-title {
  position: relative;
  color: var(--tw-text);
  text-align: center;
  font-size: clamp(29px, 3vw, 39px);
  line-height: 1.12;
  letter-spacing: -1.7px;
  font-weight: 750;
  margin: 0 -5px 9px;
}
.affiliate-page .affiliate-text {
  color: var(--tw-text-soft);
  text-align: center;
  font-size: 1.063rem;
  line-height: 1.45;
}
.affiliate-page .affiliate-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
}
.affiliate-page .affiliate-form input.is-invalid {
  border-color: #e5484d !important;
  box-shadow: 0 0 0 1px rgba(229, 72, 77, 0.15);
  border: 1px solid rgba(220, 70, 70, 0.35);
}
.affiliate-page .form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.affiliate-page .form-group label {
  display: block;
  margin-bottom: 9px;
  color: var(--tw-text);
  font-size: 1rem;
  font-weight: 600;
}
.affiliate-page .form-group label span {
  color: var(--tw-danger-dark);
}
.affiliate-page .form-group input {
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  border: 1px solid #d5dfeb;
  border-radius: 12px;
  outline: none;
  background: radial-gradient(ellipse at 50% 35%, #ffffff 0%, #f9fcff 38%, #edf6ff 100%);
  color: var(--tg-text);
  font: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.affiliate-page .form-group input::-moz-placeholder {
  color: #9aa7b9;
}
.affiliate-page .form-group input::placeholder {
  color: #9aa7b9;
}
.affiliate-page .form-group input:focus {
  border-color: var(--tw-blue);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.09), 0 7px 20px rgba(0, 122, 255, 0.06);
}
.affiliate-page .form-group .field-error {
  display: none;
  margin-top: 6px;
  color: var(--tw-danger-dark);
  font-size: 13px;
  line-height: 1.4;
}
.affiliate-page .form-group .field-error.visible {
  display: block;
}
.affiliate-page .form-group .password-input-wrapper {
  position: relative;
  width: 100%;
}
.affiliate-page .form-group .password-input-wrapper input {
  padding-right: 50px;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
}
.affiliate-page .form-group .password-input-wrapper input::-ms-reveal, .affiliate-page .form-group .password-input-wrapper input::-ms-clear {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.affiliate-page .form-group .password-input-wrapper input::-webkit-credentials-auto-fill-button {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  position: absolute;
  right: 0;
}
.affiliate-page .form-group .password-input-wrapper .password-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--tw-text-soft);
  cursor: pointer;
  outline: none;
}
.affiliate-page .form-group .password-input-wrapper .password-toggle i {
  font-size: 16px;
  transition: color 0.2s ease;
}
.affiliate-page .form-group .password-input-wrapper .password-toggle:hover {
  color: var(--tw-text);
}
.affiliate-page .form-group .password-requirements {
  display: none;
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}
.affiliate-page .form-group .password-requirements.visible {
  display: block;
}
.affiliate-page .form-group .password-requirements .password-rule {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 5px 0;
  color: var(--tg-muted);
  font-size: 0.78rem;
}
.affiliate-page .form-group .password-requirements .password-rule .rule-icon {
  color: var(--tg-muted);
  font-size: 0.9rem;
}
.affiliate-page .form-group .password-requirements .password-rule.valid {
  color: #9ce6aa;
}
.affiliate-page .form-group .password-requirements .password-rule.valid .rule-icon {
  color: #5fcf73;
}
.affiliate-page .affiliate-message {
  position: relative;
  margin: 0 0 22px;
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
}
.affiliate-page .affiliate-button {
  position: relative;
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 13px;
  border: 1px solid transparent;
  font-size: 17px;
  font-weight: 650;
  overflow: hidden;
  transition: transform 0.35s var(--tw-transition), box-shadow 0.35s var(--tw-transition), background 0.3s ease, border-color 0.3s ease;
  color: white;
  background: var(--tw-blue);
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(0, 122, 255, 0.19), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.affiliate-page .affiliate-button:hover {
  box-shadow: 0 14px 30px rgba(0, 122, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.affiliate-page .affiliate-button::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg);
  transition: none;
}
.affiliate-page .affiliate-button:hover::before {
  animation: buttonShine 0.75s ease;
}
.affiliate-page .affiliate-button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
  filter: none;
}
@media (max-width: 520px) {
  .affiliate-page .affiliate {
    padding: 15px;
  }
  .affiliate-page .affiliate-card {
    padding: 35px 30px;
    border-radius: 22px;
  }
  .affiliate-page .affiliate-form {
    gap: 15px;
  }
  .affiliate-page .form-group input {
    min-height: 46px;
  }
}

/* =========================================================
   PAGE BACKGROUND
========================================================= */
.page-background {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 35%, #ffffff 0%, #f9fcff 38%, #edf6ff 100%);
}

/* large background curves */
.page-background::before,
.page-background::after {
  content: "";
  position: absolute;
  z-index: -2;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(0.2px);
}

/* left blue shape */
.page-background::before {
  width: 1050px;
  height: 700px;
  left: -720px;
  top: 40px;
  transform: rotate(18deg);
  background: linear-gradient(145deg, rgba(219, 237, 255, 0.95), rgba(236, 246, 255, 0.7) 50%, rgba(255, 255, 255, 0) 76%);
}

/* right blue shape */
.page-background::after {
  width: 1150px;
  height: 800px;
  right: -760px;
  top: -100px;
  transform: rotate(-22deg);
  background: linear-gradient(145deg, rgba(232, 247, 255, 0.92), rgba(195, 234, 255, 0.72) 48%, rgba(255, 255, 255, 0) 76%);
}

/* additional atmospheric light */
.page-background::marker {
  display: none;
}

/* =========================================================
   MAIN GRID
========================================================= */
.page-shell {
  position: relative;
  width: min(1320px, 100% - 56px);
  margin: 0 auto;
  padding-top: 10px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(560px, 650px) minmax(260px, 1fr);
  -moz-column-gap: 50px;
       column-gap: 50px;
  align-items: center;
}

/* =========================================================
   HERO SECTION
========================================================= */
.hero-section {
  display: none;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 1100px) {
  .hero-section {
    display: flex;
  }
}
@media (max-width: 610px) {
  .hero-section {
    flex-direction: column;
  }
}
.hero-section .hero-content .side-accent {
  width: 43px;
  height: 3px;
  margin-bottom: 24px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--tw-blue), #2b9aff);
}
.hero-section .hero-content h2 {
  color: var(--tw-text);
  font-size: clamp(40px, 3.1vw, 52px);
  line-height: 1.08;
  letter-spacing: -2.5px;
  font-weight: 750;
}
.hero-section .hero-content h2 span {
  color: var(--tw-blue-dark);
  display: inline-block;
  animation: activePulse 3s ease-in-out infinite;
}
.hero-section .hero-content p {
  margin-top: 28px;
  color: var(--tw-text-soft);
  font-size: 18px;
  line-height: 1.55;
}
.hero-section .hero-content #scroll-to-verification {
  width: 250px;
  height: 60px;
  color: #fff;
  background: var(--tw-blue);
  border-radius: 20px;
  font-size: 1.25rem;
  font-weight: 600;
  border: none;
  margin-top: 25px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.hero-section .hero-content #scroll-to-verification span {
  display: inline-block;
}
.hero-section .hero-content #scroll-to-verification .fa-arrow-right-long,
.hero-section .hero-content #scroll-to-verification .arrow {
  display: inline-block;
  animation: arrow-slide 1.2s ease-in-out infinite;
}
@keyframes arrow-slide {
  0% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(-6px);
  }
  100% {
    transform: translateX(0px);
  }
}
.hero-section .hero-image .phone-illustration {
  position: relative;
  width: 270px;
  height: 350px;
  margin: 0 auto;
}
.hero-section .hero-image .illustration-phone {
  position: absolute;
  left: 60px;
  top: 20px;
  width: 155px;
  height: 275px;
  display: grid;
  place-items: center;
  border: 5px solid #b6d2f4;
  border-radius: 35px;
  background: linear-gradient(145deg, #ffffff, #dcecff);
  transform: rotate(12deg) skewY(-5deg);
  box-shadow: 8px 10px 0 #c8ddf8, 18px 28px 40px rgba(0, 105, 255, 0.14), inset 0 0 0 1px #a8c9f3;
  overflow: hidden;
  animation: phoneFloat 5s ease-in-out infinite;
}
.hero-section .hero-image .illustration-phone::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 55px;
  height: 7px;
  border-radius: 20px;
  background: #c8dbf3;
  transform: translateX(-50%);
}
.hero-section .hero-image .phone-screen-glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(135, 195, 255, 0.25) 42%, transparent 68%);
  animation: screenGlow 4s ease-in-out infinite;
}
.hero-section .hero-image .illustration-phone img {
  position: relative;
  z-index: 2;
  width: 76px;
  height: 76px;
  filter: drop-shadow(0 10px 12px rgba(0, 100, 255, 0.22));
}
.hero-section .hero-image .phone-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 280px;
  height: 110px;
  border: 2px solid #2295FD;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-20deg);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.55));
  pointer-events: none;
}
.hero-section .hero-image .orbit-one {
  animation: orbitOne 7s ease-in-out infinite;
}
.hero-section .hero-image .orbit-two {
  width: 310px;
  height: 125px;
  transform: translate(-50%, -50%) rotate(28deg);
  opacity: 0.6;
  animation: orbitTwo 8s ease-in-out infinite;
}

/* =========================================================
   LEFT SIDE
========================================================= */
.side-left {
  align-self: center;
  padding-top: 20px;
  animation: sideLeftIn 0.9s 0.1s var(--tw-transition) both;
}

.side-accent {
  width: 43px;
  height: 3px;
  margin-bottom: 24px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--tw-blue), #2b9aff);
}

.side-left h2 {
  color: var(--tw-text);
  font-size: clamp(40px, 3.1vw, 52px);
  line-height: 1.08;
  letter-spacing: -2.5px;
  font-weight: 750;
}

.side-left h2 span {
  color: var(--tw-blue-dark);
  display: inline-block;
  animation: activePulse 3s ease-in-out infinite;
}

.side-left > p {
  margin-top: 28px;
  color: var(--tw-text-soft);
  font-size: 18px;
  line-height: 1.55;
}

/* =========================================================
   LEFT FEATURES
========================================================= */
.side-features {
  margin-top: 36px;
  display: grid;
  gap: 18px;
}

.side-feature {
  display: flex;
  align-items: center;
  gap: 14px;
}

.side-feature-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #edf6ff, #cee7ff);
  box-shadow: inset 0 1px 0 #ffffff, 0 8px 18px rgba(0, 112, 255, 0.07);
  transition: transform 0.4s var(--tw-transition), box-shadow 0.4s ease;
}

.side-feature-icon img {
  width: 25px;
  height: 25px;
}

.side-feature div:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.side-feature strong {
  font-size: 1rem;
  font-weight: 600;
}

.side-feature span {
  color: #758399;
  font-size: 0.938rem;
  line-height: 1.4;
}

/* =========================================================
   VERIFICATION WRAPPER
========================================================= */
.verification-wrapper {
  position: relative;
  min-width: 0;
  animation: cardIn 1s 0.05s var(--tw-transition) both;
}

/* =========================================================
   VERIFICATION CARD
========================================================= */
.verification-card {
  position: relative;
  width: 100%;
  padding: 34px 32px 30px;
  border: 1px solid rgba(213, 226, 241, 0.85);
  border-radius: 27px;
  background: radial-gradient(ellipse at 50% 35%, #ffffff 0%, #f9fcff 38%, #edf6ff 100%);
  box-shadow: 0 30px 80px rgba(41, 90, 145, 0.12), 0 8px 25px rgba(41, 90, 145, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: box-shadow 0.5s ease, transform 0.5s var(--tw-transition);
}

.verification-card::before {
  content: "";
  position: absolute;
  left: 12%;
  top: -100px;
  width: 76%;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.verification-card:hover {
  box-shadow: 0 38px 95px rgba(41, 90, 145, 0.14), 0 10px 28px rgba(41, 90, 145, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

/* =========================================================
   STEPS
========================================================= */
.verification-step {
  position: relative;
  width: 100%;
  text-align: center;
  animation: stepEnter 0.55s var(--tw-transition) both;
}

.verification-step.step-exit {
  animation: stepExit 0.25s ease both;
}

.verification-step.step-enter {
  animation: stepEnter 0.55s var(--tw-transition) both;
}

/* =========================================================
   SECURITY BADGE
========================================================= */
.security-badge {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #f7fbff, #e6f2ff);
  box-shadow: 0 10px 28px rgba(0, 122, 255, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  animation: badgeFloat 4s ease-in-out infinite;
}

.security-badge img {
  position: relative;
  z-index: 2;
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 8px 12px rgba(0, 111, 255, 0.22));
  animation: shieldAppear 0.7s 0.25s var(--tw-transition) both;
}

.security-badge-glow {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 150, 255, 0.22), rgba(45, 150, 255, 0));
  filter: blur(5px);
  animation: badgeGlow 2.8s ease-in-out infinite;
}

/* =========================================================
   TYPOGRAPHY
========================================================= */
.verification-card h1 {
  position: relative;
  color: var(--tw-text);
  font-size: clamp(29px, 3vw, 39px);
  line-height: 1.12;
  letter-spacing: -1.7px;
  font-weight: 750;
  margin: 0 -5px 9px;
}

.subtitle {
  color: var(--tw-text-soft);
  font-size: 1.063rem;
  line-height: 1.45;
}

/* =========================================================
   ALERT
========================================================= */
.alert-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 22px 0 23px;
  padding: 14px 18px;
  min-height: 96px;
  text-align: left;
  border: 1px solid var(--tw-danger-dark);
  border-radius: 15px;
  background: var(--tw-danger);
  overflow: hidden;
  animation: alertAppear 0.65s 0.45s var(--tw-transition) both, alertGlow 3s 1.2s ease-in-out infinite;
}

.alert-box::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -35%;
  width: 50%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: rotate(20deg);
  animation: alertShine 4s 1.5s ease-in-out infinite;
}

.alert-icon {
  position: relative;
  z-index: 2;
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.alert-icon img {
  width: 42px;
  height: 42px;
}

.alert-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  -moz-column-gap: 5px;
       column-gap: 5px;
  color: var(--tw-danger-dark);
}

.alert-content strong {
  font-size: 17px;
  font-weight: 600;
}

.alert-content > span {
  font-size: 17px;
  font-weight: 600;
}

.alert-content p {
  width: 100%;
  margin-top: 4px;
  color: var(--tw-danger-dark);
  font-size: 0.938rem;
  line-height: 1.4;
}

/* =========================================================
   FORM
========================================================= */
form {
  text-align: left;
}

.field-label {
  display: block;
  margin-bottom: 9px;
  color: var(--tw-text);
  font-size: 1rem;
  font-weight: 600;
}

/* =========================================================
   PHONE FIELD
========================================================= */
.phone-field {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  width: 100%;
  height: 60px;
  border: 1px solid #d5dfeb;
  border-radius: 13px;
  background: transparent;
  box-shadow: 0 2px 4px rgba(12, 43, 80, 0.025);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--tw-transition);
}
.phone-field .iti--has-country-selector .iti__country-container:not(:has(+ input[disabled])):not(:has(+ input[readonly])) .iti__selected-country-primary:hover,
.phone-field .iti--has-country-selector .iti__country-container:not(:has(+ input[disabled])):not(:has(+ input[readonly])) .iti__selected-country[aria-expanded=true] .iti__selected-country-primary {
  background: transparent;
}
.phone-field .iti--input-container {
  width: 100%;
  height: 100%;
}
.phone-field .iti--input-container .iti__tel-input {
  width: 100%;
}
.phone-field .iti__country-selector {
  max-height: 175px;
  border-radius: 10px;
  border: 1px solid #d5dfeb !important;
  background: radial-gradient(ellipse at 50% 35%, #ffffff 0%, #f9fcff 38%, #edf6ff 100%);
  overflow: hidden;
  top: 35px;
}
.phone-field .iti__search-icon svg {
  stroke: var(--tw-text);
}
.phone-field .iti__search-input {
  background: radial-gradient(ellipse at 50% 35%, #ffffff 0%, #f9fcff 38%, #edf6ff 100%);
  color: var(--tw-text);
  outline: none !important;
  outline-offset: 0 !important;
}
.phone-field .iti__search-input:focus {
  outline: none !important;
  outline-offset: 0 !important;
}
.phone-field .iti__search-input:focus-visible {
  outline: none !important;
  outline-offset: 0 !important;
}

.phone-field:focus-within {
  border-color: var(--tw-blue);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.09), 0 7px 20px rgba(0, 122, 255, 0.06);
}

/* =========================================================
   CUSTOM COUNTRY SELECTOR
========================================================= */
.phone-field {
  overflow: visible;
}

.country-control {
  position: relative;
  flex: 0 0 112px;
  height: 42px;
  display: flex;
  align-items: center;
  border-right: 1px solid #e2e8f0;
}

/* =========================================================
   TRIGGER
========================================================= */
.country-trigger {
  width: 100%;
  height: 100%;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: #526176;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.country-trigger:hover {
  color: var(--tw-text);
}
.country-trigger:focus-visible {
  outline: none;
}

.country-trigger-flag {
  display: flex;
  align-items: center;
  font-size: 21px;
  line-height: 1;
}

.country-trigger-code {
  color: #65748a;
  font-size: 15px;
  font-weight: 550;
  white-space: nowrap;
}

/* =========================================================
   CHEVRON
========================================================= */
.country-trigger .chevron {
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-right: 1.5px solid #617087;
  border-bottom: 1.5px solid #617087;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.25s var(--tw-transition);
}

.country-control.is-open .country-trigger .chevron {
  transform: translateY(2px) rotate(225deg);
}

/* =========================================================
   HIDDEN NATIVE SELECT
========================================================= */
.country-control > select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* =========================================================
   DROPDOWN
========================================================= */
.country-dropdown {
  position: absolute;
  left: -1px;
  top: calc(100% + 9px);
  z-index: 500;
  width: 235px;
  padding: 7px;
  border: 1px solid #dce6f2;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 45px rgba(30, 70, 120, 0.15), 0 4px 12px rgba(30, 70, 120, 0.06);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px) scale(0.97);
  transform-origin: top left;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.3s var(--tw-transition);
}

.country-control.is-open .country-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* =========================================================
   OPTIONS
========================================================= */
.country-option {
  width: 100%;
  min-height: 44px;
  padding: 7px 9px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--tw-text);
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease, transform 0.2s ease;
}
.country-option:hover {
  background: #f1f7ff;
}
.country-option:active {
  transform: scale(0.985);
}
.country-option.is-selected {
  background: #edf6ff;
}

.country-option-flag {
  font-size: 20px;
  line-height: 1;
}

.country-option-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 550;
}

.country-option-code {
  color: #75849b;
  font-size: 13px;
  font-weight: 600;
}

#phone {
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: 0 15px 0 8px;
  border: 0;
  outline: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--tw-text);
  font-size: 17px;
}

#phone::-moz-placeholder {
  color: #9aa7b9;
}

#phone::placeholder {
  color: #9aa7b9;
}

.chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid #34445c;
  border-bottom: 2px solid #34445c;
  transform: rotate(45deg);
  margin-top: -4px;
}

/* =========================================================
   HUMAN VERIFICATION
========================================================= */
.human-verification {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 82px;
  margin: 17px 0;
  padding: 12px 18px;
  border: 1px solid #d8e2ee;
  border-radius: 13px;
  background: transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--tw-transition);
}

.human-verification:focus-within {
  border-color: #a9cdf5;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.055);
}

.human-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
}

.human-label input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.checkbox-visual {
  position: relative;
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1.5px solid #aebaca;
  border-radius: 6px;
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--tw-transition), box-shadow 0.3s ease;
}

.human-label input:checked + .checkbox-visual {
  border-color: var(--tw-blue);
  background: linear-gradient(145deg, var(--tw-blue), var(--tw-blue-dark));
  box-shadow: 0 5px 14px rgba(0, 122, 255, 0.22);
  transform: scale(1.04);
}

.human-label input:checked + .checkbox-visual::after {
  content: "";
  width: 14px;
  height: 8px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) translateY(-1px);
  animation: checkDraw 0.25s var(--tw-transition) both;
}

.human-label.checking .checkbox-visual {
  border-color: #bcdcff;
  background: #f5faff;
  animation: checkPulse 0.8s ease-in-out infinite;
}

.human-label.checking .checkbox-visual::after {
  content: "";
  width: 17px;
  height: 17px;
  border: 2px solid #c8e2ff;
  border-top-color: var(--tw-blue);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.human-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #7a8799;
  font-size: 0.75rem;
}

.human-brand img {
  width: 31px;
  height: 31px;
  filter: drop-shadow(0 4px 6px rgba(0, 111, 255, 0.12));
}

/* =========================================================
   ERROR
========================================================= */
.error {
  min-height: 0;
  margin: 0 0 9px;
  color: #d3292e;
  font-size: 13px;
  line-height: 1.4;
}

.error:empty {
  margin: 0;
}

/* =========================================================
   BUTTONS
========================================================= */
.button {
  position: relative;
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 13px;
  border: 1px solid transparent;
  font-size: 17px;
  font-weight: 650;
  overflow: hidden;
  transition: transform 0.35s var(--tw-transition), box-shadow 0.35s var(--tw-transition), background 0.3s ease, border-color 0.3s ease;
}

.button::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg);
  transition: none;
}

.button:hover::before {
  animation: buttonShine 0.75s ease;
}

/* primary */
.primary {
  color: white;
  background: var(--tw-blue);
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(0, 122, 255, 0.19), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.primary:hover {
  box-shadow: 0 14px 30px rgba(0, 122, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.primary:disabled {
  opacity: 0.65;
}

/* loading */
.button.loading {
  pointer-events: none;
  color: transparent;
}

.button.loading::after {
  content: "";
  position: absolute;
  width: 19px;
  height: 19px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
}

/* =========================================================
   RIGHT PHONE
========================================================= */
.side-right {
  align-self: center;
  padding-top: 5px;
  animation: sideRightIn 0.9s 0.2s var(--tw-transition) both;
}

.phone-illustration {
  position: relative;
  width: 270px;
  height: 350px;
  margin: 0 auto;
}

.illustration-phone {
  position: absolute;
  left: 60px;
  top: 20px;
  width: 155px;
  height: 275px;
  display: grid;
  place-items: center;
  border: 5px solid #b6d2f4;
  border-radius: 35px;
  background: linear-gradient(145deg, #ffffff, #dcecff);
  transform: rotate(12deg) skewY(-5deg);
  box-shadow: 8px 10px 0 #c8ddf8, 18px 28px 40px rgba(0, 105, 255, 0.14), inset 0 0 0 1px #a8c9f3;
  overflow: hidden;
  animation: phoneFloat 5s ease-in-out infinite;
}

.illustration-phone::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 55px;
  height: 7px;
  border-radius: 20px;
  background: #c8dbf3;
  transform: translateX(-50%);
}

.phone-screen-glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(135, 195, 255, 0.25) 42%, transparent 68%);
  animation: screenGlow 4s ease-in-out infinite;
}

.illustration-phone img {
  position: relative;
  z-index: 2;
  width: 76px;
  height: 76px;
  filter: drop-shadow(0 10px 12px rgba(0, 100, 255, 0.22));
}

.phone-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 280px;
  height: 110px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-20deg);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.55));
  pointer-events: none;
}

.orbit-one {
  animation: orbitOne 7s ease-in-out infinite;
}

.orbit-two {
  width: 310px;
  height: 125px;
  transform: translate(-50%, -50%) rotate(28deg);
  opacity: 0.6;
  animation: orbitTwo 8s ease-in-out infinite;
}

.side-right h3 {
  margin-top: -3px;
  color: var(--tw-text);
  font-size: 27px;
  line-height: 1.12;
  letter-spacing: -1.2px;
  font-weight: 700;
}

.side-right > p {
  margin-top: 14px;
  color: #718096;
  font-size: 1rem;
  line-height: 1.55;
}

/* =========================================================
   TRUST SECTION
========================================================= */
.trust-section {
  grid-column: 1/-1;
  width: 100%;
  max-width: 1160px;
  margin: 46px auto 0;
  padding: 28px 0;
  border-top: 1px solid rgba(209, 220, 235, 0.7);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.trust-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 32px;
}

.trust-item + .trust-item {
  border-left: 1px solid #d9e1ec;
}

.trust-icon {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #edf6ff, #cee7ff);
  box-shadow: inset 0 1px 0 #ffffff, 0 8px 18px rgba(0, 112, 255, 0.06);
  transition: transform 0.4s var(--tw-transition), box-shadow 0.4s ease;
}

.trust-icon img {
  width: 33px;
  height: 33px;
}

.trust-item h3 {
  color: var(--tw-text);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.trust-item p {
  color: #7b889b;
  font-size: 0.938rem;
  line-height: 1.45;
}

/* =========================================================
   OTP
========================================================= */
#step-otp {
  min-height: 535px;
  padding-top: 8px;
}

#masked-phone {
  display: inline-block;
  margin-top: 7px;
  color: var(--tw-blue);
  font-weight: 650;
  letter-spacing: 1px;
}

.otp-fieldset {
  border: 0;
  padding: 0;
  margin: 32px 0 22px;
}

.otp-fieldset legend {
  width: 100%;
  margin-bottom: 13px;
  color: #718096;
  font-size: 0.938rem;
  text-align: center;
}

.otp-group {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.otp-group input {
  width: 55px;
  height: 61px;
  padding: 0;
  border: 1px solid #d5dfeb;
  border-radius: 12px;
  background: transparent;
  color: var(--tw-text);
  text-align: center;
  font-size: 25px;
  font-weight: 600;
  outline: 0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--tw-transition);
}

.otp-group input:focus {
  border-color: var(--tw-blue);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.08);
  transform: translateY(-3px);
}

.otp-group input[aria-invalid=true] {
  border-color: #ef3439;
  background: #fff8f8;
  animation: otpError 0.28s ease;
}

#resend-code {
  font-size: 0.875rem;
}

.text-button {
  display: block;
  margin: 12px auto;
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--tw-blue);
  font-size: 1rem;
}

.resend:disabled {
  color: #8b97a8;
  cursor: default;
}

/* =========================================================
   SUCCESS
========================================================= */
.success-step {
  min-height: 535px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.success-badge {
  width: 112px;
  height: 112px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #e7f4ff, #dff8eb);
  box-shadow: 0 15px 35px rgba(0, 122, 255, 0.11);
  animation: successPop 0.65s var(--tw-transition) both;
}

.success-badge svg {
  width: 65px;
  height: 65px;
  fill: none;
  stroke: #0785d4;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-badge path {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: drawCheck 0.6s 0.3s ease forwards;
}

.success-step .button {
  width: 100%;
  margin-top: 34px;
}

/* =========================================================
   MOBILE MENU
========================================================= */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 4px auto;
  border-radius: 10px;
  background: var(--tw-text);
  transition: transform 0.35s var(--tw-transition), opacity 0.25s ease;
}

.menu-toggle[aria-expanded=true] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded=true] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded=true] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: 78px;
  right: 0;
  z-index: 100;
  min-width: 190px;
  padding: 10px;
  border: 1px solid #dce6f2;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 50px rgba(30, 70, 120, 0.14);
  backdrop-filter: blur(15px);
  transform-origin: top right;
  animation: mobileMenuIn 0.3s var(--tw-transition) both;
}

.mobile-menu button {
  display: block;
  width: 100%;
  padding: 12px 13px;
  text-align: left;
  border-radius: 9px;
}

.mobile-menu button:hover {
  background: #f1f7ff;
}

.mobile-menu .mobile-menu-cta {
  margin-top: 4px;
  color: white;
  background: var(--tw-blue);
  text-align: center;
}

/* =========================================================
   ACCESSIBILITY
========================================================= */
:focus-visible {
  outline: 3px solid rgba(0, 122, 255, 0.35);
  outline-offset: 4px;
}

h1:focus {
  outline: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   HOW IT WORKS POPUP
========================================================= */
.how-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  pointer-events: none;
}

/* backdrop */
.how-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 45, 80, 0.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* sheet */
.how-sheet {
  position: relative;
  width: 100%;
  max-width: 768px;
  max-height: 90dvh;
  padding: 18px 28px 30px;
  border-radius: 26px;
  background: radial-gradient(ellipse at 50% 0%, #ffffff 0%, #f9fcff 42%, #eef6ff 100%);
  box-shadow: 0 30px 80px rgba(30, 70, 120, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* handle bar */
.how-handle {
  width: 44px;
  height: 5px;
  margin: 0 auto 20px;
  border-radius: 100px;
  background: #cddcec;
}

/* close button */
.how-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #eef5fd;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s var(--tw-transition);
}
.how-close span {
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 10px;
  background: #4c5b70;
}
.how-close span:nth-child(1) {
  transform: rotate(45deg);
}
.how-close span:nth-child(2) {
  transform: rotate(-45deg);
}
.how-close:hover {
  background: #e0edfb;
  transform: rotate(90deg);
}

/* title */
.how-title {
  color: var(--tw-text);
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -1px;
  margin-bottom: 8px;
  text-align: center;
}

.how-subtitle {
  color: var(--tw-text-soft);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 26px;
  text-align: center;
}

/* steps */
.how-steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.how-step {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 16px;
  border: 1px solid #dbe7f3;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 4px 14px rgba(41, 90, 145, 0.04);
  opacity: 0;
  transform: translateY(14px);
}

.how-step-number {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--tw-blue), var(--tw-blue-dark));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(0, 122, 255, 0.22);
}

.how-step-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.how-step-body strong {
  color: var(--tw-text);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
}

.how-step-body span {
  color: #75859b;
  font-size: 0.938rem;
  line-height: 1.45;
}

/* cta */
.how-cta {
  width: 100%;
  min-height: 54px;
  border-radius: 13px;
  font-size: 1rem;
}

/* =========================================================
   OPEN STATE
========================================================= */
.how-overlay.is-open {
  visibility: visible;
  pointer-events: auto;
}

.how-overlay.is-open .how-backdrop {
  opacity: 1;
}

.how-overlay.is-open .how-sheet {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* staggered step entrance */
.how-overlay.is-open .how-step {
  animation: howStepIn 0.55s var(--tw-transition) both;
}

.how-overlay.is-open .how-step:nth-child(1) {
  animation-delay: 0.18s;
}

.how-overlay.is-open .how-step:nth-child(2) {
  animation-delay: 0.28s;
}

.how-overlay.is-open .how-step:nth-child(3) {
  animation-delay: 0.38s;
}

@keyframes howStepIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================================================
   BODY LOCK
========================================================= */
body.how-open {
  overflow: hidden;
}

/* =========================================================
   DESKTOP: slide from bottom but with rounded card
========================================================= */
@media (min-width: 769px) {
  .how-sheet {
    padding: 26px 36px 36px;
    border-radius: 26px;
  }
}
/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 768px) {
  .how-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .how-sheet {
    max-width: 100%;
    padding: 16px 18px 26px;
    border-radius: 22px 22px 0 0;
    transform: translateY(100%);
  }
  .how-overlay.is-open .how-sheet {
    transform: translateY(0);
  }
  .how-title {
    font-size: 22px;
  }
  .how-subtitle {
    font-size: 0.938rem;
    margin-bottom: 20px;
  }
  .how-step {
    padding: 13px 13px;
    gap: 12px;
  }
  .how-step-number {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
  .how-step-body strong {
    font-size: 0.938rem;
  }
  .how-step-body span {
    font-size: 0.875rem;
  }
}
/* =========================================================
   ANIMATIONS
========================================================= */
@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(35px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes sideLeftIn {
  from {
    opacity: 0;
    transform: translateX(-35px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes sideRightIn {
  from {
    opacity: 0;
    transform: translateX(35px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes stepEnter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes stepExit {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}
@keyframes badgeFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
@keyframes badgeGlow {
  0%, 100% {
    opacity: 0.55;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}
@keyframes shieldAppear {
  from {
    opacity: 0;
    transform: scale(0.65) rotate(-10deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}
@keyframes activePulse {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(0, 122, 255, 0));
  }
  50% {
    filter: drop-shadow(0 5px 14px rgba(0, 122, 255, 0.16));
  }
}
@keyframes alertAppear {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes alertGlow {
  0%, 100% {
    box-shadow: 0 0 0 5px rgba(255, 51, 58, 0.03), 0 0 25px rgba(255, 42, 48, 0.14), 0 10px 28px rgba(255, 35, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 51, 58, 0.06), 0 0 38px rgba(255, 42, 48, 0.18), 0 12px 34px rgba(255, 35, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}
@keyframes alertShine {
  0% {
    transform: translateX(-100%) rotate(20deg);
  }
  25%, 100% {
    transform: translateX(450%) rotate(20deg);
  }
}
@keyframes buttonShine {
  from {
    left: -70%;
  }
  to {
    left: 150%;
  }
}
@keyframes checkDraw {
  from {
    opacity: 0;
    transform: rotate(-45deg) translateY(-1px) scale(0.7);
  }
  to {
    opacity: 1;
    transform: rotate(-45deg) translateY(-1px) scale(1);
  }
}
@keyframes checkPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}
@keyframes phoneFloat {
  0%, 100% {
    transform: translateY(0) rotate(12deg) skewY(-5deg);
  }
  50% {
    transform: translateY(-11px) rotate(12deg) skewY(-5deg);
  }
}
@keyframes screenGlow {
  0%, 100% {
    transform: scale(0.95);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.9;
  }
}
@keyframes orbitOne {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(-20deg) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) rotate(-13deg) scale(1.04);
  }
}
@keyframes orbitTwo {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(28deg) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) rotate(35deg) scale(1.03);
  }
}
@keyframes successPop {
  from {
    opacity: 0;
    transform: scale(0.65);
  }
  70% {
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes otpError {
  25%, 75% {
    transform: translateX(-4px);
  }
  50% {
    transform: translateX(4px);
  }
}
@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes mobileMenuIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* =========================================================
   1200px
========================================================= */
@media (max-width: 1200px) {
  .page-shell {
    grid-template-columns: minmax(210px, 1fr) minmax(500px, 620px) minmax(210px, 1fr);
    -moz-column-gap: 28px;
         column-gap: 28px;
  }
  .side-left h2 {
    font-size: 39px;
  }
  .side-left > p {
    font-size: 16px;
  }
  .side-right {
    transform: scale(0.9);
  }
  .desktop-nav {
    gap: 20px;
  }
}
/* =========================================================
   1100px
========================================================= */
@media (max-width: 1100px) {
  .desktop-side {
    display: none;
  }
  .page-shell {
    display: block;
    width: min(720px, 100% - 40px);
  }
  .verification-card {
    padding: 40px 42px 35px;
  }
  .trust-section {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 17px;
    padding: 23px 10px 20px;
    border-top: 0;
  }
  .trust-section .trust-item + .trust-item {
    padding-top: 17px;
    border-left: 0;
    border-top: 1px solid #e0e7f0;
  }
  .trust-section .desktop-break {
    display: none;
  }
}
/* =========================================================
   767px
========================================================= */
@media (max-width: 767px) {
  .page-background {
    min-height: 100dvh;
    background: radial-gradient(ellipse at 50% 20%, #ffffff 0%, #f7fbff 48%, #eaf5ff 100%);
  }
  .page-background::before {
    width: 700px;
    height: 500px;
    left: -540px;
    top: 130px;
    opacity: 0.7;
  }
  .page-background::after {
    width: 760px;
    height: 580px;
    right: -520px;
    top: -50px;
    opacity: 0.8;
  }
  .site-header {
    width: calc(100% - 36px);
    height: 78px;
  }
  .logo {
    font-size: 30px;
    letter-spacing: -1.8px;
  }
  .desktop-nav,
  .header-actions {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .page-shell {
    width: calc(100% - 28px);
    padding-top: 10px;
  }
  .verification-card {
    padding: 27px 17px 23px;
    border-radius: 27px;
    box-shadow: 0 22px 55px rgba(41, 90, 145, 0.1);
  }
  .security-badge {
    width: 72px;
    height: 72px;
    margin-bottom: 13px;
  }
  .security-badge img {
    width: 42px;
    height: 42px;
  }
  .verification-card h1 {
    font-size: clamp(25px, 7vw, 31px);
    letter-spacing: -1.15px;
    margin-left: 0;
    margin-right: 0;
  }
  .subtitle {
    font-size: 1rem;
    line-height: 1.4;
  }
  .alert-box {
    gap: 12px;
    min-height: 106px;
    margin: 18px 0 20px;
    padding: 13px 13px;
    border-radius: 13px;
  }
  .alert-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }
  .alert-icon img {
    width: 36px;
    height: 36px;
  }
  .alert-content strong,
  .alert-content > span {
    font-size: 0.938rem;
  }
  .alert-content p {
    font-size: 0.875rem;
    line-height: 1.2;
  }
  .phone-field {
    height: 51px;
    border-radius: 10px;
  }
  .country-control {
    flex-basis: 75px;
    gap: 9px;
  }
  #country-flag {
    font-size: 21px;
  }
  #country-prefix {
    padding-left: 12px;
    font-size: 15px;
  }
  #phone {
    padding-left: 7px;
    font-size: 15px;
  }
  .human-verification {
    min-height: 72px;
    padding: 9px 12px;
    border-radius: 10px;
  }
  .human-label {
    gap: 10px;
    font-size: 14px;
  }
  .checkbox-visual {
    flex-basis: 27px;
    width: 27px;
    height: 27px;
  }
  .human-brand {
    flex-direction: row;
    gap: 5px;
  }
  .human-brand img {
    width: 27px;
    height: 27px;
  }
  .button {
    min-height: 51px;
    border-radius: 11px;
    font-size: 16px;
  }
  .secondary {
    min-height: 46px;
    font-size: 15px;
  }
  .divider {
    margin: 11px 0 10px;
  }
  .trust-section {
    display: flex;
    flex-direction: column;
    gap: 17px;
    padding: 23px 10px 20px;
    border-top: 0;
  }
  .trust-item {
    padding: 0;
    gap: 15px;
  }
  .trust-item + .trust-item {
    padding-top: 17px;
    border-left: 0;
    border-top: 1px solid #e0e7f0;
  }
  .trust-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }
  .trust-icon img {
    width: 27px;
    height: 27px;
  }
  .desktop-break {
    display: none;
  }
  #step-otp {
    min-height: 470px;
    padding-top: 3px;
  }
  .otp-group {
    gap: 6px;
  }
  .otp-group input {
    flex: 1;
    width: auto;
    max-width: 55px;
    height: 54px;
    border-radius: 10px;
    font-size: 23px;
  }
  .success-step {
    min-height: 470px;
  }
  .success-badge {
    width: 95px;
    height: 95px;
  }
  .success-badge svg {
    width: 56px;
    height: 56px;
  }
}
/* =========================================================
   420px
========================================================= */
@media (max-width: 420px) {
  .site-header {
    width: calc(100% - 28px);
  }
  .page-shell {
    width: calc(100% - 18px);
  }
  .verification-card {
    padding-left: 13px;
    padding-right: 13px;
  }
  .alert-box {
    padding-left: 10px;
    padding-right: 10px;
  }
  .alert-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }
  .alert-icon img {
    width: 33px;
    height: 33px;
  }
  .alert-content strong,
  .alert-content > span {
    font-size: 0.875rem;
  }
  .alert-content p {
    font-size: 0.75rem;
  }
  .country-control {
    flex-basis: 94px;
  }
  .country-trigger {
    padding: 0 7px;
    gap: 5px;
  }
  .country-trigger-flag {
    font-size: 19px;
  }
  .country-trigger-code {
    font-size: 14px;
  }
  .country-dropdown {
    width: 220px;
  }
  .human-verification {
    padding-left: 9px;
    padding-right: 9px;
  }
  .human-label {
    gap: 8px;
  }
  .human-brand span {
    max-width: 55px;
    text-align: center;
    font-size: 0.625rem;
  }
  .otp-group {
    gap: 4px;
  }
  .otp-group input {
    min-width: 0;
    height: 51px;
  }
}
body.menu-open .site-header .logo {
  z-index: 9999;
}

.site-header {
  position: relative;
  z-index: 1000;
  width: min(1320px, 100% - 56px);
  height: 108px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.site-header .logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.site-header .logo img {
  width: auto;
  height: 45px;
}
.site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-header .header-actions .button.small {
  width: auto;
  min-height: 46px;
  padding: 0 25px;
  border-radius: 11px;
  font-size: 14px;
}
.site-header .header-actions .button.primary:hover {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(0, 122, 255, 0.19), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.site-header .header-actions .header-info-btn {
  position: relative;
  padding: 10px 3px;
  border: 0;
  background: transparent;
  color: var(--tw-text-soft);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.25s ease, transform 0.25s var(--tw-transition);
}
.site-header .header-actions .header-info-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 10px;
  background: var(--tw-blue);
  transform: translateX(-50%);
  transition: width 0.3s var(--tw-transition);
}
.site-header .header-actions .header-info-btn:hover {
  color: var(--tw-blue);
  transform: translateY(-1px);
}
.site-header .header-actions .header-info-btn:hover::after {
  width: 100%;
}
.site-header .menu-toggle {
  position: relative;
  z-index: 1002;
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  transition: transform 0.3s var(--tw-transition);
}
.site-header .menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 3px 0;
  border-radius: 10px;
  background: var(--tw-text);
  transform-origin: center;
  transition: transform 0.4s var(--tw-transition), opacity 0.25s ease, width 0.25s ease;
}
.site-header .menu-toggle[aria-expanded=true] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.site-header .menu-toggle[aria-expanded=true] span:nth-child(2) {
  width: 0;
  opacity: 0;
  transform: scaleX(0);
}
.site-header .menu-toggle[aria-expanded=true] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.site-header .mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1001;
  width: 100%;
  height: 100dvh;
  padding: 120px 28px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1), visibility 0s linear 0.55s;
}
.site-header .mobile-menu button {
  width: 100%;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.site-header .mobile-menu .mobile-menu-link {
  min-height: 54px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: transparent;
  color: var(--tw-text);
  font-size: 1.125rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(35px);
  transition: opacity 0.35s ease, transform 0.45s var(--tw-transition), color 0.25s ease;
}
.site-header .mobile-menu .mobile-menu-link:hover {
  color: var(--tw-blue);
}
.site-header .mobile-menu .mobile-menu-cta {
  min-height: 58px;
  margin-top: 16px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--tw-blue);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transform: translateX(35px);
  box-shadow: 0 10px 25px rgba(0, 122, 255, 0.18);
  transition: opacity 0.35s ease, transform 0.45s var(--tw-transition), background 0.25s ease, box-shadow 0.25s ease;
}
.site-header .mobile-menu .mobile-menu-cta:hover {
  color: #fff;
  background: var(--tw-blue);
  transform: translateX(0) translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 122, 255, 0.25);
}
.site-header .mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1), visibility 0s linear 0s;
}
.site-header .mobile-menu.is-open .mobile-menu-link {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.18s;
}
.site-header .mobile-menu.is-open .mobile-menu-cta {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.27s;
}

.verification-card.card-focus {
  animation: verificationCardFocus 1s var(--tw-transition) both;
}

@keyframes verificationCardFocus {
  0% {
    transform: scale(1);
  }
  22% {
    transform: scale(1.025);
  }
  48% {
    transform: scale(0.992);
  }
  72% {
    transform: scale(1.012);
  }
  100% {
    transform: scale(1);
  }
}
body.menu-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .site-header {
    width: calc(100% - 36px);
    height: 78px;
    z-index: 1003;
  }
  .site-header .logo img {
    height: 35px;
  }
  .site-header .header-actions {
    display: none;
  }
  .site-header .menu-toggle {
    display: flex;
  }
}
@media (max-width: 420px) {
  .site-header {
    width: calc(100% - 28px);
  }
  .site-header .mobile-menu {
    padding: 105px 22px 30px;
  }
  .site-header .mobile-menu .mobile-menu-cta {
    min-height: 54px;
  }
}
/* =========================================================
   SITE FOOTER
========================================================= */
.site-footer {
  position: relative;
  margin-top: 80px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(240, 247, 255, 0.6) 100%);
  border-top: 1px solid rgba(213, 226, 241, 0.7);
}

.footer-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 28px 30px;
}

/* ---------- FOOTER TOP ---------- */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

/* ---------- BRAND ---------- */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: auto;
  min-height: 35px;
  flex-shrink: 0;
}

.footer-brand-name {
  color: var(--tw-text);
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--tw-blue), var(--tw-blue-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- NAV ---------- */
.footer-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-nav a {
  position: relative;
  color: var(--tw-text-soft);
  font-size: 0.938rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s var(--tw-transition);
}

.footer-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 10px;
  background: var(--tw-blue);
  transform: translateX(-50%);
  transition: width 0.3s var(--tw-transition);
}

.footer-nav a:hover {
  color: var(--tw-blue);
}

.footer-nav a:hover::after {
  width: 100%;
}

/* ---------- DIVIDER ---------- */
.footer-divider {
  height: 1px;
  margin: 28px 0 24px;
  background: linear-gradient(90deg, transparent, rgba(213, 226, 241, 0.8), transparent);
}

/* ---------- FOOTER BOTTOM ---------- */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copyright {
  color: var(--tw-text-soft);
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-note {
  color: #7a8799;
  font-size: 0.813rem;
  font-weight: 400;
  font-style: italic;
}

/* =========================================================
   LEGAL PAGES (Privacy, Terms, Contact)
========================================================= */
.legal-page {
  position: relative;
  min-height: 70vh;
  padding: 60px 20px 80px;
  background: radial-gradient(ellipse at 50% 35%, #ffffff 0%, #f9fcff 38%, #edf6ff 100%);
}

.legal-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 44px;
  background: #ffffff;
  border: 1px solid rgba(213, 226, 241, 0.85);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(41, 90, 145, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.legal-container h1 {
  color: var(--tw-text);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 750;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.legal-updated {
  color: #7a8799;
  font-size: 0.875rem;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(213, 226, 241, 0.7);
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section h2 {
  color: var(--tw-text);
  font-size: 1.188rem;
  font-weight: 650;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}

.legal-section p {
  color: var(--tw-text-soft);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 10px;
}

.legal-section ul {
  margin: 10px 0 10px 20px;
  padding: 0;
}

.legal-section li {
  color: var(--tw-text-soft);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 6px;
}

.legal-section a {
  color: var(--tw-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

.legal-section a:hover {
  color: var(--tw-blue-dark);
  text-decoration: underline;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 22px;
  background: var(--tw-blue);
  color: #ffffff;
  border-radius: 12px;
  font-size: 0.938rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 122, 255, 0.18);
  transition: transform 0.3s var(--tw-transition), box-shadow 0.3s ease, background 0.25s ease;
}

.legal-back:hover {
  background: var(--tw-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 122, 255, 0.25);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 767px) {
  .footer-container {
    padding: 32px 20px 24px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-nav {
    width: 100%;
    gap: 20px;
    justify-content: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .legal-page {
    padding: 40px 14px 60px;
  }
  .legal-container {
    padding: 32px 22px;
    border-radius: 18px;
  }
  .legal-section h2 {
    font-size: 1.063rem;
  }
  .legal-section p,
  .legal-section li {
    font-size: 0.938rem;
  }
  .legal-back {
    width: 100%;
    justify-content: center;
  }
}
/* =========================================================
   TELEWALLE VERIFICATION
   Premium blue / white verification interface
========================================================= */
/* =========================================================
   VARIABLES
========================================================= */
:root {
  --tw-bg: #f7fbff;
  --tw-white: #ffffff;
  --tw-blue: #2AABEE;
  --tw-blue-dark: #229ED9;
  --tw-blue-light: #eaf4ff;
  --tw-text: #303030;
  --tw-text-soft: #4D4D4D;
  --tw-border: #dbe5f1;
  --tw-danger: #FBEEED;
  --tw-danger-dark: #d43a2f;
  --tw-shadow:
      0 25px 70px rgba(37, 93, 160, .12);
  --tw-transition:
      cubic-bezier(.22, 1, .36, 1);
}

/* =========================================================
   RESET
========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  margin: 0 !important;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--tw-text);
  background: var(--tw-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button:disabled {
  cursor: default;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
p {
  margin: 0;
}

#wpadminbar {
  display: none;
}

.error-page .error {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow: hidden;
  color: var(--tg-text);
  background: radial-gradient(ellipse 90% 60% at 50% -30%, rgba(212, 175, 55, 0.18), transparent 60%), radial-gradient(ellipse 50% 40% at 90% 90%, rgba(139, 0, 0, 0.1), transparent), var(--tg-bg);
}
.error-page .particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: url("./img/bgimg.webp") top center/cover no-repeat;
}
.error-page .particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--tg-gold);
  opacity: 0;
  animation: particleRise linear infinite;
}
@keyframes particleRise {
  0% {
    transform: translateY(105vh) scale(0.5);
    opacity: 0;
  }
  15% {
    opacity: 0.35;
  }
  80% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}
.error-page .error-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  transition: opacity 0.35s ease;
  overflow-y: scroll;
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
  /* Hide scrollbar for Chrome, Safari and Opera */
}
.error-page .error-overlay::-webkit-scrollbar {
  display: none;
}
.error-page .error-card {
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.error-page .error-card h1 {
  font-size: clamp(3.85rem, -0.875rem + 8.333333vw, 4.65rem);
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: capitalize;
  background-image: linear-gradient(135deg, #fff8e0 0%, #f5e6a3 25%, #d4af37 60%, #b8860b 100%);
  background-size: auto auto;
  background-clip: border-box;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.error-page .error-card h2 {
  color: var(--tg-text);
  font-size: clamp(1.5rem, -0.875rem + 8.333333vw, 1.75rem);
  margin-bottom: 5px;
  font-weight: 600;
}
.error-page .error-card p {
  width: 100%;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1em;
  line-height: 1.3em;
  margin-top: 5px;
}
@media screen and (max-width: 768px) {
  .error-page .error-card p {
    font-size: 0.95em;
  }
}
@media screen and (max-width: 600px) {
  .error-page .error-card p {
    font-size: 0.925em;
  }
}
.error-page .error-card a {
  width: 90%;
  max-width: 250px;
  display: block;
  position: relative;
  min-height: 50px;
  padding: 14px 34px;
  margin-top: 15px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 100px;
  background: linear-gradient(145deg, #fff3b0 0%, #f0d060 25%, #d4af37 60%, #a67c00 100%);
  color: #1a1408;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 5px 0 #7a5c00, 0 12px 30px rgba(212, 175, 55, 0.28), inset 0 2px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.error-page .error-card a::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.error-page .error-card a:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow: 0 8px 0 #7a5c00, 0 18px 38px rgba(212, 175, 55, 0.38), inset 0 2px 0 rgba(255, 255, 255, 0.6);
}
.error-page .error-card a:hover::after {
  left: 130%;
}
.error-page .error-card a:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #7a5c00, 0 7px 18px rgba(212, 175, 55, 0.22), inset 0 2px 0 rgba(255, 255, 255, 0.45);
}
.error-page .error-card a:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
  filter: none;
}
.error-page .error-card a.is-loading {
  cursor: wait;
}/*# sourceMappingURL=style.css.map */