

/* Start:/bitrix/templates/svdom_new/components/vhoruzhenko/forms.simple/shalkar-modal/style.css?17710433175947*/
/* Обертка компонента */
.form-simple-modal-wrapper {
    display: inline-block;
}

/* Кнопка открытия модального окна */
.form-simple-modal-button {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.form-simple-modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Модальное окно */
.form-simple-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
    z-index: 9999 !important;
}

.form-simple-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;

}

.form-simple-modal-content {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideDown 0.3s;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-simple-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.form-simple-modal-close:hover {
    color: #000;
}

/* Заголовок в модальном окне */
.form-simple-modal-title {
    margin: 0 0 20px 0;
    font-size: 1.5rem;
    color: #333;
}

/* Форма */
.form-simple {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-simple-fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-simple-field {
    display: flex;
    flex-direction: column;
}

.form-simple-label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-simple-required {
    color: #e74c3c;
}

.form-simple-input,
.form-simple-textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-simple-input:focus,
.form-simple-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-simple-input.error,
.form-simple-textarea.error {
    border-color: #e74c3c;
}

.form-simple-error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    min-height: 18px;
    opacity: 0;
    transition: opacity 0.3s;
    display: block;
}

.form-simple-error-message.show {
    opacity: 1;
}

.form-simple-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Кнопка отправки */
.form-simple-submit {
    margin-top: 10px;
}

.form-simple-button {
    width: 100%;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.form-simple-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Сообщения об ошибках */
.form-simple-errors {
    background-color: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.form-simple-error {
    color: #c33;
    font-size: 14px;
    margin-bottom: 5px;
}

.form-simple-error:last-child {
    margin-bottom: 0;
}

/* Сообщение об успехе */
.form-simple-success {
    background-color: #efe;
    border: 1px solid #cfc;
    border-radius: 8px;
    padding: 15px;
    color: #3c3;
    font-size: 14px;
}

/* User Consent Styling */
.form-simple-consent {
    margin-top: 15px;
    padding: 10px 0;
}

.form-simple-consent .main-user-consent-request {
    font-size: 13px;
    line-height: 1.4;
}

.form-simple-consent .main-user-consent-request a {
    color: #667eea;
    text-decoration: underline;
}

.form-simple-consent .main-user-consent-request a:hover {
    color: #764ba2;
}

.form-simple-consent-error {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    opacity: 0;
    transition: opacity 0.3s;
}

.form-simple-consent-error.show {
    opacity: 1;
}

.form-simple-consent .main-user-consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.form-simple-consent .main-user-consent-checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

/* Уведомление */
.form-simple-notification {
    display: none;
    position: fixed;
    top: 30px;
    right: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    animation: slideInRight 0.5s;
}

.form-simple-notification.show {
    display: block;
}

.form-simple-notification p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .form-simple-modal-content {
        padding: 30px 20px;
        width: 95%;
    }

    .form-simple-notification {
        left: 20px;
        right: 20px;
        top: 20px;
    }

    .form-simple-modal-title {
        font-size: 1.25rem;
    }
}

/* End */


/* Start:/local/components/custom/apartments.filter/templates/.default/style.css?177372791420687*/
/* Apartments Filter Component Styles */

.apartments-wrap {
    padding: 40px 0 60px;
}

.apartments-wrap .wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.apartments-wrap .main-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

@media (max-width: 767px) {
    .apartments-wrap .main-title {
        font-size: 32px;
    }
}

/* Filter header — на десктопе скрыт (только кнопка мобильного фильтра) */
.filter-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.count-info {
    font-size: 14px;
    color: #666;
}

/* Filter toggle button - hidden on desktop */
.filter-toggle-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #008b3b;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-toggle-btn:hover {
    background: #006b2d;
}

.filter-toggle-btn svg {
    width: 18px;
    height: 18px;
}

.filter-toggle-btn .filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #fff;
    color: #008b3b;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 767px) {
    .filter-toggle-btn {
        display: flex;
    }

    .filter-header {
        margin-bottom: 12px;
    }
}

/* Filter section */
.apartment-search-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-bottom: 30px;
    align-items: flex-start;
}

