/* ========= ФОН ФОРМЫ, БЛОКИ, ТЕКСТ ========= */

.search-form-full {
    width: 100%;
    /*max-width: 500px;*/
    margin: 40px auto 40px;
    padding: 40px 32px;
    border-radius: 24px;

    /* Фон: картинка + затемнение */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
}

.search-form-full * {
    position: relative;
    z-index: 1;
    color: #fff;
}

.search-form-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.search-title {
    font-size: 38px;
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 8px;
    text-shadow: 0 0 12px var(--neon);
}

.search-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

/* ========= ФОРМА ========== */

.dating-search {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.field-group label {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* OPTION BUTTONS: I AM / INTERESTED IN */

.option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.option-buttons .opt-btn {
    padding: 10px 26px;
    border-radius: 999px;
    border: 2px solid var(--neon);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.option-buttons .opt-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.option-buttons .opt-btn.active {
    background: var(--neon);
    color: #000;
    box-shadow: 0 0 18px var(--neon);
}

/* AGE RANGE */

.age-range .age-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    opacity: 0.9;
}

.age-range input[type=range] {
    width: 100%;
    margin-top: 8px;
    appearance: none;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    outline: none;
}

/* track */
.age-range input[type=range]::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background: transparent;
}

.age-range input[type=range]::-moz-range-track {
    height: 6px;
    border-radius: 999px;
    background: transparent;
}

/* thumb */
.age-range input[type=range]::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--neon);
    box-shadow: 0 0 12px var(--neon);
    cursor: pointer;
    margin-top: -6px;
    /* центр к треку */
}

.age-range input[type=range]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--neon);
    box-shadow: 0 0 12px var(--neon);
    cursor: pointer;
}

/* COUNTRY INPUT */

.country-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--neon);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 15px;
    outline: none;
}

.country-input::placeholder {
    color: #aaa;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .search-form-full {
        padding: 28px 18px;
    }

    .search-form-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-title {
        font-size: 28px;
    }
}