.Form-WaitList .x-modal .drawer__inner {
  max-width: 32rem;
}

.Form-WaitList .drawer__inner {
  width: 32rem;
}

.Form-WaitList .drawer__inner .drawer__content {
  width: 100%;
}

.Form-WaitList .drawer__inner .drawer__content > div > div {
  padding: 0 40px;
}

.Form-WaitList .drawer__inner .drawer__content .waitlist-form {
  padding: 10px 8px 0;
}

.login-form .custom-form {
  --form-gap: 14px;
}

.login-form
  .custom-form
  div:not(:last-child, .form-box, .form-row > .form-wrapper):is(
    .form-row,
    .form-wrapper
  ) {
  margin-bottom: calc(var(--form-gap) * 1.9);
}

.form-control {
  border: 1px solid rgb(var(--color-border));
  width: 100%;
  display: block;
  padding: 15px 30px;
  border-radius: 110px;
  color: var(--color-base-button-gradient);
  background-color: var(--color-base-background);
}

.form-control::placeholder {
  color: #949494;
  opacity: 1;
}

.custom-form
  div:not(:last-child, .form-box, .form-row > .form-wrapper):is(
    .form-row,
    .form-wrapper
  ) {
  margin-bottom: var(--form-gap);
}

.search-input {
  background: url("https://media.barsys.com/assets/search-icon.svg") no-repeat
    calc(100% - 10px) center;
}

.form-wrapper label {
  font-size: 16px;
  color: var(---text-color-2);
  margin-bottom: 8px;
  display: block;
}

label.phone-wrapper {
  cursor: vertical-text;
}

.password-wrapper {
  position: relative;
}

.password-wrapper img {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.see-password:before {
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  content: "";
  height: 50%;
  width: 2px;
  background-color: #a6a6a6;
}

.see-password:before {
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  content: "";
  height: 50%;
  width: 2px;
  background-color: #a6a6a6;
}

.custom-link {
  color: #282828;
  text-decoration: underline;
  cursor: pointer;
}

.custom-link:hover {
  text-decoration: unset;
}

.form-tip {
  color: #dc3232;
  font-weight: 400;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

.custom-form {
  margin-bottom: var(--form-gap);
  --form-gap: 29px;
}

.custom-form.submiting {
  min-height: unset;
}

.form-control:focus,
.form-control.PhoneInput--focus {
  outline: none;
  border-color: var(--color-base-button-gradient);
}

.login-img {
  position: relative;
  min-height: 600px;
}

.login-img img {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--form-gap));
}

.form-row > * {
  width: calc(50% - var(--form-gap) / 2);
  flex: 0 0 auto;
}

.custom-form .form-three > * {
  width: calc(33.33% - var(--form-gap) * 0.7);
  flex: 0 0 auto;
}

/********* float form css start  *********/

.terms-field label {
  font-size: 15px;
  color: #666666;
}

.terms-field label input {
  margin-bottom: 5px;
  margin-right: 4px;
  margin-top: -1px;
}

.input-with-btn {
  display: flex;
  gap: 14px;
}

.input-with-btn input {
  flex: 1;
}

.dark .input-with-btn .btn {
  padding: 12px 19px;
  --color-button-text: rgba(var(--color-foreground));
  --color-button-background: var(--color-base-background);
}

.dark .input-with-btn .btn:hover .btn-fill {
  background-color: #fff;
}

.square-field .form-control {
  border-radius: 5px;
}

.square-field .form-control {
  padding: 15px 10px;
}

.form-wrapper .float-label {
  position: absolute;
  top: 50%;
  left: 12px;
  color: #707070;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 0;
  transform: translateY(-50%);
  transition: 0.3s;
  cursor: auto;
  z-index: 0;
}

.form-wrapper {
  position: relative;
}

.form-wrapper .form-control:not(:placeholder-shown) + .float-label,
.form-wrapper .form-control:focus + .float-label {
  transform: translateY(calc(-100% - 2px));
  font-size: 12px;
}

.form-head {
  margin-top: 32px;
  margin-bottom: 14px;
}

.form-head .form-main-label {
  margin-bottom: 10px;
}

.form-main-label {
  font-weight: 600;
  margin-bottom: 14px;
}

h3.form-main-label {
  font-size: 16px;
}

h2.form-main-label {
  font-size: 21px;
}

.form-head p {
  font-size: 14px;
  color: var(---text-color-2);
  margin-bottom: 14px;
}

.first-t-0 {
  margin-top: 0;
}

.form-box {
  background-color: #f6f6f6;
  border: 1px solid #111111;
  border-radius: 4px;
  margin-bottom: calc(var(--form-gap) + 10px);
}

