/* =========================================================
   EXCLUSIVE PAY - AUTH PAGES CLEAN CSS
   Used by: Login + Forgot Password
   ========================================================= */

:root {
  --ep-navy: #061B3F;
  --ep-blue: #0B356B;
  --ep-orange: #FF7A00;
  --ep-orange-dark: #F45100;
  --ep-bg: #F7FAFF;
  --ep-text: #061B3F;
  --ep-muted: #64748B;
  --ep-border: rgba(6, 27, 63, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  background: #f7faff !important;
}

body.container-width {
  width: 100% !important;
  max-width: none !important;
  min-width: 100% !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  color: var(--ep-text);
  background:
    radial-gradient(circle at 8% 8%, rgba(255,122,0,.12), transparent 32%),
    radial-gradient(circle at 95% 18%, rgba(11,53,107,.10), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%) !important;
}

body.container-width::before,
body.container-width::after {
  content: "";
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(10px);
  opacity: .55;
}

body.container-width::before {
  width: 220px;
  height: 220px;
  left: -100px;
  top: 60px;
  background: rgba(255,122,0,.12);
}

body.container-width::after {
  width: 240px;
  height: 240px;
  right: -120px;
  bottom: 100px;
  background: rgba(6,27,63,.08);
}

/* =========================================================
   Layout
   ========================================================= */

.wrap {
  position: relative;
  z-index: 2;
  width: 100% !important;
  max-width: none !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: 18px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  background: transparent !important;
}

.tf-container {
  width: 100% !important;
  max-width: 430px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: visible !important;
}

/* =========================================================
   Card
   ========================================================= */

.from-login {
  position: relative;
  width: 100% !important;
  max-width: 430px !important;
  margin: 0 auto !important;
  padding: 26px 22px 22px !important;
  border-radius: 30px !important;
  overflow: visible !important;
  background: rgba(255,255,255,.90) !important;
  border: 1px solid rgba(255,255,255,.72) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 20px 45px rgba(0,0,0,.10),
    0 2px 8px rgba(0,0,0,.05);
}

.from-login::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(255,122,0,.10), transparent 30%),
    linear-gradient(135deg, rgba(6,27,63,.02), transparent 45%);
}

.from-login > * {
  position: relative;
  z-index: 2;
}

/* Logo */
.from-login > div:first-of-type {
  text-align: center;
}

.from-login > div:first-of-type img {
  width: 120px !important;
  height: auto !important;
  padding: 12px !important;
  border-radius: 28px !important;
  background: #ffffff !important;
  box-shadow:
    0 16px 32px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.9);
}

/* Title */
.top-from {
  text-align: center;
  margin-top: 20px !important;
  margin-bottom: 24px !important;
}

.top-from .title {
  margin-bottom: 8px !important;
  color: var(--ep-navy) !important;
  font-size: 24px !important;
  font-weight: 950 !important;
  line-height: 1.15 !important;
  letter-spacing: -.5px;
}