/* Кнопки всегда вместе — не расползаются по разным строкам */
.filter-btns {
    display: flex;
    gap: 8px;
    margin-top: 24px;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .filter-btns {
        width: 100%;
        flex-direction: column;
        margin-top: 8px;
    }
}

.apartment-search-info .select-wrap {
    min-width: 124px;
    flex-grow: 1;
}

.apartment-search-info .select-wrap.full {
    min-width: 180px;
    width: 100%;
    max-width: 300px;
}

@media (max-width: 1300px) {
    .apartment-search-info .select-wrap {
        min-width: 200px;
    }
}

/* MOBILE: Hide filter by default, show when open */
@media (max-width: 767px) {
    .apartment-search-info {
        display: none !important;
        flex-wrap: wrap;
        justify-content: space-between;
        background: #f9f9f9;
        padding: 20px;
        border-radius: 10px;
        margin-bottom: 20px;
    }

    .apartment-search-info.filter-open {
        display: flex !important;
    }

    .apartment-search-info .select-wrap {
        width: calc((100% - 15px) / 2);
        margin: 0;
        margin-bottom: 15px;
        flex-grow: 0;
    }

    .apartment-search-info .select-wrap.full {
        width: 100%;
        max-width: none;
    }
}

.apartment-search-info .select-wrap label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

/* Filter group */
.filter-group {
    min-width: 150px;
}

.filter-divider {
    display: none;
}

@media (max-width: 767px) {
    .filter-divider {
        display: block;
        width: 100%;
        height: 1px;
        background: #e4e4e4;
        margin: 5px 0 15px;
    }
}

/* Rooms buttons */
.rooms-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.room-btn {
    min-width: 34px;
    height: 34px;
    border: none;
    border-radius: 6px;
    background: #f5f5f5;
    font-size: 13px;
    font-weight: 500;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0 8px;
}

.room-btn:hover {
    background: #e5e5e5;
}

.room-btn.active {
    background: #008b3b;
    color: #fff;
}

/* Range slider */
.range-info {
    flex-grow: 1;
}

/* Этаж — до 3 цифр: "999" */
.range-info.range-size-small {
    min-width: 180px;
    flex-basis: 180px;
}

/* Площадь — до 6 символов: "999.99" */
.range-info.range-size-medium {
    min-width: 240px;
    flex-basis: 240px;
}

/* Цена — до 12 цифр: "99 999 999" */
.range-info.range-size-large {
    min-width: 360px;
    flex-basis: 360px;
}

@media (max-width: 767px) {
    .range-info {
        width: 100%;
        margin: 0;
        margin-bottom: 15px;
    }

    .range-info.range-size-small,
    .range-info.range-size-medium,
    .range-info.range-size-large {
        min-width: 100%;
        flex-basis: 100%;
    }
}

.range-label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}

.range-info .inputs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e4e4e4;
    border-radius: 50px;
    height: 50px;
    position: relative;
    transition: 0.3s;
}

.range-info .input-wrap {
    width: calc(50% - 15px);
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    color: rgb(20, 20, 20);
    font-size: 17px;
    gap: 4px;
    flex: 1;
    min-width: 100px;
    padding: 7px 16px;
}

.range-info .inputs::after {
    content: "";
    width: 1px;
    height: 24px;
    left: 50%;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(228, 228, 228);
    position: absolute;
}

.range-info .input-wrap .input-prefix {
    font-size: 11px;
    color: #999;
    white-space: nowrap;
    flex-shrink: 0;
}

.range-info .input-wrap input {
    flex: 1;
    min-width: 28px;
    height: 24px;
    border: none;
    background: transparent;
    padding: 0;
    color: rgb(20, 20, 20);
    margin: 0px 5px;
    width: 29px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

/* Этаж: "999" ≈ 25px */
.range-info.range-size-small .input-wrap input {
    min-width: 28px;
}

/* Площадь: "999.99" ≈ 45px */
.range-info.range-size-medium .input-wrap input {
    min-width: 48px;
}

/* Цена: "99 999 999" ≈ 75px */
.range-info.range-size-large .input-wrap input {
    min-width: 78px;
}

.range-info .input-wrap input:focus {
    outline: none;
}

/* Range slider track */
.range-slider {
    position: relative;
    height: 20px;
    margin: 8px 0 5px;
}

.range-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 8px;
    right: 8px;
    width: calc(100% - 16px) !important;
    height: 4px;
    background: #e4e4e4;
    border-radius: 2px;
    cursor: pointer;
}

