/*
 * AdeptDEV Store · Premium account modal v0.23.4
 * Scope: common/quicksignup only. No authentication logic is changed.
 */

body.adeptdev-storefront #modal-quicksignup.my-modal {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  padding: max(22px, env(safe-area-inset-top)) 18px max(22px, env(safe-area-inset-bottom)) !important;
  box-sizing: border-box !important;
  align-items: center !important;
  justify-content: center !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: rgba(7, 26, 61, .56) !important;
  -webkit-backdrop-filter: blur(10px) saturate(.92) !important;
  backdrop-filter: blur(10px) saturate(.92) !important;
  z-index: 1000000 !important;
  isolation: isolate;
}

body.adeptdev-storefront #modal-quicksignup.my-modal.active {
  display: flex !important;
  animation: adLoginBackdropIn .18s ease both;
}

body.adeptdev-storefront #modal-quicksignup .close-popup {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 1 !important;
  cursor: default;
}

body.adeptdev-storefront #modal-quicksignup .my-modal-body {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  width: min(100%, 430px) !important;
  max-width: 430px !important;
  min-width: 0 !important;
  margin: auto !important;
  padding: 34px 34px 30px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  border: 1px solid rgba(169, 196, 239, .78) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 100% 0, rgba(32, 199, 244, .10), transparent 180px),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  box-shadow:
    0 38px 95px rgba(7, 26, 61, .28),
    0 8px 24px rgba(20, 74, 160, .10) !important;
  color: #0b1f46 !important;
  font-family: 'Inter', sans-serif !important;
  transform-origin: 50% 50%;
  animation: adLoginCardIn .24s cubic-bezier(.2,.8,.2,1) both;
}

body.adeptdev-storefront #modal-quicksignup .my-modal-body::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

body.adeptdev-storefront #modal-quicksignup .my-modal-body > button {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid #dbe7fb !important;
  border-radius: 14px !important;
  background: #f6f9ff !important;
  background-image: none !important;
  box-shadow: 0 8px 20px rgba(20,74,160,.08) !important;
  cursor: pointer !important;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease !important;
}

body.adeptdev-storefront #modal-quicksignup .my-modal-body > button::before,
body.adeptdev-storefront #modal-quicksignup .my-modal-body > button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 1.7px;
  border-radius: 2px;
  background: #56709b;
  transform-origin: center;
}

body.adeptdev-storefront #modal-quicksignup .my-modal-body > button::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

body.adeptdev-storefront #modal-quicksignup .my-modal-body > button::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

body.adeptdev-storefront #modal-quicksignup .my-modal-body > button:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(20,103,255,.34) !important;
  background: #edf4ff !important;
}

body.adeptdev-storefront #modal-quicksignup .tab {
  width: 100% !important;
}

body.adeptdev-storefront #modal-quicksignup .tab.hidden {
  display: none !important;
}

body.adeptdev-storefront #modal-quicksignup .my-modal-title {
  position: relative;
  margin: 4px 50px 28px 0 !important;
  padding: 44px 0 0 !important;
  color: #071a3d !important;
  font-size: 26px !important;
  line-height: 1.16 !important;
  font-weight: 800 !important;
  letter-spacing: -.035em !important;
  text-align: left !important;
  text-transform: none !important;
}

body.adeptdev-storefront #modal-quicksignup .my-modal-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background:
    linear-gradient(#fff,#fff) center 10px / 8px 8px no-repeat,
    linear-gradient(#fff,#fff) center 22px / 14px 7px no-repeat,
    linear-gradient(135deg, #3d7cff, #175ce6);
  box-shadow: 0 9px 20px rgba(20,103,255,.22);
}

body.adeptdev-storefront #modal-quicksignup .form-group {
  margin: 0 0 14px !important;
}

body.adeptdev-storefront #modal-quicksignup .form-group.input,
body.adeptdev-storefront #modal-quicksignup .form-group.input.lessmargin {
  position: relative !important;
  width: 100% !important;
  margin: 0 0 14px !important;
}

