.application__btn{
     border: 0px solid #e5e7eb;
    border-radius: 5px;
    width: 100%;
    height: 50px;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    background: linear-gradient(90deg, #005fae 0%, #00b2e2 100%);
    margin-top: 30px;
    margin: 0 auto;
}

.application__title{
    font-weight: 600;
    font-size: 24px;
    color: #000;
    margin-top: 47px;
    margin-bottom: 48px;
}

.application__form{
    margin: 0 auto;
    display: table; 
}

.modals__form{
     /* background-color: white; */
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    border: 2px solid #4ba8ff;
    width: 633px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    position: relative;
    .modals__form__group_1{
        order: 1;
    }
    .modals__form__group_2{
        order: 2;
    }
    .modals__form__group_3{
        order: 3;
    }
    .modals__form__group_4{
        order: 4;
    }
    .modals__form__group_5{
        order: 6;
    }
    .modals__form__group_6{
        order: 5;
        text-align: left;
    }
    
}

.modals__label {
    display: block;
    margin-bottom: 9px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    color: #000;
}

.application__form input[type="text"],
.application__form input[type="email"],
.application__form input[type="number"] {
    width: 100%;
    height: 40px;
    padding: 10px;
    border: 1px solid #e5eaf2;
    border-radius: 5px;
    outline: none;
}

.modals__form__group{
    width: 100%;
}

.modals__policy{
    font-weight: 400;
    font-size: 12px;
    text-align: center;
    color: #000;
    margin-top: 31px;
    margin-bottom: 31px;
    margin-left: 0;
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.modals__policy input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    /* Для Safari */
    -moz-appearance: none;
    /* Для Firefox */
    width: 29px;
    min-width: 29px;
    height: 28px;
    border: 2px solid #4ba8ff;
    /* Черная рамка */
    /* Скругленные углы */
    background-color: #fff;
    /* Белый фон */
    cursor: pointer;
    position: relative;
}

/* Стили для состояния "checked" */
.modals__policy input[type="checkbox"]:checked {
    background-color: #4ba8ff; /* Черный фон при отмеченном состоянии */
    border-color: #4ba8ff; /* Черная рамка */
}

/* Добавляем галочку при отмеченном состоянии */
.modals__policy input[type="checkbox"]:checked::before {
    content: '\2713'; /* Юникод символ галочки */
    font-size: 10px;
    color: #fff; /* Белый цвет галочки */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modals__policy label{
    margin-bottom: 0;
}

.close__aplication{
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    cursor: pointer;
}

.close__aplication i{
    color: #4ba8ff;
    font-size: 27px!important;
    width: 27px!important;
    height: 27px!important;
}

/* body{
    background: #fff;
} */
.window__thanks{
    width: 685px;
    height: 360px;
    background: #071f3e; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.window__thanks_block{
    margin: 0 auto;
    display: table;
}

.window__title{
    font-weight: 600;
    font-size: 32px;
    color: #fff;
    z-index: 2;
}

.window__subtitle{
    font-weight: 500;
    font-size: 24px;
    text-align: center;
    color: #fff;
    margin-top: 18px;
    z-index: 2;
}

.window__btn{
    margin-top: 43px;
    border-radius: 5px;
    width: 575px;
    height: 50px;
    background: linear-gradient(90deg, #005fae 0%, #00b2e2 100%);
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    color: #fff;
    z-index: 2;
    cursor: pointer;
    border: none;
}

.window__btn:hover{
    opacity: 0.8;
    border: none;
}

.close__thanks{
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    cursor: pointer;
}

.close__thanks:hover{
    opacity: 0.8;
}

.close__thanks i{
    color: #fff;
    font-size: 27px!important;
    width: 27px!important;
    height: 27px!important;
}


.window__thanks img{
    width: 917px;
  height: 428px;
  transform: rotate(379deg);
  position: absolute;
  bottom: 12%;
  left: -26%;
  display: block;
  z-index: 1;
}

@media (max-width: 700px) {
    .modals__form{
        width: 100%;
        padding: 10px;
    }
    .window__thanks{
        width: 100%;
    }
    .window__thanks img{
        width: 100%;
        left: 10%;
    }
    .window__subtitle{
        font-size: 20px;
    }
    .window__btn{
        width: 80%;
    }
}

@media (max-width: 475px) {
    .application__title{
        font-size: 18px;
    }
}