.neo-pms-menu-item,
.menu-item .neo-pms-form {
    list-style: none;
}

.neo-pms-form {
    --neo-pms-radius: 999px;
    --neo-pms-border: rgba(20, 20, 25, 0.14);
    --neo-pms-bg: rgba(255, 255, 255, 0.88);
    --neo-pms-text: #1d1d1f;
    --neo-pms-muted: #6e6e73;
    --neo-pms-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: min(100%, 520px);
    vertical-align: middle;
    font-size: 13px;
    line-height: 1.2;
}

.neo-pms-main-row {
    display: inline-flex;
    align-items: center;
    min-width: 170px;
    background: var(--neo-pms-bg);
    border: 1px solid var(--neo-pms-border);
    border-radius: var(--neo-pms-radius);
    box-shadow: var(--neo-pms-shadow);
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.neo-pms-input {
    width: 180px;
    min-width: 120px;
    max-width: 260px;
    height: 38px;
    margin: 0 !important;
    padding: 0 12px !important;
    color: var(--neo-pms-text);
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 13px;
}

.neo-pms-input::placeholder {
    color: var(--neo-pms-muted);
    opacity: 1;
}

.neo-pms-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 38px;
    min-width: 42px;
    margin: 0 !important;
    padding: 0 12px !important;
    color: #fff !important;
    background: #1d1d1f !important;
    border: 0 !important;
    border-radius: var(--neo-pms-radius) !important;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: none !important;
}

.neo-pms-button:hover,
.neo-pms-button:focus {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.neo-pms-button-icon {
    display: inline-block;
    font-size: 13px;
    line-height: 1;
}

.neo-pms-scope {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    background: rgba(245, 245, 247, 0.92);
    border: 1px solid var(--neo-pms-border);
    border-radius: var(--neo-pms-radius);
    box-shadow: var(--neo-pms-shadow);
    white-space: nowrap;
}

.neo-pms-scope-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--neo-pms-muted);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.neo-pms-scope-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.neo-pms-scope-option span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 9px;
    border-radius: var(--neo-pms-radius);
    transition: all 0.16s ease;
}

.neo-pms-scope-option input:checked + span {
    color: #1d1d1f;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}

.neo-pms-scope-option input:focus + span {
    outline: 2px solid rgba(0, 113, 227, 0.35);
    outline-offset: 2px;
}

.neo-pms-results-notice {
    margin: 0 0 18px;
    padding: 12px 15px;
    color: #1d1d1f;
    background: #f5f5f7;
    border: 1px solid rgba(20, 20, 25, 0.10);
    border-radius: 14px;
    font-size: 14px;
}

@media (max-width: 782px) {
    .neo-pms-form {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        max-width: 100%;
        gap: 6px;
    }

    .neo-pms-main-row {
        flex: 1 1 100%;
        width: 100%;
    }

    .neo-pms-input {
        flex: 1 1 auto;
        width: auto;
        max-width: none;
    }

    .neo-pms-scope {
        flex: 1 1 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .neo-pms-button-text {
        display: none;
    }

    .neo-pms-scope-option span {
        padding: 0 8px;
        font-size: 11px;
    }
}