body.adeptdev-storefront #modal-quicksignup input[type='text'],
body.adeptdev-storefront #modal-quicksignup input[type='email'],
body.adeptdev-storefront #modal-quicksignup input[type='tel'],
body.adeptdev-storefront #modal-quicksignup input[type='password'] {
  display: block !important;
  width: 100% !important;
  height: 56px !important;
  padding: 0 17px !important;
  box-sizing: border-box !important;
  border: 1px solid #d9e5f8 !important;
  border-radius: 16px !important;
  outline: 0 !important;
  background: #f6f9ff !important;
  color: #0b1f46 !important;
  font-size: 15px !important;
  line-height: 56px !important;
  font-weight: 550 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82) !important;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease !important;
}

body.adeptdev-storefront #modal-quicksignup input::placeholder {
  color: #8a9ab5 !important;
  opacity: 1 !important;
}

body.adeptdev-storefront #modal-quicksignup input:focus {
  border-color: rgba(20,103,255,.72) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(20,103,255,.10), 0 8px 20px rgba(20,74,160,.06) !important;
}

body.adeptdev-storefront #modal-quicksignup .input.has-error input {
  border-color: #e5484d !important;
  background: #fffafa !important;
  box-shadow: 0 0 0 4px rgba(229,72,77,.08) !important;
}

body.adeptdev-storefront #modal-quicksignup .input > p {
  margin: 7px 2px 0 !important;
  color: #d73f44 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}

body.adeptdev-storefront #modal-quicksignup .btn-grn,
body.adeptdev-storefront #modal-quicksignup button.loginaccount,
body.adeptdev-storefront #modal-quicksignup button.createaccount,
body.adeptdev-storefront #modal-quicksignup #restore {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 54px !important;
  margin: 5px 0 0 !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #3978ff 0%, #1c61ed 52%, #104bd2 100%) !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 750 !important;
  letter-spacing: -.01em !important;
  box-shadow: 0 13px 26px rgba(20,103,255,.24) !important;
  cursor: pointer !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}

body.adeptdev-storefront #modal-quicksignup .btn-grn:hover,
body.adeptdev-storefront #modal-quicksignup button.loginaccount:hover,
body.adeptdev-storefront #modal-quicksignup button.createaccount:hover,
body.adeptdev-storefront #modal-quicksignup #restore:hover {
  transform: translateY(-1px) !important;
  filter: brightness(1.025) !important;
  box-shadow: 0 17px 32px rgba(20,103,255,.30) !important;
  opacity: 1 !important;
}

body.adeptdev-storefront #modal-quicksignup .btn-grn > svg {
  margin-left: 12px !important;
}

body.adeptdev-storefront #modal-quicksignup .accountless {
  position: relative;
  margin: 27px 0 14px !important;
  color: #7687a5 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  text-align: center !important;
}

body.adeptdev-storefront #modal-quicksignup .accountless::before,
body.adeptdev-storefront #modal-quicksignup .accountless::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 28%;
  height: 1px;
  background: #e0e9f8;
}

body.adeptdev-storefront #modal-quicksignup .accountless::before { left: 0; }
body.adeptdev-storefront #modal-quicksignup .accountless::after { right: 0; }

body.adeptdev-storefront #modal-quicksignup .switcher,
body.adeptdev-storefront #modal-quicksignup .form-group.flex-flow.switcher {
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
  width: 100% !important;
  margin: 0 !important;
}

body.adeptdev-storefront #modal-quicksignup .switcher > button,
body.adeptdev-storefront #modal-quicksignup #regin,
body.adeptdev-storefront #modal-quicksignup #login {
  width: 100% !important;
  min-height: 45px !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  border: 1px solid transparent !important;
  border-radius: 14px !important;
  background: transparent !important;
  color: #49658f !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  text-transform: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background .18s ease, border-color .18s ease, color .18s ease !important;
}

