.header,
.footer {
    display: none;
}
.authorization-page {
 background: #FBFBFB;
 position: relative;
}

.authorization-window {
 min-width: 1230px;
 width: 1230px;
 height: auto;
 position: fixed;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 display: flex;
 border-radius: 25px;
 background: var(--White, #FFF);
 box-shadow: 0px 15px 44px 0px rgba(0, 0, 0, 0.11);
 z-index: 5;
}

.auth-window-left {
 flex: 0 0 358px;
 width: 358px;
 padding: 30px;
 border-radius: 25px 0 0 25px;
 background: linear-gradient(200deg, rgba(255, 200, 57, 0.00) 63.72%, rgba(255, 200, 57, 0.20) 103.42%), #FEFAF0;
 position: relative;
}

.auth-window-left:after {
 content: "";
 position: absolute;
 height: 100vh;
 width: 50vw;
 top: 50%;
 transform: translateY(-50%);
 right: -1px;
 background: url('/wp-content/themes/vapemarket/assets/img/authorization/authorization-bg.jpg') center no-repeat;
 background-size: cover;
 z-index: -1;
}

.auth-window-left-content {
 margin-top: 37px;
 padding: 0px 0 20px 20px;
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 gap: 10px;
 height: 600px;
}

.back-to-home {
 padding: 11px 17px;
 border-radius: 900px;
 background: #FFF;
 box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.02);
 display: flex;
 align-items: center;
 width: fit-content;
 gap: 8px;
 transition: all .3s;
}

.back-to-home span {
 color: #2B343C;
 font-size: 13px;
 font-weight: 500;
 line-height: 15.6px;
}

.back-to-home:hover {
 background: #FFC839;
}

.auth-logo-block .logo {
 line-height: 0;
}

.auth-logo-block .logo img {
 width: 202px;
 height: 25px;
 object-fit: contain;
}

.auth-logo-block .logo-subtitle {
 margin-top: 11px;
 color: #57575E;
 font-size: 14px;
 font-weight: 400;
 line-height: 18.2px;
}

.auth-advantage-title {
 color: #232126;
 font-size: 17px;
 font-weight: 700;
 line-height: 20.4px;
}

.auth-advantage-items {
 margin-top: 20px;
}

.auth-advantage-item {
 display: flex;
 gap: 12px;
 align-items: center;
 margin-bottom: 25px;

}

.auth-advantage-item:last-child {
 margin-bottom: 0;
}

.advantage-item-icon {
 line-height: 0;
}

.advantage-item-icon img {
 min-width: 42px;
 width: 42px;
 height: 42px;
 object-fit: contain;
 border-radius: 9px;

}

.advantage-item-title {
 color: rgba(35, 33, 38, 0.7);
 font-size: 14px;
 font-weight: 400;
 line-height: 18.2px;
 max-width: 204px;
}

.auth-bottom-text {
 color: rgba(35, 33, 38, 0.5);
 font-size: 13px;
 font-weight: 400;
 line-height: 15.6px;
 max-width: 258px;
}

.auth-window-right {
 display: flex;
 align-items: center;
 justify-content: center;
 flex-direction: column;
 flex-grow: 1;
 position: relative;
 background: #fff;
 border-radius: 0 25px 25px 0;
 padding-left: 20px;
}

.window-login-btn {
 position: absolute;
 right: 41px;
 top: 41px;
 display: flex;
 width: fit-content;
 align-items: center;
 justify-content: center;
 padding: 11px 19px;
 gap: 10px;
 border-radius: 900px;
 background: #F5F6F9;
 transition: all .3s;
}

.window-login-btn span {
 color: #5C6D8D;
 font-size: 14px;
 font-weight: 500;
 line-height: 17.64px;
 transition: all .3s;
}

.window-login-btn path {
 transition: all .3s;
}

.window-login-btn:hover {
 background: #5C6D8D;
}

.window-login-btn:hover span {
 color: #F5F6F9;
}

.window-login-btn:hover path {
 stroke: #F5F6F9;
}







.form-login-section {
 margin-top: 20px;
}

.auth-form {
 width: 452px;
}

.reg-form {
 width: 652px;
}

.form-row {
 display: flex;
 gap: 20px;
 margin-bottom: 20px;
}

.form-row .form-group {
 margin: 0;
 flex-grow: 1;
}

.form-checkbox-group {
 display: flex;
 flex-direction: column;
 gap: 10px;
 margin-bottom: 15px;
}

.form-checkbox-group .form-checkbox {
 margin-bottom: 0;
 ;
}

.form-checkbox-group .form-checkbox-label {
 color: #57575E;
 font-size: 13px;
 font-weight: 400;
 line-height: 15.6px;
}

.form-checkbox-group .form-checkbox-label a {
 text-decoration: underline;
}