.range-fill {
    position: absolute;
    height: 100%;
    background: #008b3b;
    border-radius: 2px;
}

.range-thumb {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #008b3b;
    border: 2px solid #fff;
    border-radius: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.range-thumb:active {
    cursor: grabbing;
}

/* Buttons */
.green-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    background: #008b3b;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.green-btn:hover {
    background: #006b2d;
}

.grey-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    background: #f5f5f5;
    color: #000;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.grey-btn:hover {
    background: #e5e5e5;
}

.grey-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 767px) {
    .filter-btns .green-btn,
    .filter-btns .grey-btn {
        width: 100%;
    }
}

/* View controls row — всегда виден под фильтром */
.view-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 10px;
}

@media (max-width: 767px) {
    .view-controls-row {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 12px;
    }

    .count-info {
        order: 2;
        width: 100%;
        font-size: 13px;
    }

    .tab-menu {
        order: 1;
        width: 100%;
        justify-content: center;
        gap: 8px;
    }

    .tab-menu li {
        flex: 1;
    }

    .tab-menu li button {
        width: 100%;
        justify-content: center;
        padding: 10px;
    }
}

/* Tab menu */
.tab-menu {
    display: flex;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-menu li {
    list-style: none;
}

.tab-menu li button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    background: #f5f5f5;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-menu li button:hover {
    background: #e5e5e5;
}

.tab-menu li.active button {
    background: #008b3b;
    color: #fff;
}

.tab-menu li button svg {
    width: 20px;
    height: 20px;
    fill: #666;
}

.tab-menu li.active button svg {
    fill: #fff;
}

.tab-menu li button .text {
    font-size: 14px;
    display: none;
}

@media (max-width: 767px) {
    .tab-menu li button .text {
        display: inline;
    }
}

/* Loading */
.loading-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid #e4e4e4;
    border-top-color: #008b3b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* No results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #666;
}

/* Grid view - Плитка */
.apartments-items2 {
    margin-top: 20px;
}

.apartments-items2 .grey-btn {
    display: block;
    margin: 30px auto 0;
    width: auto;
}

.favorites-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1200px) {
    .favorites-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .favorites-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .favorites-items {
        grid-template-columns: 1fr;
    }
}

.favorites-item {
    border-radius: 10px;
    transition: 0.3s;
    border: 1px solid transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-align: left;
}

@media (max-width: 1024px) {
    .favorites-item {
        border-color: #e4e4e4;
    }
}

.favorites-item:hover {
    border-color: #008b3b;
}

.favorites-item:hover .img-wrap img {
    transform: scale(1.05);
}

.favorites-item .img-wrap {
    display: flex;
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
    cursor: pointer;
}

.favorites-item .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

/* Zoom overlay при наведении */
.favorites-item .img-wrap .img-zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.favorites-item .img-wrap:hover .img-zoom-overlay {
    opacity: 1;
}

.favorites-item .img-wrap:hover img {
    transform: scale(1.05);
}

.favorites-item .text-wrap {
    padding: 20px;
    display: flex;
    flex-direction: column;
    background: #f9f9f9;
    flex-grow: 1;
    text-decoration: none;
    color: inherit;
}

.favorites-item .text-wrap b {
    display: block;
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    color: #000;
}

.favorites-item .text-wrap b a {
    color: inherit;
    text-decoration: none;
}

.favorites-item .text-wrap b a:hover {
    color: #008b3b;
}

.favorites-item .text-wrap .favorite-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
}

.favorites-item .text-wrap .favorite-info-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e4e4e4;
    font-size: 14px;
}

.favorites-item .text-wrap .favorite-info-list li:last-child {
    border-bottom: none;
}

.favorites-item .text-wrap .favorite-info-list li span {
    color: #666;
}

.favorites-item .text-wrap .favorite-info-list li span.black {
    color: #000;
    font-weight: 500;
}

/* Кнопка "Запросить консультацию" */
.apt-consult-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 12px;
    padding: 10px 18px;
    background: #008b3b;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    text-align: center;
}

