/* .popup-back {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    background: #00000036;
    z-index: 999;
    overflow-y: scroll;
    display: none;
}

.popup-content {
    background-color: #fff;
    width: 50%;
    margin: 90px auto;
    transform: translate(0%, 0%);
}

.pr-head {
    color: #000;
    padding: 40px 0 0;
    font-size: 34px;
    line-height: 1.23;
    font-weight: 600;
    text-align: center;
}

.pr-dark {
    color: #000 !important;
}

.pr-border {
    border: 1px solid #1c71e2 !important;
}

.pr-radius {
    border-radius: 34px !important; 
}

.pr-color {
    margin-bottom: 0 !important;
    padding-bottom: 30px !important;
    color: #1c71e2 !important;
    font-size: 14px !important;
    text-align: center;
}

.pr-close {
    float: inline-end;
    padding: 20px;
    cursor: pointer;
}

@media screen and (max-width: 900px) {
    .popup-content{
        width: 90%;
    }
} */









/* Базовое окно */
.popup-back {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    background: rgba(0,0,0,0.21);
    z-index: 999;
    overflow-y: auto;
    display: none;
    padding: 20px;
}

.popup-back.active {
    display: block;
}

.popup-content {
    background-color: #fff;
    max-width: 600px;
    width: 100%;
    margin: 40px auto;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    box-sizing: border-box;
}

/* Заголовок */
.pr-head {
    color: #000;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

/* Закрытие */
.pr-close {
    position: absolute;
    top: 20px;
    right: 107px;
    cursor: pointer;
}

/* Форма */
form[name="iblock_add"] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Поле ввода с подписью */
.req-tr {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
}

.req-name {
    flex: 1 0 35%;
    font-weight: 500;
    color: #000;
}

.req-hint {
    flex: 1 0 60%;
    font-size: 12px;
    color: #666;
    font-style: italic;
}

.req-tr td:last-child {
    flex: 1 0 100%;
}

/* Поля ввода */
.tsel-inp, textarea, select {
    width: 100%;
    padding: 10px 15px;
    font-size: 14px;
    border: 1px solid #1c71e2;
    border-radius: 8px;
    box-sizing: border-box;
}

/* Кнопка */
.req-btn {
    background-color: #1c71e2;
    color: #fff;
    font-weight: 600;
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    border-radius: 34px;
    transition: all 0.3s ease;
}

.req-btn:hover {
    background-color: #1558a0;
}

/* Поле обязательное */
.starrequired {
    color: red;
    margin-left: 3px;
}

/* Согласие */
.req-konf {
    color: #1c71e2;
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
}

/* Адаптивность */
@media screen and (max-width: 600px) {
    .pr-head {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .popup-content {
        padding: 15px;
    }

    .req-name, .req-hint {
        flex: 1 0 100%;
    }

    .tsel-inp, textarea, select {
        font-size: 13px;
        padding: 8px 10px;
    }

    .req-btn {
        width: 100%;
        font-size: 16px;
        padding: 10px;
    }
}