body.adeptdev-storefront #modal-quicksignup #regin {
  border-color: #d5e3fa !important;
  background: #f5f8ff !important;
  color: #1759d6 !important;
}

body.adeptdev-storefront #modal-quicksignup #regin:hover,
body.adeptdev-storefront #modal-quicksignup #login:hover,
body.adeptdev-storefront #modal-quicksignup .switcher > button:hover {
  border-color: rgba(20,103,255,.22) !important;
  background: #edf4ff !important;
  color: #1459d8 !important;
  text-decoration: none !important;
}

body.adeptdev-storefront #modal-quicksignup #regin + button {
  min-height: 38px !important;
  padding: 7px 12px !important;
  color: #607596 !important;
  font-size: 12px !important;
  background: transparent !important;
}

body.adeptdev-storefront #modal-quicksignup .agree {
  margin: 16px 0 12px !important;
  color: #6e809e !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
}

body.adeptdev-storefront #modal-quicksignup .agree a {
  color: #1759d6 !important;
}

body.adeptdev-storefront.my-modal-active {
  overflow: hidden !important;
}

@keyframes adLoginBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes adLoginCardIn {
  from { opacity: 0; transform: translateY(12px) scale(.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 560px) {
  body.adeptdev-storefront #modal-quicksignup.my-modal {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body.adeptdev-storefront #modal-quicksignup .my-modal-body {
    width: 100% !important;
    max-width: 100% !important;
    padding: 28px 22px 24px !important;
    border-radius: 24px !important;
  }

  body.adeptdev-storefront #modal-quicksignup .my-modal-title {
    margin-right: 44px !important;
    font-size: 24px !important;
  }

  body.adeptdev-storefront #modal-quicksignup .my-modal-body > button {
    top: 13px !important;
    right: 13px !important;
  }

  body.adeptdev-storefront #modal-quicksignup input[type='text'],
  body.adeptdev-storefront #modal-quicksignup input[type='email'],
  body.adeptdev-storefront #modal-quicksignup input[type='tel'],
  body.adeptdev-storefront #modal-quicksignup input[type='password'] {
    height: 54px !important;
    font-size: 16px !important;
    line-height: 54px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.adeptdev-storefront #modal-quicksignup.my-modal.active,
  body.adeptdev-storefront #modal-quicksignup .my-modal-body {
    animation: none !important;
  }
}

/* AdeptDEV Store · quick registration privacy + consent v0.23.5 */
body.adeptdev-storefront #modal-quicksignup #quick-register .my-modal-title {
  margin-bottom: 22px !important;
}

body.adeptdev-storefront #modal-quicksignup .adev-privacy-card {
  margin: 16px 0 14px !important;
  padding: 14px !important;
  border: 1px solid #dbe7f8 !important;
  border-radius: 18px !important;
  background: linear-gradient(145deg, #f8fbff 0%, #f2f7ff 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92) !important;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease !important;
}

body.adeptdev-storefront #modal-quicksignup .adev-privacy-card.is-checked {
  border-color: rgba(38, 167, 114, .30) !important;
  background: linear-gradient(145deg, #f7fffb 0%, #effbf6 100%) !important;
  box-shadow: 0 8px 20px rgba(38,167,114,.06), inset 0 1px 0 rgba(255,255,255,.92) !important;
}

body.adeptdev-storefront #modal-quicksignup .adev-privacy-card.has-error {
  border-color: rgba(222, 64, 73, .55) !important;
  background: #fff8f8 !important;
  box-shadow: 0 0 0 4px rgba(222,64,73,.07) !important;
}

body.adeptdev-storefront #modal-quicksignup .adev-privacy-head {
  display: grid !important;
  grid-template-columns: 36px minmax(0,1fr) !important;
  gap: 10px !important;
  align-items: start !important;
  padding: 0 0 12px !important;
  margin: 0 0 12px !important;
  border-bottom: 1px solid #e4ecf9 !important;
}

