/* Homepage-only premium matchmaking search panel. */

.home-match-card.banner-account {
    width: 100%;
    max-width: 430px;
    margin-left: auto;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid rgba(var(--base), 0.16);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 58px rgba(17, 13, 24, 0.24);
    backdrop-filter: blur(9px);
}

.home-match-card__heading {
    padding-bottom: 21px;
}

.home-match-card__heading .login-title {
    margin-bottom: 5px;
    color: var(--dark-color);
    font-size: clamp(25px, 2.5vw, 32px);
    font-weight: 700;
}

.home-match-card__heading p {
    margin: 0;
    color: #777;
    font-size: 13px;
}

.home-match-card__body {
    display: grid;
    gap: 20px;
}

.home-looking-for {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.home-looking-for legend {
    float: none;
    width: auto;
    margin: 0 0 9px;
    color: var(--dark-color);
    font-size: 13px;
    font-weight: 700;
}

.home-looking-for__select {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.home-looking-for__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.home-looking-for__option {
    display: flex;
    min-width: 0;
    min-height: 104px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    border: 1px solid rgba(var(--base), 0.15);
    border-radius: 14px;
    background: rgba(var(--base), 0.035);
    color: #666;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-looking-for__icon {
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border-radius: 14px;
    background: #fff;
    color: rgb(var(--base));
    box-shadow: 0 6px 15px rgba(var(--base), 0.10);
}

.home-looking-for__icon i {
    font-size: 20px;
}

.home-looking-for__option:hover,
.home-looking-for__option:focus {
    border-color: rgba(var(--base), 0.42);
    color: rgb(var(--base));
    outline: 0;
    transform: translateY(-2px);
}

.home-looking-for__option.is-active {
    border-color: rgb(var(--base));
    background: linear-gradient(135deg, rgba(var(--base), 0.15), rgba(var(--base), 0.055));
    color: rgb(var(--base));
    box-shadow: 0 8px 20px rgba(var(--base), 0.14);
}

.home-looking-for__option.is-active .home-looking-for__icon {
    background: var(--linear-bg);
    color: #fff;
}

.home-match-card .form--control {
    min-height: 48px;
    border: 1px solid rgba(var(--base), 0.16);
    border-radius: 11px;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(40, 28, 48, 0.035);
}

.home-match-card .form--control:focus {
    border-color: rgb(var(--base));
    box-shadow: 0 0 0 3px rgba(var(--base), 0.10);
}

.home-match-card .form--label {
    background: #fff;
}

.home-match-card__submit {
    display: inline-flex;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 11px;
    background: var(--linear-bg);
    box-shadow: 0 10px 22px rgba(var(--base), 0.22);
    font-weight: 700;
}

.home-match-card__submit:hover,
.home-match-card__submit:focus {
    background: var(--linear-bg-hover);
    box-shadow: 0 13px 26px rgba(var(--base), 0.28);
    outline: 0;
}

.hero .hero__content-subtitle,
.hero .hero__content-title {
    color: #fff !important;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.38);
}

@media (max-width: 991.98px) {
    .home-match-card.banner-account {
        max-width: 520px;
        margin-right: auto;
    }
}

@media (max-width: 575.98px) {
    .home-match-card.banner-account {
        width: 100%;
        padding: 22px 17px;
        border-radius: 18px;
    }

    .home-looking-for__options {
        gap: 9px;
    }

    .home-looking-for__option {
        min-height: 94px;
        padding: 11px 8px;
    }

    .home-match-card__body {
        gap: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-looking-for__option {
        transition: none;
    }
}