.form-checkbox-group .form-checkbox-label a:hover {
 color: #FFC839;
}

.form-group-wrapper {
 margin-bottom: 20px;
}

.form-group {
 margin-bottom: 20px;
}

.form-group:last-child {
 margin-bottom: 0;
}

.label {
 color: #232126;
 font-size: 14px;
 font-weight: 500;
 line-height: 17.64px;
 margin-bottom: 4px;
 display: block;
}

.label span.required {
 color: #F72460;
 font-size: 14px;
 font-weight: 400;
 line-height: 18.2px;
}

.input-wrapper {
 width: 100%;
}

.form-input {
 padding: 14px;
 border-radius: 8px;
 border: 1px solid #EEF0F5;
 background: #FFF;
 width: 100%;
 color: #232126;
 font-size: 14px;
 font-weight: 400;
 line-height: 18.2px;
}

.form-input::placeholder {
 color: #A0A3AA;
}

.form-input:focus {
 border: 1px solid rgba(92, 109, 141, 0.47);
 box-shadow: 0 0 0 1px rgba(92, 109, 141, 0.47);
}



.form-submit {
 padding: 23px 25px;
 width: 100%;
 border-radius: 900px;
 background: #FFC839;
 box-shadow: 0px 8px 11px 0px rgba(0, 0, 0, 0.06);
 color: var(--Black, #232126);
 text-align: center;
 font-size: 15px;
 font-weight: 700;
 line-height: 18px;
 transition: all .3s;
}

.form-submit:hover {
 background: #232126;
 color: #FFF;
}

.form-checkbox {
 display: flex;
 align-items: flex-start;
 gap: 10px;
 margin-bottom: 15px;
}

.form-checkbox-input {
 position: absolute;
 opacity: 0;
 pointer-events: none;
}

.form-checkbox-label {
 position: relative;
 padding-left: 34px;
 cursor: pointer;
 user-select: none;
 color: #232126;
 font-size: 14px;
 font-weight: 400;
 line-height: 18.2px;
 min-height: 24px;
 display: flex;
 align-items: center;
}

.form-checkbox-label::before {
 content: "";
 position: absolute;
 left: 0;
 top: 0px;
 width: 24px;
 height: 24px;
 border: 1px solid #ccc;
 border-radius: 4px;
 background-color: #fff;
 transition: border-color 0.2s, background-color 0.2s;
}

.form-checkbox-input:checked+.form-checkbox-label::after {
 content: "";
 position: absolute;
 left: 9px;
 top: 6px;
 width: 6px;
 height: 10px;
 border: solid rgba(35, 33, 38, 1);
 border-width: 0 2px 2px 0;
 transform: rotate(45deg);
}

.form-checkbox-input:checked+.form-checkbox-label::before {
 background-color: #FFC839;
 border-color: #FFC839;
}



.auth-form .form-checkbox {
 justify-content: center;
}


.toggle-password-btn {
 position: absolute;
 right: 15px;
 top: 50%;
 transform: translateY(-50%);
 background: none;
 border: none;
 cursor: pointer;
 padding: 0;
 display: flex;
 align-items: center;
 justify-content: center;
 line-height: 0;
}

.second-form-btn {
 padding: 15px;
 border-radius: 900px;
 margin-top: 15px;
 display: block;
 text-align: center;
}

.mob-hide {
 margin-left: 5px;
}

.auth-window-bottom-mob {
 display: none;
}

.input-invalid .form-input {
 border: 1px solid #F72460;
 box-shadow: 0px 3px 11px 0px rgba(247, 36, 96, 0.15) inset;
 color: #F72460;
}

.input-invalid .form-checkbox-label::before {
 border: 1px solid #F72460;
}

.form-submit.disabled {
 background: #A0A3AA;
 opacity: 0.3;
 pointer-events: none;
 color: #2B343C;
}

.error-notice {
 margin-top: 20px;
 padding-left: 20px;
}

.error-notice li {
 color: #F72460;
 font-size: 14px;
 font-weight: 400;
 line-height: 18.2px;
 margin-bottom: 5px;
 list-style: disc;
}

.error-notice li::marker {
 color: red;
 font-size: 9px;
}

.error-notice li:last-child {
 margin-bottom: 0;
}


.sms-row {
 display: flex;
 align-items: flex-end;
 gap: 15px;
}

.sms-row .form-group {
 margin-bottom: 0;
 width: 260px;
}

.sms-row-right {
 padding-bottom: 8px;
}

.sms-row-text {
 display: block;
 color: #A0A3AA;
 font-size: 14px;
 font-weight: 500;
 line-height: 17.64px;
}

.sms-row-text--sec {
 max-width: 177px;
}

.sms-row-text span {
 font-weight: 500;
 color: #232126;
}

.sms-row-btn {
 color: #5C6D8D;
 font-size: 14px;
 font-weight: 500;
 line-height: 17.64px;
 border-bottom: 1px dashed rgba(92, 109, 141, 0.70);
 transition: all .3s;
}



.sms-row-btn:hover {
 color: #FFC839;
 border-bottom: 1px dashed #FFC839;
}

.sms-window .error-notice {
 margin-bottom: 20px;
}






@media (max-width: 1270px) {
 .authorization-window {
  min-width: auto;
  width: calc(100% - 48px);
 }

 .auth-window-left:after {
  width: 100vw;
 }
}


@media (max-width: 1124px) {
 .reg-form {
  width: 552px;
 }
}

@media (max-width: 1024px) {
 .auth-window-left {
  flex: 0 0 255px;
  width: 255px;
  padding: 20px;
 }

 .auth-window-left-content {
  margin-top: 47px;
  padding: 0px 0 30px 5px;
  height: 510px;
 }

 .auth-logo-block .logo img {
  height: 23px;
  object-position: left;
 }

 .auth-advantage-title {
  font-size: 15px;
  line-height: 18px;
 }

 .auth-advantage-items {
  margin-top: 15px;
 }

 .advantage-item-title {
  font-size: 13px;
  line-height: 15.6px;
  max-width: 151px;
 }

 .auth-bottom-text {
  font-size: 12px;
  line-height: 14.6px;
  max-width: 205px;
 }

 .window-login-btn {
  right: 20px;
  top: 20px;
 }

 .auth-form {
  width: 365px;
 }

 .second-form-btn {
  padding: 14px 15px;
 }



 .reg-form {
  width: 425px;
  margin: 0 auto;
 }

 .form-row.tablet-column {
  flex-direction: column;
 }

 .form-row {
  margin-bottom: 10px;
  gap: 10px;
 }

 .form-checkbox-group .form-checkbox-label {
  font-size: 12px;
  line-height: 14.4px;
 }

 .reg-btn {
  padding: 16px 23px;
 }

 .registration-window .auth-window-right {
  padding: 60px 14px;
 }


 .error-notice {
  margin-top: 10px;
 }

 .error-notice li {
  font-size: 12px;
  line-height: 14.2px;
 }

 .form-checkbox-group {
  margin-bottom: 12px;
 }

 .sms-row .form-group {
  width: 174px;
 }

 .sms-window .error-notice {
  margin-bottom: 10px;
 }

 .sms-window .form-group-wrapper {
  margin-bottom: 10px;
 }

 .sms-window .error-notice li {
  font-size: 14px;
  line-height: 18.2px;
 }

 .form-group-wrapper {
  margin-bottom: 12px;
 }

}


@media (max-width: 768px) {
  .authorization-page .reset-success-notice {
    width: 100% !important;
  }

 .authorization-section {
  padding: 14px 0 25px;
  overflow: hidden;
 }

 .authorization-window {
  width: calc(100% - 28px);
  flex-direction: column;
  box-shadow: none;
  position: relative;
  top: 0;
  left: 0;
  transform: none;
  margin: 0 auto;
 }

 .auth-window-left {
  flex: 1 1 100%;
  width: 100%;
  border-radius: 10px 10px 0px 0px;
 }

 .auth-window-left-content {
  margin-top: 20px;
  padding: 0;
  height: auto;
 }

 .auth-window-left-content .auth-advantage-block,
 .auth-window-left-content .auth-bottom-text {
  display: none;
 }

 .auth-window-right {
  border-radius: 0;
  padding: 14px;
 }

 .window-login-btn {
  position: static;
  width: 100%;
  margin-bottom: 12px;
 }

 .auth-window-left {
  background: #FEFAF0;
 }

 .auth-window-left:after {
  width: 100vw;
  right: 50%;
  transform: translate(50%);
  top: auto;
  height: 50vh;
  bottom: 0;
 }

 .form-login-section {
  width: 100%;
 }

 .auth-form {
  width: 100%;
 }

 .form-login-section {
  margin-top: 12px;
 }

 .form-group {
  margin-bottom: 12px;
 }

 .form-group-wrapper {
  margin-bottom: 12px;
 }

 .form-submit {
  padding: 16px;
 }

 .second-form-btn {
  margin-top: 12px;
 }

 .back-to-home {
  margin: 0 auto;
 }

 .auth-window-left-content {
  align-items: center;
 }

 .auth-logo-block .logo {
  display: flex;
  justify-content: center;
 }

 .auth-logo-block .logo img {
  height: 25px;
  object-position: center;
 }

 .auth-logo-block .logo-subtitle {
  margin-top: 6px;
  font-size: 13px;
  line-height: 15.6px;
  max-width: 232px;
  text-align: center;
 }

 .mob-hide {
  display: none;
 }

 .auth-window-bottom-mob {
  display: block;
  padding: 14px;
  border-radius: 0px 0px 10px 10px;
  background: #FEFAF0;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.02);
 }

 .auth-advantage-title {
  font-size: 16px;
  line-height: 19px;
 }

 .auth-advantage-items {
  margin-top: 14px;
 }

 .auth-advantage-item {
  margin-bottom: 20px;
 }

 .advantage-item-title {
  font-size: 14px;
  line-height: 18.2px;
  max-width: 200px;
 }

 .auth-bottom-text {
  margin-top: 25px;
  max-width: 100%;
 }



 .reg-form {
  width: auto;
 }

 .registration-window .auth-window-right {
  padding: 14px;
 }

 .form-row {
  flex-direction: column;
 }

 .error-notice {
  margin-top: 12px;
 }

 .form-checkbox {
  margin-bottom: 12px;
 }


 .sms-row {
  flex-direction: column;
  gap: 10px;
  align-items: center;
 }

 .sms-row-right {
  padding-top: 0;
  text-align: center;
 }

 .sms-row .form-group {
  width: 100%;
 }

 .window-right-title {
  text-align: center;
 }

 .sms-window .window-right-title {
  max-width: 232px;
 }

 .sms-row-right {
  padding-bottom: 0px;
 }

 .sms-window .error-notice {
  margin-top: 0;
 }

}


.input-date-wrap {
    width: 100%;
}

.input-date-wrap .date-label {
    width: 135px;
    padding: 15px;

    border-right: 1px solid var(--light-stroke, #EEF0F5);
    background: #FCFDFF;

    color: var(--Middle-Grey, #57575E);
    /* --Text, 14px/Regular */
    font-family: Onest;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

.input-date-wrap .date-close {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
}

.input-date-wrap .date-close-btn {
    width: 27px;
    height: 27px;

    border-radius: 6px;
    background: var(--Black, #232126);
}

.input-date-wrap input {
    visibility: hidden;
}

.input-date-wrap .pseudo-input {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    cursor: pointer;

    border-radius: 8px;
    border: 1px solid var(--light-stroke, #EEF0F5);

    overflow: hidden;

    height: 48px;
}

.input-date-wrap .date-value {
    flex-grow: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 20px;
    color: var(--Black, #232126);
    /* --Text, 14px/Regular */
    font-family: Onest;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

.date-micker-dropdown:not(.date-micker-opened) + .pseudo-input .date-close {
    display: none !important;
}



.date-micker-dropdown.date-micker-opened + .pseudo-input .date-close-btn::before {
    content: "";
    display: block;
    width: var(--icon-size, 20px);
    height: var(--icon-size, 20px);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M15 5L5 15' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 5L15 15' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 8px;

    left: 3px;
    top: 3px;
    position: relative;
}

.date-micker-dropdown.date-micker-opened + .pseudo-input {
    border: 1px solid rgba(92, 109, 141, 0.47);
    box-shadow: 0 0 0 1px rgba(92, 109, 141, 0.47);
}

.form-group.input-invalid .pseudo-input {
    border: 1px solid #F72460;
    box-shadow: 0px 3px 11px 0px rgba(247, 36, 96, 0.15) inset;
    color: #F72460;
}

.form-group.input-invalid .pseudo-input .date-label {
    background: transparent;
    border-right: none;
}

.date-micker-dropdown.date-micker-opened + .pseudo-input .date-label {
     color: #A0A3AA;    
}

body:not(.page-tab-sms) .authorization-page.page-tab-sms,
body:not(.page-tab-fields) .authorization-page.page-tab-fields,
body:not(.page-tab-reset) .authorization-page.page-tab-reset {
    display: none;
}

body.page-tab-sms.sms-row-resend .sms-row-timeout,
body.page-tab-sms:not(.sms-row-resend) .sms-row-resend {
    display: none;
}

.password-input[type="text"].opened + .toggle-password .eye-open,
.password-input[type="password"]:not(.opened) + .toggle-password .eye-closed {
    display: none;
}

.authorization-page .reset-success-notice {
    display: flex;
    width: 390px;
    padding: 10px 15px;
    align-items: center;
    gap: 15px;
    background: #EAF6EA;
    color: #232126;
    border-radius: 10px;
}

.loading .authorization-page form,
.loading .authorization-page .error-notice {
    opacity: 0.75;
    pointer-events: none;
}

.authorization-page .error-notice ul {
    list-style: none;
}

@media screen and (min-width: 768px) {
    .form-submit.reg-btn, .form-submit.reg-btn + .error-notice {
        width: 652px;
    }

    .authorization-page h1 {
        margin-top: 20px;
    }
}

@media screen and (max-width: 768px) {
    .form-submit.reg-btn + .error-notice {
        width: 100%;
    }
}
