*{
    box-sizing: border-box;
}

body{display: flex; flex-direction:column; color:#302f2f;}
body a{color:#302f2f;}
.zen24-online{
    overflow-y: scroll;
    font-family: 'Roboto', sans-serif;
}

.content{
    display: flex;
    flex-direction: column;
    margin:auto;
    width:100%;
    padding:80px 0 0 0;
}


.form {
    width: 50%;
    text-align: center;
    padding: 10px;
}

.form__elem {
    margin-top: 10px;
}

.form__list {
    margin: 0 0 20px ;
}






.form__btn i{position: absolute; font-size:22px; cursor:pointer;  right:20px; top:0; height:100%; display: flex; align-items: center;}

  .privacy {
    display: flex;
    font-size: 13px;
    line-height: 17px;
    justify-content: center;
    align-items: center;
  }

    .privacy p {
        margin: 5px;
    }

  .privacy-check {
    width: 25px !important;
    height: 25px;
  }
/*
.form__btn:hover {
    background-color: #bfbfbf;
    transform: scale(0.98);
    transition: 0.8s ease;
}
*/



.header {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    left: 0;
    top:0;
    z-index:30;
    height:90px;
    background-image:linear-gradient(to top, #f9f9f9, #ffffff);
}

.header::after{
    content: '';
    display: block;
    background-color:#a5a5a5;;
    width: 100%;
    height: 1px;
    position:absolute;
    bottom: 0px;
    left: 0;
    z-index: 30;
}

.header__info{
    display: flex;
    width: 100%;
    margin:0 auto;
    max-width:500px;
    height:50px;
    position: relative;
    align-items: center;
    padding:0 10px;
}

.header__phone{
background:#8f8c8c;
width:32px;
height:32px;
color:#fff;
border-radius:50%;
text-decoration:none;
display:flex; justify-content: center; align-items: center;
position: absolute; right:10px;

}

.header__logo {
    font-size: 28px;
    margin: 0;
    text-align: center;
    padding-top: 5px;
    color: #000;
    width: 100%;
}

.header__tabs {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin:0 auto;
    padding: 0 10px;
    width:100%;
    max-width:500px;

}

.header__tab{
    padding: 5px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    width:34%;
    text-align: center;
    color:#7b7b7b;
    transition:0.3s;
    border-bottom: 3px solid transparent;
}



.header__tab_active {
    border-bottom: 3px solid #da3b44;
    z-index: 100;
    color:#302f2f;
}

.header__tab:last-child{
    margin-right: 0;
}

.form__auto-namber {
    margin-bottom: 20px;
}

.content__box {
    width: 100%;
    max-width: 500px;
    margin: auto;
    overflow: hidden;
}
.content__box-wrapper{
    display: flex;
    overflow: hidden;
    width: 300%;
    transition: 1s;
}

.clients {
    display: flex;
    flex-direction: column;
}

.services__lists {
    list-style: none;
    padding: 0;
    transition:0.5s;
    opacity:1;
}

.openServices .services__lists
{
opacity:1;
}

.services__list {
    overflow: hidden;
    padding: 0;
    list-style: none;
    text-align: left;
    line-height: 24px;
    transition:0.5s;
}

li.active>.services__list{
    padding: 15px 0 0;
}



.services__title{
    display: flex;
    text-align: left;
    border-bottom: 1px #a5a5a5 solid;
    font-size: 18px;
    cursor: pointer;
    padding:10px;
    transition:0.5s;
    justify-content: space-between;
}

.active>.services__title{border-bottom: 3px #a5a5a5 solid;}

.services__title>i{transition:0.5s; color:#828282;}
.active>.services__title>i{transform:rotate(180deg)}














.services__list-item {
    border-bottom: 0px solid #a5a5a5;
    max-height:0px;
    opacity:0;
    transition:0.3s linear;
    overflow:hidden;
    position:relative;

}

.active .services__list-item {
    border-bottom: 1px solid #a5a5a5;
    max-height:1500px;
    opacity:1;
    padding:10px 10px 10px 40px;
}

.services__list-item:last-child {
    border-bottom: none;
}


.services__subtitle {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    position:relative;
}


.services__subtitle i {

    width: 14px;
    height: 14px;
    position:absolute;
    left:-30px;
    z-index:1;
    color:#828282;
}
.services__subtitle i.fa-check-circle
{
 z-index:2;
 color: seagreen;
 opacity:0;
 transition:0.3s;
}

.services__subtitle_active i.fa-check-circle {
    opacity:1;
}

.services__description {
    padding-left: 0px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-bottom: 0px;
    max-height: 65px;
    line-height:1.6;
    font-size:12px;
    color:#424242;
    transition: max-height 1s linear;
    cursor: pointer;
    transition:0.5s;

}

.services__description_active {
    display: block;
    max-height: 1500px;
}


.services, .form__btn{

}

.openServices .form__btn{

}

.openServices .services{
    display: block;
}

.price {
    display: none;
    color: #da3b44;
    font-weight: 700;
}

.price s{color:#333;}
/* Вывод цены в зависимости от типа авто */
.typeCar1 .price_type1 {
    display: block;
}
.typeCar2 .price_type2 {
    display: block;
}

.typeCar3 .price_type3 {
    display: block;
}

.typeCar4 .price_type4 {
    display: block;
}

.typeCar5 .price_type5 {
    display: block;
}

.typeCar6 .price_type6 {
    display: block;
}

.typeCar7 .price_type7 {
    display: block;
}

.typeCar8 .price_type8 {
    display: block;
}

.typeCar9 .price_type9 {
    display: block;
}
.asi {
    margin:10px 0 20px;
    font-weight: normal;
}

.cars{
    width: 100%;
    max-width:300px;
    margin: auto;
}

.cars__label {
    padding:15px 0;
    text-align: left;
    border-bottom: 1px #ddd solid;
}

.greenResult
{
position: fixed;
left: 0;
top: 0;
width:100%;
height: 100%;
background: rgba(255,255,255,0.9);
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
z-index:10; border:none !important;
font-size:18px; line-height:1.8;
}

.cars__label strong{font-size:12px;}

input, textarea{display: block; width:100%; padding:7px; border-radius: 5px; border:1px #b1b1b1 solid;}
form select{display:inline-block; padding:0 7px; height:35px; border-radius: 5px; border:1px #b1b1b1 solid;}

.carNum{border: 1px solid #4a4e50;  text-transform:uppercase; width:110px; text-align: center; padding: 3px; background:#fff; padding-left:20px; position:relative; border-radius:3px;}
.carNumBy{font-family: 'Arial Narrow', arial; font-size:16px; font-weight:bold;}
.carNumBy:before{content:""; position: absolute; left:5px; top:4px; width:12px; height:7px; background:url("/images/by.png") no-repeat;background-size:cover;}
.carNumBy:after{content:"BY"; position: absolute; left:5px; bottom:2px; width:12px; font-weight:bold; text-align: center; font-size:8px;}

.carNumByTax{font-family: 'Arial Narrow', arial; background-color: #ffa500; padding-left:3px; font-size:16px; font-weight:bold;}


.carNumRus{ font-size:12px; font-weight:normal;}
.carNumRus:before{content:""; position: absolute;border:1px #ddd solid; left:5px; top:4px; width:12px; height:7px; background:url("/images/ru.png") no-repeat;background-size:cover;}
.carNumRus:after{content:"RUS"; position: absolute; left:5px; bottom:2px; width:12px; font-weight:bold; text-align: center; font-size:8px;}
.carNumRus sup{display: inline-block; padding-left:5px;}
.carNumRus b{display: inline-block;  font-size:16px; padding:0 4px;}

.timer{display: flex; width: 100%; margin:0; flex-wrap: wrap;}
.timer .hour{width: 100%; position: relative; display: flex;  align-items: center;}

.timer .hour>div{width: 50%; transition:0.3s;  margin:5px; border:1px #ddd solid; padding:6px; border-radius: 3px;}
.timer .hour>div:hover{background:#f2f2f2;}
.timer .hour>div.cap{display:none;}

.timer .hour .minutes.active{cursor:pointer; }
.timer .hour .minutes.current, .timer .hour>.minutes.current:hover{background:seagreen;  border:1px seagreen solid; color:#fff;}

.formCLient{padding:10px; width:100%;}
.formCLient input{font-size:18px; border:1px #b1b1b1 solid; width:100%;}

.formCLient .row{flex-wrap: wrap; padding: 20px 0;}
.formCLient .row>div select{margin-right:10px; height:36px;}
.formCLient .row>div{display: flex; }

form .formResult{font-size:16px;}
form .red{ padding:20px; width: 100%; text-align:center;margin:0 0 20px 0; border:3px #de8888 solid; border-radius:10px;}
form .green{ padding:20px; width: 100%; text-align:center; margin:0 0 20px 0; border:3px #1ab394 solid; border-radius:10px;}


.greenResult {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    border: none !important;
    font-size: 18px;
    line-height: 1.8;
    padding: 20px;
    box-sizing: border-box;
}

.greenResultClose {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #1ab394;
    color: #fff;
    font-size: 32px;
    line-height: 38px;
    cursor: pointer;
    text-align: center;
    padding: 0;
}

.greenResultClose:hover {
    background: #15977c;
}

.greenResult__info {
    position: relative;
    width: 100%;
    max-width: 520px;
    padding: 35px 30px 30px;
    background: #ffffff;
    border: 1px solid rgba(26, 179, 148, 0.25);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    text-align: center;
    box-sizing: border-box;
}

.greenResult__info::before {
    content: "";
    display: block;
    width: 70px;
    height: 5px;
    margin: 0 auto 22px;
    background: #1ab394;
    border-radius: 10px;
}

.greenResult__info p {
    margin: 0 0 12px;
}

.greenResult__info .title-app {
    margin: 25px 0 18px;
    font-size: 20px;
    line-height: 1.35;
}

.greenResultClose {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #f2f5f4;
    color: #333;
    font-size: 30px;
    line-height: 34px;
    cursor: pointer;
    text-align: center;
    padding: 0;
    transition: 0.2s ease;
}

.greenResultClose:hover {
    background: #1ab394;
    color: #fff;
}

.buttons-app {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.buttons-app .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.buttons-app img {
    max-height: 44px;
    width: auto;
}

@media (max-width: 600px) {
    .greenResult {
        padding: 15px;
    }

    .greenResult__info {
        padding: 32px 20px 25px;
        border-radius: 14px;
    }

    .greenResult__info .title-app {
        font-size: 18px;
    }

    .buttons-app {
        gap: 10px;
    }

    .buttons-app img {
        max-height: 40px;
    }
}

.masters{display: flex; list-style: none; margin:20px 0 0 0; padding:0; flex-direction: column;}

.masters li:first-child{border-top:1px #ddd solid;}
.masters li{display: flex; transition:0.3s; cursor:pointer; padding:10px; border-bottom:1px #ddd solid; align-items: center; text-align: left;}
.masters li:hover{background-image:linear-gradient(to top, #ebebeb, #f4f4f4);}
.masters li.active{background-image:linear-gradient(to top, #cecece, #dddddd);}
.masters li img.avatar{display: block; width: 60px; height: 60px; margin:0 20px 0 0; border-radius: 50%; object-fit: cover; object-position: center;}
.masters li  .master_info{display: flex; flex-direction: column; line-height:1.6;}
.masters li  .master_info span{font-size:12px; color:#3e3e3e;}
.masters li  .master_info span.instagram a{color:#770076; text-decoration:none;}
.masters li  .master_info span.instagram a:hover{ text-decoration:underline;}

/* .fixed-bottom-btn {
    position: fixed !important;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: auto;
    min-width: 300px;
} */


/* Задаём одинаковую ширину всегда */
#twoBtn {
    width: 300px;
    transition: all 0.3s ease-in-out;
    text-align: center;
    position: relative;
    left: calc(50% - 150px);  /* Сдвигаем на половину ширины */
    margin: 0;
}

#twoBtn.fixed-bottom-btn {
    position: fixed !important;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 300px;
    margin: 0;
    animation: slideUp 0.3s ease-out forwards;
}

#twoBtn.fixed-bottom-btn i {
    color: seagreen;
}


.form__btn {
    margin: 10% auto 20px;
    border-radius: 10px;
    line-height:50px;
    background-color: #fff;
    width: 100%;
    max-width:300px;
    cursor: pointer;
    text-transform: uppercase;
    border: 1px solid #bfbfbf;
    position: relative;
    font-weight: 700;
}
/* Анимация появления - анимируем только opacity и bottom */
@keyframes slideUp {
    from {
        opacity: 0;
        bottom: 0px;
    }
    to {
        opacity: 1;
        bottom: 20px;
    }
}

/* Анимация исчезновения */
@keyframes slideDown {
    from {
        opacity: 1;
        bottom: 20px;
    }
    to {
        opacity: 0;
        bottom: 0px;
    }
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    #twoBtn.fixed-bottom-btn {
        width: calc(100% - 40px);
        white-space: normal;
        bottom: 10px;
    }

    @keyframes slideUp {
        from {
            opacity: 0;
            bottom: 0px;
        }
        to {
            opacity: 1;
            bottom: 10px;
        }
    }

    @keyframes slideDown {
        from {
            opacity: 1;
            bottom: 10px;
        }
        to {
            opacity: 0;
            bottom: 0px;
        }
    }
}