.form-box label {
  margin-bottom: 0;
  padding: 16px;
  border-radius: 4px;
  width: 100%;
}

.form-box .icon-box {
  margin-left: auto;
}

.form-wrapper input[type="radio"]:checked {
  background-color: unset;
  border-width: 6px;
}

.form-wrapper .checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgb(var(--color-foreground));
}

.form-wrapper .checkbox-wrapper input {
  margin-top: -1px;
}

.float-wrapper {
  position: relative;
}

.float-wrapper .form-control:not(:placeholder-shown),
.float-wrapper .form-control:focus {
  padding-top: 24px;
  padding-bottom: 6px;
}

.input-grayish input {
  background-color: #f6f6f6;
  border: none;
}

select.form-control {
  appearance: none;
  background-image: url("https://media.barsys.com/assets/dropdown.svg");
  background-repeat: no-repeat;
  background-position: calc(100% - 10px) center;
  background-size: 10px;
}

.float-wrapper.form-wrapper input::placeholder {
  font-size: 0;
}

.form-control[filled]:not(:focus),
.phone-wrapper[filled] .form-control:not(.PhoneInput--focus) {
  background-color: #f8f8f8;
}

.phone-wrapper .form-control input {
  background-color: inherit;
  color: inherit;
  outline: none !important;
}

.react-datepicker-wrapper {
  width: 100%;
}

.phone-wrapper[filled]
  .form-control:not(.PhoneInput--focus)
  .PhoneInputCountryIcon
  img {
  filter: grayscale(100%);
}

.float-wrapper .form-control::placeholder {
  opacity: 0;
}

/********* float form css end  *********/

.inner-input-wrapper {
  position: relative;
}

.inner-input-wrapper .inner-input {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  font-size: 14px;
}

.inner-input-wrapper input {
  width: 100%;
}

.inner-input-wrapper .inner-input + .form-control {
  padding-left: 43px;
}

.form-bg-wrapper {
  background-color: rgb(var(--color-foreground) / var(--opacity-025));
  padding: 16px;
  border-radius: 4px;
  border: 1px solid rgb(var(--color-foreground) / var(--opacity-115));
}

.form-bg-wrapper .form-control {
  border: 1px solid rgb(var(--color-border));
}

.PhoneInput #phone {
  outline: unset !important;
}

@keyframes preloading {
  0%,
  44%,
  88.1%,
  to {
    transform-origin: var(--transform-origin-start);
  }

  0%,
  to,
  88% {
    transform: scaleX(0);
  }

  44.1%,
  88% {
    transform-origin: var(--transform-origin-end);
  }

  33%,
  44% {
    transform: scaleX(1);
  }
}

.input-with-btn + span.form-tip {
  position: relative;
  top: -24px;
}

.remove-dis {
  border: 1px solid rgb(var(--color-border));
  display: block;
  width: 100%;
  padding: 10px;
  position: relative;
}

.remove-dis > .remove-cross-icon {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  transition: 0.3s;
  scale: 1;
  font-size: 12px;
  font-weight: 300;
  white-space: pre;
  display: flex;
  text-align: center;
  width: auto;
  flex-direction: column;
  gap: 2px;
  height: auto;
  justify-content: center;
  align-items: center;
  color: red;
  font-weight: 800;
}

.remove-dis > .remove-cross-icon > .icon {
  width: 18px;
  height: auto;
  margin-bottom: -4px;
}

.remove-dis > .remove-cross-icon:hover {
  scale: 1.1;
}

.remove-dis {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
}

.dark .remove-dis .coupon-icon > img {
  filter: invert(1);
  width: 20px;
  opacity: 0.8;
}

.new-checkout-box {
  border: 1px solid #d9d9d9;
  border-radius: 20px;
  padding: 38px;
  /* width: 48%; */
}

.checkout-top-sp {
  padding-top: 40px;
  gap: 40px;
}

.set-checkout {
  /* width: 48%; */
}

.remove-mt {
  margin-top: 0px;
  margin-bottom: 0px;
}

p.remove-margen {
  margin: 0px;
}

button.continue-red-btn {
  border-radius: 40px;
  margin-bottom: 30px;
}

.info-text p {
  font-size: 12px;
  font-weight: 600;
  margin: 0px;
}

.info-text {
  margin-top: 10px !important;
}

p.info-text.remove-margen {
  font-size: 14px;
  font-weight: 400;
  color: #959595;
}

.customer-edit button {
  color: #808080;
  font-size: 20px;
  font-weight: 600;
}

.add-radius input {
  border-radius: 40px !important;
}
.add-radius button {
  border-radius: 40px;
}