.top-from .sub-title {
  color: var(--ep-muted) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

/* =========================================================
   Fields
   ========================================================= */

.middle-from {
  width: 100% !important;
  margin-top: 4px !important;
  overflow: visible !important;
}

.tf-field,
fieldset.tf-field,
fieldset.icon-absolute {
  position: relative !important;
  width: 100% !important;
  min-height: 56px !important;
  border-radius: 18px !important;
  overflow: visible !important;
  border: 1px solid rgba(6,27,63,.10) !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 8px 20px rgba(6,27,63,.05) !important;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.tf-field:focus-within,
fieldset.tf-field:focus-within,
fieldset.icon-absolute:focus-within {
  border-color: rgba(255,122,0,.65) !important;
  background: #ffffff !important;
  box-shadow:
    0 0 0 4px rgba(255,122,0,.10),
    0 12px 24px rgba(0,0,0,.08) !important;
}

.tf-field input,
fieldset.icon-absolute input {
  width: 100% !important;
  color: var(--ep-navy) !important;
  font-weight: 800 !important;
}

.tf-field input::placeholder,
fieldset.icon-absolute input::placeholder {
  color: #94A3B8 !important;
  font-weight: 600 !important;
}

#mobileInput,
#password,
#new-password,
#confirmed-password,
#blazeAccountId {
  min-height: 56px !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  font-size: 16px !important;
}

.box-auth-pass {
  margin-top: 12px !important;
}

/* =========================================================
   intl-tel-input
   ========================================================= */

.iti {
  width: 100% !important;
  display: block !important;
  position: relative !important;
  overflow: visible !important;
  z-index: 30 !important;
}

.iti__tel-input,
.iti input[type="tel"],
.iti input[type="text"] {
  width: 100% !important;
}

.iti__selected-country,
.iti__selected-country-container,
.iti__flag-container {
  z-index: 3 !important;
}

.iti__dropdown-content {
  border-radius: 18px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid rgba(6,27,63,.10) !important;
  box-shadow:
    0 18px 40px rgba(0,0,0,.14),
    0 2px 8px rgba(0,0,0,.06) !important;
}

.iti__search-input {
  width: 100% !important;
  height: 56px !important;
  box-sizing: border-box !important;
  padding: 14px 16px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(6,27,63,.18) !important;
  outline: none !important;
  font-size: 16px !important;
}

.iti__country-list {
  width: 100% !important;
  max-height: 260px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: #ffffff !important;
}

.iti__country {
  min-height: 52px !important;
  padding: 11px 14px !important;
  font-size: 16px !important;
  white-space: normal !important;
  transition: background-color .18s ease;
}

.iti__country:hover,
.iti__country.iti__highlight {
  background: rgba(255,122,0,.08) !important;
}

.iti--container {
  position: fixed !important;
  right: auto !important;
  max-width: calc(100vw - 28px) !important;
  transform: none !important;
  z-index: 999999999 !important;
}

.iti--container .iti__dropdown-content {
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.iti--container .iti__country-list {
  width: 100% !important;
  max-height: 260px !important;
}

.iti-dropdown-open-field {
  margin-bottom: 0 !important;
}

/* =========================================================
   Forgot / Button / Text
   ========================================================= */

.forgot-wrap {
  margin-top: 12px !important;
}

.forgot-link-underline {
  color: var(--ep-navy) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.tf-btn.primary {
  position: relative !important;
  width: 100% !important;
  height: 56px !important;
  margin-top: 16px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, var(--ep-orange), var(--ep-orange-dark)) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  box-shadow:
    0 14px 28px rgba(255,122,0,.28),
    inset 0 1px 0 rgba(255,255,255,.28);
}

.tf-btn.primary:active {
  transform: scale(.98);
}

.text-bottom {
  margin-top: 18px !important;
  text-align: center !important;
  color: var(--ep-muted) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.text-bottom a {
  color: var(--ep-orange) !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.field-error-text {
  color: #dc2626 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.field-ok-text {
  color: #16a34a !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

/* =========================================================
   Preloader
   ========================================================= */

.preload.preload-container {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,122,0,.12), transparent 32%),
    linear-gradient(180deg,#ffffff 0%, var(--ep-bg) 100%) !important;
}

/* =========================================================
   Mobile - Same visual layout as web
   ========================================================= */

@media (max-width: 576px) {
  body.container-width {
    min-height: 100svh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .wrap {
    min-height: 100svh !important;
    padding: 14px 12px !important;
  }

  .tf-container {
    width: 100% !important;
    max-width: 430px !important;
  }

  .from-login {
    width: min(100%, 430px) !important;
    max-width: 430px !important;
    padding: 26px 22px 22px !important;
    border-radius: 30px !important;
  }

  .from-login > div:first-of-type img {
    width: 120px !important;
    padding: 12px !important;
  }

  .top-from {
    margin-top: 20px !important;
    margin-bottom: 24px !important;
  }

  .top-from .title {
    font-size: 24px !important;
  }

  .top-from .sub-title {
    font-size: 14px !important;
  }

  .tf-field,
  fieldset.tf-field,
  fieldset.icon-absolute {
    min-height: 56px !important;
    border-radius: 18px !important;
  }

  .iti--container {
    max-width: calc(100vw - 24px) !important;
  }

  .iti--container .iti__country-list {
    max-height: 38vh !important;
  }
}

@media (max-width: 380px) {
  .wrap {
    padding: 12px 10px !important;
  }

  .from-login {
    padding: 22px 16px 20px !important;
    border-radius: 24px !important;
  }

  .top-from .title {
    font-size: 22px !important;
  }

  .from-login > div:first-of-type img {
    width: 108px !important;
  }
}

@supports (-webkit-touch-callout: none) {
  body.container-width,
  .wrap {
    min-height: -webkit-fill-available;
  }
}