.send-zayavka-wrapp{
    width: 100%;
    padding: 30px 0;
    background: white;
    margin-bottom: 15px;
}
.send-zayavka-mod {
    max-width: 900px;
    margin: auto;
    background: #fff;
}
#send-zayavka{
    width: 100%;
}
.send-zayavka-wrapp h6{
    text-align: center;
    font-size: 40px;
    margin-bottom: 25px;
}
/* Прогресс */
.z-progress {
    height: 10px;
    background: #eee;
    border-radius: 6px;
    margin-bottom: 15px;
}
.z-progress-bar {
    height: 100%;
    width: 0;
    background: #25d366;
    transition: .3s;
}

/* Ряды */
.z-row {
    display: flex;
    gap: 15px;
}
@media (max-width:768px){
    .z-row{flex-direction:column;}
}

/* Блоки */
.z-block {
    flex: 1;
    margin: 20px 0;
}

input, select, textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
}

/* Обязательные select и input */
select:invalid, input:invalid { border:2px solid #e74c3c; }
select:valid, input:valid   { border:2px solid #25d366; }

/* Опции */
.z-options {
    margin: 20px 0;
}

/* Тумблеры */
.z-switch {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.z-switch > span {
    min-width: 160px;
    font-weight: 600;
    text-align: right;
}

.z-switch input { display: none; }

.z-switch label span {
    padding: 6px 16px;
    border-radius: 20px;
    background: #eee;
    color: #333;
    cursor: pointer;
    transition: .2s;
}

/* ДА */
.z-switch input[value="Да"]:checked + span {
    background: #2ecc71;
    color: #fff;
}

/* НЕТ */
.z-switch input[value="Нет"]:checked + span {
    background: #e74c3c;
    color: #fff;
}

/* Комментарий */
textarea {
    min-height: 80px;
}

/* Инфо про фото */
.z-photo-info {
    background: #f9f9f9;
    padding: 15px;
    border-left: 4px solid #2ecc71;
    font-size: 14px;
}

/* Согласие */
#z_agree{
  width: auto;
  margin-right: 8px;}
.z-agree {
    display: block;
    margin: 15px 0;
}

/* Кнопка WhatsApp */
button {
    background: #25d366;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    gap: 8px;
    transition: 0.3s;
}

button:hover {
    background: #1ebe57;
}

button img {
    display: inline-block;
    vertical-align: middle;
}

.z-anchor-btn {
    display: inline-block;
    padding: 14px 22px;
    background: #25d366;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: .2s;
    margin-top: 25px;
    margin-left: 10px;
}
.anchor-btn-orange{
    background: #ef7f11 important;
}

.z-anchor-btn:hover {
    background: #1ebe5d;
    text-decoration: none;
    color: #fff;
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-window {
    background: #ffffff;
    max-width: 500px;
    width: 90%;
    padding: 20px 24px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    line-height: 1.5;
}

.modal-window h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 18px;
    text-align: center;
}

.modal-window p {
    margin-bottom: 10px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
}

.modal-btn {
    margin-top: 10px;
    padding: 8px 16px;
    background: #0a7cff;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.privacy-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    background: #0a7cff;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.privacy-icon:hover {
        background: #0a7cff;
    color: #fff;
    cursor: pointer;
}



/* Мобильная версия */
@media (max-width:768px){
    .z-anchor-btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-left: 0px;
    }
}


@media (max-width:768px){
    .z-row {
        flex-direction: column;
    }

    .send-zayavka-mod {
        padding: 0 15px; /* отступы слева и справа */
        box-sizing: border-box;
    }

    .z-block {
        margin: 15px 0; /* вертикальные отступы между блоками */
    }

    button {
        width: 100%; /* кнопка растягивается на всю ширину */
    }
}