.apt-consult-btn:hover {
    background: #006b2d;
}

/* List view - Список */
.apartments-items1 {
    margin-top: 20px;
    text-align: center;
}

.apartments-items1 .grey-btn.load-more {
    display: block;
    margin: 24px auto 0;
    width: auto;
}

.apartments-items1 .favorites-item2 {
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: visible;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: #f9f9f9;
    margin-bottom: 16px;
    transition: 0.3s;
}

.apartments-items1 .favorites-item2:last-child {
    margin-bottom: 0;
}

.apartments-items1 .favorites-item2:hover {
    border-color: #e4e4e4;
}

.apartments-items1 .favorites-item2 .img-wrap {
    border-radius: 5px;
    overflow: hidden;
    min-width: 150px;
    width: 150px;
    height: 100px;
    display: flex;
    flex-shrink: 0;
    margin-right: 25px;
    position: relative;
    cursor: pointer;
}

.apartments-items1 .favorites-item2 .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.apartments-items1 .favorites-item2:hover .img-wrap img {
    transform: scale(1.05);
}

.apartments-items1 .favorites-item2 .text-wrap {
    flex-grow: 1;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.apartments-items1 .favorites-item2 .text-wrap b {
    display: block;
    font-size: 22px;
    line-height: 26px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.apartments-items1 .favorites-item2 .text-wrap .texts-info {
    display: flex;
}

.apartments-items1 .favorites-item2 .texts {
    display: flex;
    flex-direction: column;
    margin-right: 50px;
}

.apartments-items1 .favorites-item2 .texts:last-child {
    margin-right: 0;
}

.apartments-items1 .favorites-item2 .texts span {
    font-size: 15px;
    line-height: 18px;
    margin-bottom: 7px;
    color: #4f4f4f;
    display: inline-block;
    white-space: nowrap;
}

.apartments-items1 .favorites-item2 .texts span:last-child {
    margin-bottom: 0;
}

.apartments-items1 .favorites-item2 .texts span.black {
    color: #141414;
    font-weight: 500;
}

/* Кнопка консультации в list-view */
.apt-consult-wrap {
    display: flex;
    align-items: center;
    padding: 0 0 0 20px;
    margin-left: auto;
    flex-shrink: 0;
}

.apartments-items1 .favorites-item2 .apt-consult-wrap .apt-consult-btn {
    width: auto;
    margin-top: 0;
    white-space: nowrap;
    font-size: 13px;
    padding: 8px 16px;
}

@media (max-width: 767px) {
    .apartments-items1 .favorites-item2 {
        padding: 12px;
        margin-bottom: 10px;
        flex-wrap: wrap;
    }

    .apartments-items1 .favorites-item2 .img-wrap {
        min-width: 90px;
        width: 90px;
        height: 90px;
        border-radius: 8px;
        margin-right: 12px;
    }

    .apartments-items1 .favorites-item2 .text-wrap {
        flex: 1;
        min-width: 0;
    }

    .apartments-items1 .favorites-item2 .text-wrap b {
        font-size: 15px;
        line-height: 20px;
        margin-bottom: 6px;
    }

    .apartments-items1 .favorites-item2 .texts {
        margin-right: 20px;
    }

    .apartments-items1 .favorites-item2 .texts span {
        font-size: 13px;
        line-height: 18px;
        margin-bottom: 4px;
    }

    /* Кнопка — полная ширина внизу карточки */
    .apt-consult-wrap {
        display: flex;
        width: 100%;
        padding: 10px 0 0;
        margin-left: 0;
    }

    .apt-consult-wrap .apt-consult-btn {
        width: 100%;
        font-size: 13px;
        padding: 10px 16px;
    }
}

/* Модальное окно просмотра планировки */
.apt-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: apt-modal-fade 0.2s ease;
}

@keyframes apt-modal-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.apt-modal-content {
    position: relative;
    max-width: 900px;
    max-height: 90vh;
    width: 100%;
    animation: apt-modal-scale 0.25s ease;
}

@keyframes apt-modal-scale {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.apt-modal-content img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}

.apt-modal-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.apt-modal-close:hover {
    background: #008b3b;
    color: #fff;
}

/* Модальное окно консультации */
.apt-consult-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.apt-consult-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.apt-consult-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: none;
    transform: scale(0.93);
    transition: transform 0.25s ease;
}

