﻿.register_popup {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.show_popup {
  display: flex;
}

.register_popup .popup_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0, .3);
  backdrop-filter: blur(3px);
  z-index: 1;
}

.register_popup .success_content,
.register_popup .failure_content,
.register_popup .registration_content {
  display: none;
}

.register_popup .success_content.active_content,
.register_popup .failure_content.active_content,
.register_popup .registration_content.active_content {
  display: block;
}

.register_popup .popup_content {
  position: relative;
  max-width: 400px;
  width: 100%;
  max-height: 600px;
  background-image: url('../images/bg.png');
  background-repeat: repeat;
  border-radius: 8px;
  font-family: 'AvenirNextCyr-Regular', Arial, sans-serif;
  padding: 42px 18px 32px;
  z-index: 2;
}

@media(max-width: 500px) {
  .register_popup .popup_content {
    margin-inline: 16px;
  }
}

.register_popup .popup_content .close {
  position: absolute;
  top: 16px;
  right: 16px;
  cursor: pointer;
}

.register_popup .popup_content .close:hover svg path {
  fill: #D95130;
  stroke: #D95130;
}

.register_popup .popup_content .title {
  text-align: center;
  font-family: 'DrukCond-SuperItalic', Arial, sans-serif;
  font-size: 40px;
  line-height: 40px;
  letter-spacing: 3.2px;
  color: #D95130;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.register_popup .popup_content .subtitle {
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: .35px;
  color: #fff;
  margin-bottom: 24px;
}

.register_popup .popup_content .subtitle p:first-child {
  margin-bottom: 3px;
}

.register_popup .popup_content .input_block {
  position: relative;
  margin-bottom: 24px;
}

.register_popup .popup_content .input_block input {
  width: 100%;
  height: 44px;
  background: transparent;
  border: none;
  border-bottom: 1px solid #7A7A7A;
  outline: none;
  color: #fff;
  padding-inline: 10px;
}

.register_popup .popup_content .input_block input:last-child {
  margin-bottom: 0;
}

.register_popup .popup_content .input_block span {
  position: absolute;
  pointer-events: none;
  left: 10px;
  top: 14px;
  transition: 0.2s ease all;
  color: #fff;
}

.register_popup .popup_content .input_block input:focus ~ span {
  top: -8px;
  left: 10px;
  font-size: 12px;
  color: #7A7A7A;
  opacity: 1;
}

.register_popup .popup_content .filled span {
  top: -8px;
  left: 10px;
  font-size: 12px;
  opacity: 1;
  color: #7A7A7A;
}

.register_popup .popup_content .input_block input:focus ~ .active_border {
  transform: scaleX(1);
}

.register_popup .popup_content .filled .active_border {
  transform: scaleX(1);
}

.active_border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #D95130;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff;
}


.register_popup .popup_content form .pay {
  max-width: 260px;
  width: 100%;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 4px;
  background: #D95130;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  margin: 36px auto 0;
  cursor: pointer;
  font-family: 'AvenirNextCyr-Medium', Arial, sans-serif;
  border: none;
}

.register_popup .popup_content form .pay svg {
  width: 20px;
}

.register_popup .popup_content form .pay.disabled {
  pointer-events: none;
  background-color: #7A7A7A;
}



/* Success Content */
.status_content {

}

.status_content .icon {
  text-align: center;
  margin-bottom: 20px;
}

.status_content .icon svg {
  width: 75px;
  height: 75px;
}

.status_content .text {
  text-align: center;
  font-size: 24px;
  line-height: 30px;
  color: #fff;
  font-family: 'AvenirNextCyr-Medium', Arial, sans-serif;
}




.loader {
  display: none;
  height: 258px;
  /*display: flex;*/
  align-items: center;
  justify-content: center;
}
