﻿

/* Общий контейнер нового дизайна */
.new-design-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 0;
}

/* Кнопка "Назад" */
.back-nav {
    margin-bottom: 12px;
}

.back-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #A1A1A1;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-icon {
    width: 6px;
    height: 6px;
    border-top: 1.5px solid #A1A1A1;
    border-left: 1.5px solid #A1A1A1;
    transform: rotate(-45deg);
    display: inline-block;
}

/* Кастомная строка поиска */
.custom-search-bar {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px;
    gap: 4px;
    width: 485px;
    height: 44px;
    background: #FFFFFF;
    border: 1px solid #E1E8F1;
    border-radius: 10px;
}

.search-icon-btn {
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.search-input {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #07130B;
}

    .search-input::placeholder {
        color: #A1A1A1;
    }

.search-clear-btn {
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    display: none;
    align-items: center;
    justify-content: center;
}

    .search-clear-btn span {
        position: absolute;
        width: 0px;
        height: 14px;
        border: 0.75px solid #A1A1A1;
        left: 11px;
        top: 5px;
    }

    .search-clear-btn .vector-line-1 {
        transform: rotate(45deg);
    }

    .search-clear-btn .vector-line-2 {
        transform: rotate(135deg);
    }

/* Универсальная шапка для мобильных модалок */
.modal-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

    .modal-mobile-header .fp-auth-close {
        position: static;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
    }

@media (max-width: 768px) {
    .back-link {
        line-height: 17px;
        letter-spacing: -0.02em;
        gap: 2px;
    }

    .custom-search-bar {
        width: 100%;
        max-width: 100%;
        margin-top: 10px;
        margin-bottom: 0;
    }

        .custom-search-bar .search-input {
            font-size: 16px;
        }
}