body.adeptdev-storefront #modal-quicksignup .adev-privacy-icon {
  display: grid !important;
  place-items: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 12px !important;
  background: #eaf2ff !important;
  color: #1761e7 !important;
}

body.adeptdev-storefront #modal-quicksignup .adev-privacy-card.is-checked .adev-privacy-icon {
  background: #e4f7ef !important;
  color: #159365 !important;
}

body.adeptdev-storefront #modal-quicksignup .adev-privacy-head strong {
  display: block !important;
  margin: 1px 0 3px !important;
  color: #10264c !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}

body.adeptdev-storefront #modal-quicksignup .adev-privacy-head span:not(.adev-privacy-icon) {
  display: block !important;
  color: #6d7f9e !important;
  font-size: 10.5px !important;
  line-height: 1.45 !important;
  font-weight: 550 !important;
}

body.adeptdev-storefront #modal-quicksignup .adev-consent-row {
  display: grid !important;
  grid-template-columns: 22px minmax(0,1fr) !important;
  gap: 10px !important;
  align-items: start !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
  user-select: none !important;
}

body.adeptdev-storefront #modal-quicksignup .adev-consent-row input[type='checkbox'] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.adeptdev-storefront #modal-quicksignup .adev-consent-box {
  display: grid !important;
  place-items: center !important;
  width: 22px !important;
  height: 22px !important;
  margin-top: 1px !important;
  border: 1.5px solid #b9cbea !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: transparent !important;
  box-shadow: 0 2px 7px rgba(20,74,160,.04) !important;
  transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease !important;
}

body.adeptdev-storefront #modal-quicksignup .adev-consent-row:hover .adev-consent-box {
  border-color: #6799ef !important;
}

body.adeptdev-storefront #modal-quicksignup .adev-consent-row input:focus-visible + .adev-consent-box {
  box-shadow: 0 0 0 4px rgba(20,103,255,.12) !important;
}

body.adeptdev-storefront #modal-quicksignup .adev-consent-row input:checked + .adev-consent-box {
  border-color: #1764ec !important;
  background: linear-gradient(135deg,#3b7cff,#175ce6) !important;
  color: #fff !important;
  box-shadow: 0 7px 16px rgba(20,103,255,.20) !important;
  transform: translateY(-1px) !important;
}

body.adeptdev-storefront #modal-quicksignup .adev-consent-copy {
  color: #546b90 !important;
  font-size: 10.8px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
}

body.adeptdev-storefront #modal-quicksignup .adev-consent-copy a {
  color: #145bdc !important;
  font-weight: 750 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(20,91,220,.23) !important;
}

body.adeptdev-storefront #modal-quicksignup .adev-consent-copy a:hover {
  border-bottom-color: currentColor !important;
}

body.adeptdev-storefront #modal-quicksignup .adev-consent-error {
  display: none !important;
  margin: 9px 0 0 32px !important;
  color: #ce3640 !important;
  font-size: 10.5px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

body.adeptdev-storefront #modal-quicksignup .adev-privacy-card.has-error .adev-consent-error {
  display: block !important;
}

body.adeptdev-storefront #modal-quicksignup #quick-register .createaccount:disabled,
body.adeptdev-storefront #modal-quicksignup #quick-register .createaccount[aria-disabled='true'] {
  cursor: not-allowed !important;
  transform: none !important;
  filter: saturate(.55) !important;
  opacity: .52 !important;
  box-shadow: none !important;
}

body.adeptdev-storefront #modal-quicksignup #quick-register .registration-btn {
  margin-top: 12px !important;
}

@media (max-width: 560px) {
  body.adeptdev-storefront #modal-quicksignup .adev-privacy-card {
    padding: 13px !important;
    border-radius: 16px !important;
  }

  body.adeptdev-storefront #modal-quicksignup .adev-privacy-head {
    grid-template-columns: 34px minmax(0,1fr) !important;
    gap: 9px !important;
  }

  body.adeptdev-storefront #modal-quicksignup .adev-privacy-icon {
    width: 34px !important;
    height: 34px !important;
  }
}
