.catalog_modal {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 100;
    display: none;
}
.catalog_modal__bg {
    background-color: rgba(0, 0, 0, 0.459);
    width: 100%;
    cursor: pointer;
    height: 100%;
}
.catalog_modal__content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 90%;
    max-width: 960px;
    margin: auto;
    height: max-content;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
}

.catalog_modal__content h4{
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.7rem;
    color: #30314F;
}

.catalog_modal__content_head{
    width: 100%;
    height: 54px;
    background-color: #303150;
    position: relative;
    display: flex;
    align-items: center;
}

.catalog_modal__close_btn{
    color: white;
    width: max-content;
    height: max-content;
    font-size: 16px;
    line-height: 16px;
    margin-left: auto;
    margin-right: 30px;
    cursor: pointer;
}


.catalog_modal__container {
    width: 80%;
    height: max-content;
    margin: 53px auto 56px;
}
.succes_send_form_modal{
    display: none;
    text-align: center;
    padding: 0px 20px;
}
.succes_send_form_modal span{
    font-size: 1.2rem;
    display: block;
    margin-top: 14px;
}

.catalog_modal__params_list {
    margin-top: 43px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
    grid-gap: 30px;
}


.catalog_modal__params_list label {
    width: 30%;
    height: max-content;
}

.catalog_modal__params_list label span{
    margin-left: 3px;
    margin-bottom: 10px;
    display: block;
    font-size: 1.125rem;
}

.catalog_modal__params_list label small{
    opacity: 0;
    color: red;
    display: block;
    margin-top: 3px;
    font-size: 12px;
    line-height: 12px;
}

.catalog_modal__params_list label input{
    width: 100%;
    height: 48px;
    border-radius: 10px;
    border: 1px solid #30314F;
    padding: 0px 10px;
    /* text-align: center; */
    color: #30314F;
    /* font-size: 1.25rem; */
    /* line-height: 1.40rem; */
    /* font-weight: 500; */
}

.catalog_modal__params_list label input::-moz-placeholder,
.catalog_modal__params_list label input::-webkit-input-placeholder,
.catalog_modal__params_list label input::-ms-input-placeholder,
.catalog_modal__params_list label input::-ms-input-placeholder,
.catalog_modal__params_list label input::placeholder {
    color: #A9A9A9;
    font-size: 1rem!important;
    line-height: 1.2rem;
    font-weight: 400;
}


.catalog_modal__feedback_box {
    margin-top: 61px
}
.catalog_modal__feedback_box .catalog_modal__params_list{
    margin-top: 33px;
}

.catalog_modal__agreement {
    margin-top: 32px;
    /* margin-left: 20px; */
}

.catalog_modal__agreement label{
    display: flex;
    align-items: center;
    margin-bottom: 23px;
}

.catalog_modal__agreement label input{
    opacity: 0;
    position: absolute;
    width: 0px;
}

.catalog_modal__checkbox{
    width: 24px;
    height: 24px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #959595;
}

input[type="checkbox"]:checked ~ .catalog_modal__checkbox::before,
.catalog_modal__file_active::before {
    background-color:#6666CC;
    border-color:#6666CC;
    width: 100%;
    height: 100%;
    content: "\2713";
    font-size: 14px;
    line-height: 14px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .catalog_modal__agreement label input:checked::before{

} */


.catalog_modal__agreement label span{
    margin-left: 12px;
    font-size: 14px;
    line-height: 17px;
    font-weight: 400;
}

.catalog_modal__agreement label:last-child{
    margin-bottom: 0px;
}


.catalog_modal__file{
    cursor: pointer;
}

.catalog_modal__file input{
    display: none;
}
.catalog_modal__file_icons{
    width: 24px;
    height: 24px;
    border-radius: 5px;
    border: 1px solid #959595;
}
/*
input[type="checkbox"] ~ .catalog_modal__file_icons{
  background-color: rebeccapurple;
} */

/* .catalog_modal__file input ~  */

.catalog_modal button{
    width: 288px;
    height: 56px;
    margin: 60px auto 0px;
    border: none;
    display: block;
    outline: none;
    background: #15AE5C;
    border-radius: 10px;
    font-size: 1.25rem;
    line-height: 1.25rem;
    color: white;
    font-weight: 700;
}

.catalog_modal p{
    text-align: center;
    font-size: 14px;
    line-height: 17px;
    font-weight: 500;
    color: #30314F;
    margin-top: 27px;
}

.catalog_modal p a{
    color: #6666CC;
    text-decoration: underline;
}

.catalog-modal-legal-consents{
    display:flex;
    flex-direction:column;
    gap:8px;
    margin-top:27px;
}

.catalog-modal-legal-consents label{
    display:flex;
    align-items:flex-start;
    gap:10px;
    color:#30314F;
    font-size:14px;
    line-height:17px;
    font-weight:500;
}

.catalog-modal-legal-consents input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.catalog-modal-legal-consents .catalog_modal__checkbox{
    flex:0 0 auto;
    width:24px;
    height:24px;
}

.catalog-modal-legal-consents span{
    margin-left:0;
}

.catalog-modal-legal-consents a{
    color:#6666CC;
    text-decoration:underline;
}