.form-head.order-summary-hd h2 {
  margin-bottom: 28px;
}

@media (max-width: 1200px) {
  .login-row h2 {
    font-size: 30px;
  }
}

@media (max-width: 1200px) {
  .login-img {
    position: relative;
  }

  .login-img img {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }

  .login-form {
    padding: 25px;
  }
}

@media (max-width: 991px) {
  .custom-form {
    --form-gap: 22px;
  }

  .form-wrapper:not(.form-box) label:not(.float-label) {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .form-control {
    padding: 13px 23px;
    font-size: 15px;
  }

  .form-row {
    gap: var(--form-gap);
  }

  .login-row h2 {
    font-size: 26px;
  }

  .input-with-btn + span.form-tip {
    position: relative;
    top: -14px;
  }
}

@media (max-width: 767px) {
  .login-row > div,
  .custom-form .form-half > * {
    width: 100%;
  }

  .login-img {
    aspect-ratio: 16/16;
    min-height: unset;
  }

  .login-form {
    border: 1px solid #dedfe1;
    border-bottom: unset;
    border-radius: 10px 10px 0px 0px;
    padding: 21px;
  }

  .custom-form {
    --form-gap: 17px;
  }

  .login-row h2 {
    font-size: 24px;
  }
}

@media (max-width: 568px) {
  .form-row > *,
  .custom-form .form-three > * {
    width: 100%;
    flex: 0 0 auto;
  }
}

.Form-WaitList .x-modal .drawer__inner {
  max-width: 32rem;
}

.Form-WaitList .drawer__inner {
  width: 32rem;
}

.Form-WaitList .drawer__inner .drawer__content {
  width: 100%;
}

.Form-WaitList .drawer__inner .drawer__content > div > div {
  padding: 0 40px;
}

.Form-WaitList .drawer__inner .drawer__content .waitlist-form {
  padding: 10px 8px 0;
}

.waitlist-form .form-wrapper label[for] {
  position: absolute;
  font-size: 12px;
  transform: translateY(-50%);
  background-color: rgb(var(--color-base-background));
  left: 9px;
  padding: 0 12px;
  font-weight: 700;
}

.waitlist-form .form-wrapper .form-control {
  font-size: 14px;
  border-radius: 8px;
}

/* .form-wrapper label:not(for) {
  font-size: 14px;
} */

.form-wrapper label:not(for) input[type="checkbox"] {
  position: relative;
  top: 1px;
}

.Form-WaitList .button--primary {
  margin-top: 0;
}

.waitlist-form [for="email"] + input {
  background-image: url("https://media.barsys.com/assets/Input\ right\ section.svg");
  background-repeat: no-repeat;
  background-size: 24px;
  background-position: calc(100% - 10px) center;
  padding-right: 38px;
}

@media (max-width: 530px) {
  .Form-WaitList .drawer__inner .drawer__content > div > div {
    padding: 20px 0 0;
  }

  .new-checkout-box {
    padding: 15px !important;
  }
}

/************* new form pages  *********/

.sign-pages {
  padding: 96px 0 66px;
  background-color: #fff;
  position: relative;
  z-index: 0;
}

.sign-pages:before {
  inset: 0;
  z-index: -2;
  background-image: url("https://media.barsys.com/images/public/login-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  display: block;
  content: "";
  position: absolute;
}

.sign-pages::after {
  inset: 0;
  z-index: -1;
  background-color: #00000042;
  backdrop-filter: blur(8px);
  width: 100%;
  height: 100%;
  opacity: 1;
  display: block;
  content: "";
  position: absolute;
  display: block;
}

.sign-pages > .section::before,
.sign-pages > .section {
  background-color: unset;
}

.login-form {
  background-color: rgba(var(--color-base-background));
  max-width: 699px;
  margin: 0 auto;
  border-radius: 40px;
  padding: 80px;
}

.login-form {
  background-color: rgba(var(--color-base-background));
  max-width: 699px;
  margin: 0 auto;
  border-radius: 40px;
  padding: 80px;
}

.Product-detail-head h2 {
  font-size: var(--text-h2);
}

.other-login .button:last-child {
  margin-top: 20px;
}

.other-login .button {
  --border-opacity: 0.2;
  --buttons-border-width: 1px;
  font-size: 20px;
  font-weight: 600;
}

.other-login .button img {
  margin-right: 16px;
}

.other-login .button:last-child:hover img {
  filter: invert(1);
}

.other-login {
  margin-bottom: 24px;
}

.sign-pages .form-control {
  padding-inline: 16px;
}

.with-btn-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.with-btn-head button img {
  height: 26px;
}

.multi-form {
  overflow: hidden;
}

.multi-form > * {
  position: absolute;
  left: 100%;
  top: 0;
}

.multi-form > .visibleScreen {
  position: relative;
  left: 0;
  transition: 0.5s all;
}

.multi-form > .signup-screen-1.notVisibleScreen {
  left: -100%;
}

.valited-field .form-control {
  border-color: rgb(229, 73, 73);
}

.sign-pages .login-form .custom-form {
  margin-bottom: 0;
}

/* .PhoneInputCountrySelect {
  background-image: url("../assets/icons/dropdown.svg");
} */
.PhoneInputCountry .PhoneInputCountrySelectArrow {
  display: block;
  opacity: 1;
  border: 0;
  background-image: url("../assets/icons/dropdown.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 1;
  border: 0;
  --PhoneInputCountrySelectArrow-width: 12px;
  transform: unset;
}

.sign-pages .Product-detail-head p {
  color: #949494;
}

.Product-detail-head .text-base:last-child {
  margin-top: 12px;
}

.bk-login {
  margin-top: 22px;
}

.dont-getmail .text-base {
  margin-bottom: 16px;
  color: #949494;
}

.phone-wrapper .PhoneInput {
  display: flex;
  align-items: center;
  --PhoneInputCountrySelect-marginRight: 10px;
}

.PhoneInputCountry .PhoneInputCountrySelect option[value="ZZ"] {
  display: none !important;
}

.bg-signin .sign-pages::before {
  background-image: url("https://media.barsys.com/images/public/signup-bg.jpg");
}

.bg-signin .sign-pages::after {
  backdrop-filter: blur(1px);
  background-color: #0000006b;
}

@media (max-width: 1600px) {
  .login-form {
    padding: 40px;
  }

  .sign-pages .Product-detail-head {
    margin-bottom: 30px;
  }

  .sign-pages .login-form .custom-form {
    --form-gap: 10px;
  }

  .or-sprater {
    margin: 20px 0;
  }
}

@media (max-width: 1500px) {
  .sign-pages {
    padding: 70px 0 55px;
  }

  .login-form {
    padding: 50px;
  }

  .sign-pages .Product-detail-head {
    margin-bottom: 34px;
  }

  .login-form {
    max-width: 640px;
  }
}

@media (max-width: 767px) {
  .login-form {
    max-width: 614px;
  }

  .login-form {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .other-login .button {
    font-size: 14px;
    line-height: 1.2;
    padding-inline: 10px;
  }

  .other-login .button img {
    margin-right: 8px;
  }

  .other-login .button:last-child {
    margin-top: 10px;
  }

  .other-login {
    margin-bottom: 14px;
  }

  .sign-pages {
    padding: 50px 0 40px;
  }

  .bk-login {
    margin-top: 12px;
  }
}

/********* otp page css start  *********/

.form-text {
  color: #949494;
  margin-bottom: 22px;
}

.form-text .link {
  color: #2b2b2b;
}

.form-control ~ .form-text {
  margin-top: 10px;
}

.form-control.error {
  border-color: #dc3232;
}

/********* otp page css end  *********/

/******** registration css start  ***********/

.terms-field p a {
  font-weight: 600;
}

.checkbox-wrapper label {
  display: inline-flex;
  align-items: center;
  color: inherit;
}

.checkbox-wrapper label:not(:last-child) {
  margin-bottom: 13px;
}

.checkbox-wrapper label input {
  margin: 0px 8px 0 0;
  border-color: #000;
}

.terms-field {
  color: rgb(var(--color-foreground));
}

.checkbox-wrapper:not(:last-child) {
  margin-bottom: 2px;
}

.terms-field p {
  margin-bottom: 10px;
}

.sign-in-page .login-form {
  max-width: 864px;
}

.sign-in-page .login-form .custom-form {
  --form-gap: 24px;
}

.sign-in-page
  .login-form
  .custom-form
  div:not(:last-child, .form-box, .form-row > .form-wrapper):is(
    .form-row,
    .form-wrapper
  ) {
  margin-bottom: var(--form-gap);
}

.ory-submit.ory-submit-secondary .button:not([disabled]):hover .btn-text {
  color: #fff;
}

form .form-control.PhoneInput {
  display: flex;
  align-items: center;
}

.Product-detail-head .number {
  display: inline-block;
}

.checkbox-wrapper.error {
  color: #dc3232;
}

.checkbox-wrapper.error input {
  border-color: #dc3232;
}

.form-control[type="date"] {
  height: 52px;
}

.PhoneInput .PhoneInputInput:focus {
  outline: none;
}

.form-control[type="date"] {
  height: 52px;
}

@media (max-width: 1600px) {
  .sign-pages {
    padding: 50px 0 50px;
  }

  .form-control {
    padding: 13px;
  }

  .sign-pages .form-control {
    padding-inline: 14px;
  }

  .sign-in-page .login-form .custom-form,
  .custom-form {
    --form-gap: 18px;
  }

  .form-control[type="date"] {
    height: 48px;
  }
}

@media (max-width: 991px) {
  .form-control[type="date"] {
    height: 47px;
  }

  .checkout-total.new-checkout-box {
    padding: 30px;
  }
  .checkout-top-sp {
    gap: 0px;
  }
}

/******** registration css end  ***********/

/* passkey page start  */

.Product-detail-head h2:last-child {
  margin-bottom: 0;
}

.passkey-info .text-base {
  color: var(---text-color-2);
  line-height: 1.3;
}

.passkey-info .text-base ul {
  list-style: disc;
  padding-left: 15px;
}

.passkey-info .text-base ul b {
  display: block;
  margin-bottom: 6px;
}

.passkey-info .text-base ul li:not(:last-child) {
  margin-bottom: 30px;
}

.button-wrapper-passkey {
  margin-top: 46px;
}

.button-wrapper-passkey .button {
  width: 100%;
}

.button-wrapper-passkey .ory-submit:not(:last-child) {
  margin-bottom: 16px;
}

.ory-submit.ory-submit-secondary .button,
.login-page-class .buttom-wrap-passkey_login_trigger button {
  background-color: transparent !important;
  color: rgb(var(--color-button-background));
}

.ory-submit.ory-submit-secondary .button .btn-fill,
.login-page-class .buttom-wrap-passkey_login_trigger button .btn-fill {
  background-color: rgb(var(--color-button-background));
}

.ory-submit.ory-submit-secondary .button:hover,
.login-page-class .buttom-wrap-passkey_login_trigger button:hover {
  color: #fff;
}

.ory-input .PhoneInputCountrySelect option[value="ZZ"] {
  display: none !important;
}

@media (max-width: 767px) {
  .button-wrapper-passkey {
    margin-top: 26px;
  }

  .button-wrapper-passkey .ory-submit:not(:last-child) {
    margin-bottom: 8px;
  }

  .passkey-info .text-base ul li:not(:last-child) {
    margin-bottom: 24px;
  }

  .with-btn-head {
    flex-wrap: wrap;
  }

  .with-btn-head span {
    display: block;
    width: 100%;
    margin-top: 4px;
  }

  .passkey-info .text-base {
    font-size: 14px;
  }
}

/* passkey page end  */

/************ button fixes  ************/

.custom-form .button .btn-fill {
  transform: translateY(var(---motion-translateY)) !important;
  ---motion-translateY: 100% !important;
  transition: 0.5s;
}

.custom-form .button:hover .btn-fill {
  /* ---motion-translateY: 0 !important; */
  transform: translateY(var(---motion-translateY)) !important;
}

.custom-form .button--primary:not(.disabled):hover .btn-text {
  color: #000;
}

.custom-form .button--secondary:not(.disabled):hover .btn-text {
  color: #fff;
}

/************ button fixes end ************/

/****** phone number filed ******/

.custom-form .react-tel-input .selected-flag {
  background-color: transparent !important;
}

.custom-form .react-tel-input .flag-dropdown {
  background-color: transparent !important;
  border: none !important;
  height: auto;
}

.custom-form .react-tel-input .form-control {
  padding-block: 0 !important;
  border: none !important;
  height: auto;
  padding-left: 46px;
  line-height: 1;
  font-size: inherit !important;
  font-family: inherit !important;
  color: inherit !important;
}

.custom-form .react-tel-input .form-control:focus {
  outline: none;
  box-shadow: none;
}

.custom-form .react-tel-input .flag-dropdown .selected-flag {
  padding-left: 0;
}

.custom-form .react-tel-input .flag-dropdown .selected-flag:focus {
  box-shadow: none !important;
  outline: none !important;
}

.custom-form .react-tel-input .selected-flag:focus::before,
.react-tel-input .selected-flag.open::before {
  content: unset !important;
}

.custom-form .react-tel-input .selected-flag .arrow {
  display: block !important;
  opacity: 1;
  border: 0;
  background-image: url("../assets/icons/dropdown.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 1;
  border: 0;
  --PhoneInputCountrySelectArrow-width: 12px;
  transform: unset;
  aspect-ratio: 1/1;
  width: 11px !important;
  border: unset !important;
  height: auto !important;
  transform: translateY(-50%);
  margin-top: 1px !important;
}

/****** phone number filed end  ******/