.apt-consult-modal-overlay.is-open .apt-consult-modal-content {
    transform: scale(1);
}

.apt-consult-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f5f5f5;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    z-index: 1;
}

.apt-consult-modal-close:hover {
    background: #008b3b;
    color: #fff;
}

.apt-consult-modal-header {
    margin-bottom: 20px;
    padding-right: 40px;
}

.apt-consult-modal-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    margin: 0 0 6px;
    line-height: 1.3;
}

.apt-consult-modal-header p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.apt-consult-modal-body {
    min-height: 60px;
}

.apt-consult-modal-body .b24-form-control-not-empty + .b24-form-control-label,
.apt-consult-modal-body .b24-form-control-select-label,
.apt-consult-modal-body .b24-form-control:focus + .b24-form-control-label {
    top: 14px;
}

@media (max-width: 767px) {
    .apt-consult-modal-content {
        padding: 28px 20px;
    }
}

.b24-form-control-not-empty+.b24-form-control-label, .b24-form-control-select-label, .b24-form-control:focus+.b24-form-control-label {
    top: 5px !important;
}

.b24-form-control-list .b24-form-control-label, .b24-form-control-string .b24-form-control-label, .b24-form-control-text .b24-form-control-label {
    padding-left: 15px;
}


.b24-form-padding-side {
    padding: 0 !important;
}

.b24-form-wrapper.b24-form-shadow{
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}
/* End */


/* Start:/bitrix/templates/svdom_new/components/vhoruzhenko/forms.simple/shalkar/style.css?17707946053012*/
.form-simple-wrapper {
    margin: 0 auto;
    padding: 20px;
}

.form-simple-title {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.form-simple-fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-simple-field {
    display: flex;
    flex-direction: column;
}

.form-simple-label {
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

.form-simple-required {
    color: #e74c3c;
}

.form-simple-input,
.form-simple-textarea {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-simple-input:focus,
.form-simple-textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-simple-input.error,
.form-simple-textarea.error {
    border-color: #e74c3c;
}

.form-simple-error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    min-height: 18px;
    opacity: 0;
    transition: opacity 0.3s;
    display: block;
}

.form-simple-error-message.show {
    opacity: 1;
}

.form-simple-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-simple-submit {
    margin-top: 20px;
}

.form-simple-button {
    width: 100%;
    padding: 12px 24px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-simple-button:hover {
    background-color: #2980b9;
}

.form-simple-button:active {
    background-color: #21618c;
}

.form-simple-errors {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fdecea;
    border-left: 4px solid #e74c3c;
    border-radius: 4px;
}

.form-simple-error {
    color: #c0392b;
    font-size: 14px;
    margin: 5px 0;
}

.form-simple-success {
    padding: 15px;
    background-color: #d4edda;
    border-left: 4px solid #28a745;
    border-radius: 4px;
    color: #155724;
    font-size: 14px;
}

/* User Consent Styling */
.form-simple-consent {
    margin-top: 15px;
    padding: 10px 0;
}

.form-simple-consent .main-user-consent-request {
    font-size: 13px;
    line-height: 1.4;
}

.form-simple-consent .main-user-consent-request a {
    color: #3498db;
    text-decoration: underline;
}

.form-simple-consent .main-user-consent-request a:hover {
    color: #2980b9;
}

.form-simple-consent-error {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    opacity: 0;
    transition: opacity 0.3s;
}

.form-simple-consent-error.show {
    opacity: 1;
}

.form-simple-consent .main-user-consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.form-simple-consent .main-user-consent-checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .form-simple-wrapper {
        padding: 15px;
    }

    .form-simple-title {
        font-size: 20px;
    }
}

/* End */
/* /bitrix/templates/svdom_new/components/vhoruzhenko/forms.simple/shalkar-modal/style.css?17710433175947 */
/* /local/components/custom/apartments.filter/templates/.default/style.css?177372791420687 */
/* /bitrix/templates/svdom_new/components/vhoruzhenko/forms.simple/shalkar/style.css?17707946053012 */
