
:root {
     /* цвет подложки лоадера */
    --loaderBgColor: rgba(0,0,0,.3);

    /* настройка спиннера*/
    --spinnerWidth:80px;
    --spinnerHeight:80px;
    --spinnerSize:3px;
    --spinnerColor:#4BAAF3;
    --animationSpeed:.8s;
}

.js-page-loader * {
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
}

.js-page-loader {
    background-color: var(--loaderBgColor);
}

.js-page-loader .spinner {
    width: var(--spinnerWidth);
    height: var(--spinnerHeight);
    border-top: var(--spinnerSize) solid var(--spinnerColor);
    border-right: var(--spinnerSize) solid transparent;
    border-radius: 50%;
    animation: spinnerRotation var(--animationSpeed) linear infinite;
}

@keyframes spinnerRotation{
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}


.authorization-modal {
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: ease-in-out .4s;
  transition: ease-in-out .4s;
  opacity: 0;
  visibility: hidden
}

.authorization-modal.active {
  opacity: 1;
  visibility: visible
}

.authorization-modal .modal {
  position: absolute;
  width: 100%;
  max-height: calc(100% - 40px);
  overflow: auto;
  max-width: 680px;
  padding: 20px;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 20
}

.authorization-modal .modal::-webkit-scrollbar {
  width: 3px;
  overflow: visible;
  background-color: #fff
}

.authorization-modal .modal::-webkit-scrollbar-thumb {
  background-color: #4baaf3
}

.authorization-modal .modal .close {
  padding: 0;
  background: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  outline: none;
  border: none;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  position: absolute;
  top: 24px;
  right: 24px
}


.authorization-modal  .form-action button{
  margin-bottom: 0 !important;
}

.authorization-modal  .form-action .outline-button {
  height: 42px;
}

.authorization-modal  .form-action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap:10px;
}

.authorization-modal .modal .close svg {
  display: block;
  width: 100%;
  height: 100%;
  -webkit-transition: ease .4s;
  transition: ease .4s;
  stroke: #000
}

.authorization-modal .modal .close:hover svg {
  stroke: #4baaf3
}

.authorization-modal .inner {
  position: relative;
  background: #fff;
  width: 100%;
  height: 100%;
  padding: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden
}

.authorization-modal .forget-pass {
  padding: 0;
  background: none;
  cursor: pointer;
  border: none;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.1;
  color: #4baaf3
}

.authorization-modal .authorization-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 24px
}

.authorization-modal .checkbox-button {
  cursor: pointer;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center
}

.authorization-modal .checkbox-button input {
  position: absolute;
  z-index: -1;
  opacity: 0;
  left: 0;
  top: 0
}

.authorization-modal .checkbox-button input:checked+span::after {
  opacity: 1
}

.authorization-modal .checkbox-button span {
  cursor: pointer;
  position: relative;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex
}

.authorization-modal .checkbox-button span::before {
  content: "";
  width: 24px;
  height: 24px;
  border: 1px solid #cdd1d5;
  background: #fff;
  display: inline-block;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -webkit-box-flex: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  margin-right: 8px
}

.authorization-modal .checkbox-button span::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  opacity: 0;
  width: 12px;
  height: 10px;
  background: url(../../proteco/img/i-checked-black.svg) no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  -webkit-transition: ease, .3s;
  transition: ease, .3s;
  z-index: 2
}

.authorization-modal .checkbox-button .text {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.1
}

.authorization-modal .input-wrapper {
  width: 100%;
  position: relative;
  margin-bottom: 16px
}

.authorization-modal .input-wrapper label:not([class]) {
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 10px;
  font-family: "Montserrat"
}

.authorization-modal .input-wrapper input {
  display: block;
  width: 100%;
  background: #f2f2f2;
  font-size: 16px;
  line-height: 1;
  color: #000;
  outline: none;
  border: none;
  font-family: "Montserrat";
  padding: 14px 40px 14px 16px;
  height: 48px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 16px;
  color: #737373
}

.authorization-modal .input-wrapper .reveal-password {
  cursor: pointer;
  position: absolute;
  bottom: 11px;
  right: 16px;
  width: 24px;
  height: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center
}

.authorization-modal .input-wrapper .reveal-password svg {
  display: block
}

.authorization-modal .tip {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: #737373;
  padding-top: 8px;
  display: block
}

.authorization-modal .flexed-wrapper {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px
}
.authorization-modal.login--modal .authorization-group.active {
  display: block;
      animation: basketReveal .5s linear;
}
.authorization-modal.login--modal .authorization-group {
  display: none;
}

.authorization-modal .authorization-overlay {
  position: absolute;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 63, 106, .5)
}

@media(max-width:762px) {
  .authorization-modal .inner {
    padding: 20px;
  }
}

@media(max-width:576px) {
.authorization-modal .form-action .basket-button {
  width: 100%;
}
.authorization-modal .flexed-wrapper {
  flex-wrap: wrap;
}
}
