.popup {
   max-width: 390px;
   width: 100%;
   padding: 20px;
   border: 1px solid #E9E9E9;
   box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.25);
   border-radius: 4px;
   position: fixed;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   z-index: 10000;
   background-color: #fff;
   opacity: 0;
   transition: 0.2s;
   visibility: hidden;
}

.popup.active {
   opacity: 1;
   transition: 0.3s;
   visibility: visible;
}

html.lock {
   overflow: hidden;
}


.popup-black {
   position: absolute;
   width: 100%;
   height: 100vh;
   z-index: 9999;
   background: rgba(65, 65, 65, 0.6);
   opacity: 0;
   height: 0px;

   visibility: hidden;
}

.popup-black.active {
   opacity: 1;
   visibility: visible;
   height: 100000px;
   top: -1000px;
}

.popup__top {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 20px;
}

.popup__input {
   padding: 14px 20px 12px 20px;
   width: 100%;
   background: #FFFFFF;
   border-radius: 4px;
   box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.25);
   border: 1px solid #F56505;

   font-weight: 400;
   font-size: 18px;
   line-height: 22px;
   color: #414141;
}

.popup__input:placeholder-shown {
   box-shadow: unset;
   border: 1px solid #E9E9E9;
}

.popup__input:hover {
   border: 1px solid #F56505;
   transition: 0.2s;
}

.popup__item:not(:last-child) {
   margin-bottom: 15px;
}

.popup__input::placeholder {
   font-weight: 400;
   font-size: 18px;
   line-height: 22px;
   color: #C1C1C1;
}

.popup .orange-button {
   margin-top: 30px;
   width: 100%;
   text-align: center;
}

.popup__close {
   border: 1px solid #E9E9E9;
   border-radius: 4px;
   background-color: #fff;
   border-radius: 4px;
   display: flex;
   align-items: center;
   justify-content: center;
   min-width: 30px;
   max-width: 30px;
   height: 30px;
   cursor: pointer;
}

.popup__close:hover {
   box-shadow: 0px 4px 12px rgba(245, 101, 5, 0.6);
   border: 1px solid #F56505;
   background-color: #F56505;
   transition: 0.3s;
}

.popup__close:hover svg path {
   stroke: #fff;
}

/* TEXT */
.popup__title {
   font-weight: 700;
   font-size: 24px;
   line-height: 29px;
   text-transform: uppercase;
   color: #414141;
}

.popup__name {
   font-weight: 400;
   font-size: 16px;
   line-height: 19px;
   color: #616161;
   margin-bottom: 5px;
}

.success-popup {
   font-size: 20px;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   position: absolute;
   width: 100%;
   height: 100%;
   background-color: #fff;
   left: 0;
   top: 0;
   display: none;
   visibility: hidden;
   text-align: center;
   padding: 20px;
}

.success-popup .orange-button {
   margin: 0 0 0 0;
}

.success-popup__title {
   font-weight: 700;
   font-size: 24px;
   line-height: 29px;
   text-transform: uppercase;
   color: #414141;
   margin-top: 25px;
}

.success-popup__block {
   margin-top: auto;
}

.success-popup__subtitle {
   font-size: 16px;
   line-height: 19px;
   color: #616161;
   margin-bottom: 83px;
   margin-top: 15px;
}

.popup__success.active {
   display: flex;
   visibility: visible;
}

.popup__success2 {
   width: 400px;
   right: 0;
   margin-left: auto;
}

.popup__success2.active {
   display: flex;
   visibility: visible;
}

/* TEXT */



/* WAIT POPUP */
.wait-popup-wrap {
   max-width: 883px;
   width: 100%;
   position: fixed;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   z-index: 10000;
   padding: 20px;
   opacity: 0;
   visibility: hidden;
}

.wait-popup-wrap.active {
   opacity: 1;
   visibility: visible;
}

.wait-popup {
   padding: 20px;
   background: #FFFFFF;
   border: 1px solid #E9E9E9;
   box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.25);
   border-radius: 4px;
   background-image: url(../img/wait-form.jpg);
   background-position: left center;
   background-repeat: no-repeat;
   background-size: contain;
   position: relative;
   background-size: auto;
}

.wait-popup__body {
   max-width: 350px;
   margin-left: auto;
}

.wait-popup__body .orange-button {
   width: 100%;
   text-align: center;
}

/* WAIT POPUP */

/* USL POPUP */
.popup-usluga{
   max-width: 390px;
   width: 100%;
   padding: 20px;
   border: 1px solid #E9E9E9;
   box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.25);
   border-radius: 4px;
   position: fixed;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   z-index: 10000;
   background-color: #fff;
   opacity: 0;
   transition: 0.2s;
   visibility: hidden;
}
.popup-usluga.active {
   opacity: 1;
   transition: 0.3s;
   visibility: visible;
}
.label-for-file{
   display: flex;
   align-items: center;
   justify-content: space-between;
   color: #C1C1C1;
   border: 1px solid #E9E9E9;
   box-shadow: unset;
}
/* popup rassulka */

.popup-rass{
   max-width: 390px;
   width: 100%;
   padding: 20px;
   border: 1px solid #E9E9E9;
   box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.25);
   border-radius: 4px;
   position: fixed;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   z-index: 10000;
   background-color: #fff;
   opacity: 0;
   transition: 0.2s;
   visibility: hidden;
}
.popup-rass.active{
   opacity: 1;
   visibility: visible;
}
.popup__success-rass{
   display: flex;
   align-items: center;
   justify-content: center;
   flex-direction: column;
   gap: 20px;

}
.success-popup__img{
   display: flex;
   align-items: center;
   justify-content: center;
}
.rass-betn.deactive{
   pointer-events: none;
   background-color: lightgrey;
}